Skip to content

Instantly share code, notes, and snippets.

View glennhefley's full-sized avatar
💭
I may be slow to respond.

Glenn Hefley glennhefley

💭
I may be slow to respond.
View GitHub Profile
@glennhefley
glennhefley / animated-tab-bar.markdown
Created November 18, 2022 17:48
Animated Tab Bar
@glennhefley
glennhefley / blob.py (perfect size)
Created February 21, 2022 07:38
NLTK passage into with TextBlob.py
#!python
'''
In a nut shell textBlob fits all my needs. This little gem took less than thirty minutues from discovery to completion. Prototyping will now be a simple matter, and proofs of concepts down to the improv level of setup requirments.
'''
import re
from textblob import TextBlob
px = 'VB?' # search for later
@glennhefley
glennhefley / nav_concept_index.html
Last active January 9, 2022 10:11
Navigation Awesome
<html>
<head>
<meta charset="utf-8">
<title>The Page with No Name</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0-2/css/all.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.3.3/gsap.min.js"></script>
@glennhefley
glennhefley / ExportAllCSVinOneSpreadsheet.gs
Created July 14, 2020 19:58 — forked from simongcc/ExportAllCSVinOneSpreadsheet.gs
Google script to export all csv in one spreadsheet
/*
* script to export data in all sheets in the current spreadsheet as individual csv files
* files will be named according to the name of the sheet
* Note: This script uses the DocsList.createFile() method, which is only available for Google Apps accounts.
* author: Michael Derazon
*/
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var csvMenuEntries = [{name: "export as csv files", functionName: "saveAsCSV"}];
@glennhefley
glennhefley / shBrushJScript.js
Created July 14, 2020 19:48 — forked from mhawksey/shBrushJScript.js
SyntaxHighlighter which includes Google Apps Script services
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
@glennhefley
glennhefley / wiktionarylookup.html
Created July 14, 2020 00:57 — forked from nichtich/wiktionarylookup.html
Look up a word in Wiktionary via MediaWiki API and show the Wiktionary page
<html>
<head>
<script type="text/javascript" src="./jquery-1.4.3.min.js"></script>
<script type="text/javascript">
var baseURL = 'http://en.wiktionary.org';
function showPage(page,text) {
var sourceurl = baseURL + '/wiki/' + page;
$('#pagetitle').text(page);
$('#wikiInfo').html(text);
$('#sourceurl').attr('href',sourceurl);
@glennhefley
glennhefley / index.html
Last active February 27, 2025 08:25
Navigation Awesome
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="navbarContainer">
@glennhefley
glennhefley / syntax examples for winwrap basic.txt
Created May 18, 2018 11:55
WinWrap Basic Start Project notes
'#Language "WWB-COM"
Project Project1
Optimizer On
EntryPoint Main
LoadModule "main.bas"
LoadModule "module1.bas"
End Project
@glennhefley
glennhefley / Percision_typography.html
Created June 7, 2017 21:49
Precision responsive typography by Mike at CodePen
<h1>Responsive Typography</h1>
<p><a href="https://codepen.io/MadeByMike/pen/YPJJYv">By Mike at Codepen</a>
<p>It appears that by using calc() and vw we can get responsive typography that scales perfectly between specific pixel values within a specific viewport range.</p>
<p>The problem with the common approach to responsive typography is that it is jumpy and requires a lot of media queries.</p>
<p>Viewport units are fluid but lack precise control over font-size.</p>
<p>Typically you might use a table like this to work out the range of font sizes across different resolutions.</p>
<table>
<tbody>
@glennhefley
glennhefley / diary.txt
Created March 27, 2017 15:55
[A Blithe Dirge] #wordthoughts
Blithe sounds to me like a note of Goth good cheer or a 9th chord inside a happy dirge.