Skip to content

Instantly share code, notes, and snippets.

View klintmane's full-sized avatar
🧠
Working some cells

Klint klintmane

🧠
Working some cells
View GitHub Profile
["ABeeZee","Abel","Abhaya Libre","Aboreto","Abril Fatface","Abyssinica SIL","Aclonica","Acme","Actor","Adamina","Advent Pro","Agdasima","Aguafina Script","Akatab","Akaya Kanadaka","Akaya Telivigala","Akronim","Akshar","Aladin","Alata","Alatsi","Albert Sans","Aldrich","Alef","Alegreya","Alegreya SC","Alegreya Sans","Alegreya Sans SC","Aleo","Alex Brush","Alexandria","Alfa Slab One","Alice","Alike","Alike Angular","Alkalami","Alkatra","Allan","Allerta","Allerta Stencil","Allison","Allura","Almarai","Almendra","Almendra Display","Almendra SC","Alumni Sans","Alumni Sans Collegiate One","Alumni Sans Inline One","Alumni Sans Pinstripe","Amarante","Amaranth","Amatic SC","Amethysta","Amiko","Amiri","Amiri Quran","Amita","Anaheim","Andada Pro","Andika","Anek Bangla","Anek Devanagari","Anek Gujarati","Anek Gurmukhi","Anek Kannada","Anek Latin","Anek Malayalam","Anek Odia","Anek Tamil","Anek Telugu","Angkor","Annie Use Your Telescope","Anonymous Pro","Antic","Antic Didone","Antic Slab","Anton","Antonio","Anuphan","Anybo
This file has been truncated, but you can view the full file.
{
"kind": "webfonts#webfontList",
"items": [
{
"family": "ABeeZee",
"variants": ["regular", "italic"],
"subsets": ["latin", "latin-ext"],
"version": "v22",
"lastModified": "2022-09-22",
@klintmane
klintmane / test.js
Created March 11, 2020 13:36
testjs
alert("HELLO")
@klintmane
klintmane / gzip.go
Created February 11, 2019 16:16 — forked from CJEnright/gzip.go
Idiomatic golang net/http gzip transparent compression, an updated version of https://gist.github.com/bryfry/09a650eb8aac0fb76c24
package main
import (
"net/http"
"compress/gzip"
"io/ioutil"
"strings"
"sync"
"io"
)
@klintmane
klintmane / xpath.js
Created January 31, 2019 12:51
xpath
// mozilla ver
// https://developer.mozilla.org/en-US/docs/Web/XPath/Snippets#getXPathForElement
// ver 2
function getPathTo(element) {
if (element.id!=='')
return 'id("'+element.id+'")';
if (element===document.body)
return element.tagName;
@klintmane
klintmane / default.pa
Created November 19, 2018 15:50
Pulse Audio Noise cancellation
# /etc/pulse/default.pa
load-module module-echo-cancel aec_method=webrtc aec_args="analog_gain_control=0 digital_gain_control=1" source_name=headphonesource
set-default-source headphonesource
@klintmane
klintmane / service-workers.md
Created October 26, 2018 14:09 — forked from Rich-Harris/service-workers.md
Stuff I wish I'd known sooner about service workers

Stuff I wish I'd known sooner about service workers

I recently had several days of extremely frustrating experiences with service workers. Here are a few things I've since learned which would have made my life much easier but which isn't particularly obvious from most of the blog posts and videos I've seen.

I'll add to this list over time – suggested additions welcome in the comments or via twitter.com/rich_harris.

Use Canary for development instead of Chrome stable

Chrome 51 has some pretty wild behaviour related to console.log in service workers. Canary doesn't, and it has a load of really good service worker related stuff in devtools.

@klintmane
klintmane / react-simulate-events
Created May 30, 2018 12:56
React Event Simulation
https://stackoverflow.com/questions/23892547/what-is-the-best-way-to-trigger-onchange-event-in-react-js
@klintmane
klintmane / es6-meta-programming.js
Created May 23, 2018 13:02 — forked from ebidel/es6-meta-programming.js
"ES6 meta programming" using tagged template strings
// ES6 meta programming ???
// The more complex form of ES6 template strings are called
// "tagged" template strings. In short, they allow you to
// pass the final evaluated string to a function for further
// processing. This allows for some interesting things. For example:
//
// get`https://api.github.com/repos/${org}/${repo}/issues?sort=${sort}`;
//
// _could_ make a network request and return a Promise with the result
@klintmane
klintmane / post-format.md
Last active July 16, 2021 12:53
Post Format (Fedora)

Fedora

Perform OS Upgrade

sudo dnf upgrade

Git

Configure