Skip to content

Instantly share code, notes, and snippets.

View diffalot's full-sized avatar
:octocat:
🌈 for Hire 🏳️‍⚧️🏴

Alice Davis diffalot

:octocat:
🌈 for Hire 🏳️‍⚧️🏴
View GitHub Profile
@diffalot
diffalot / DefaultKeyBinding.dict
Created May 2, 2021 21:26 — forked from trusktr/DefaultKeyBinding.dict
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers
@diffalot
diffalot / index.js
Last active September 9, 2016 22:26
requirebin sketch
const observify = require('observify')
var data = observify({
"foo": "bar",
"cats": ["taco", "burrito"],
"object": { key: 'value' },
"age": 82
})
data.age(function ageChanged(value) {
@diffalot
diffalot / index.js
Created September 9, 2016 20:00
requirebin sketch
var audio = require('audio-stream');
navigator.getUserMedia({
video: false,
audio: true
}, function(mediaStream) {
var stream = audio(mediaStream, {
channels: 1,
volume: 0.5
});
@diffalot
diffalot / keybase.md
Created September 26, 2014 15:46
keybase.md

Keybase proof

I hereby claim:

  • I am diffalot on github.
  • I am diffalot (https://keybase.io/diffalot) on keybase.
  • I have a public key whose fingerprint is FE30 0A53 F7AE 3DFA EE64 A688 1C0B 6892 18C1 D68C

To claim this, I am signing this object:

@diffalot
diffalot / welcome.md
Last active August 29, 2015 14:06
welcome email for JacksonScript.org mailing list

Welcome to the JacksonScript email list!

JacksonScript will be a monthly meeting of web developers in and around the Jackson, Mississippi area. While we will focus primarily on JavaScript and open web technologies, we welcome participation from any and all technology fans, no matter their preferred language, toolchain, or platform.

Join the discussion on our mailing list, and tell us what you'd like to see at our first meeting.

  1. What would you like to learn about JavaScript?
  2. What would you like to teach others?
  3. What are you looking for in a web development meetup?
  • presentations
/* Poultry, a twitter avatar updater for chat.meatspac.es
* installed with the following bookmarklet:
* javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://meat.lightcorp.net/javascripts/fowl-meat.js';})();
*/
(function ($) {
'use strict';
document.body.appendChild(document.createElement('script'))
.src='https://oauth.io/auth/download/latest/oauth.js';
var fingerprint = $('input[name=userid]').val();
var twitter = undefined;
#EXTM3U
#EXTVLCOPT:network-caching=1000
http://2013.realtimeconf.com/Legacy.mp3
#EXTINF:204,Realtime Conf 2013 Opening Credits
#EXTVLCOPT:http-user-agent=Mozilla/5.0
#EXTVLCOPT:network-caching=1000
http://player.vimeo.com/play_redirect?quality=hd&codecs=h264&clip_id=77237425&time=1382285799&sig=92c13c9b15f9f565654c5dbd17f20ef4&type=html5_desktop_local
#EXTINF:605,2013 Realtime Conf. - Something Greater than Artiface 1_1
#EXTVLCOPT:http-user-agent=Mozilla/5.0
#EXTVLCOPT:network-caching=1000
#!/bin/bash
# Configuration
# This will be used in URLs and file paths, so don't get too fancy
# Alphanumeric characters and underscores should be ok
export APP_NAME=app
# IP or URL of the server you want to deploy to
export APP_HOST=app.co
#!/bin/bash
# Configuration
# This will be used in URLs and file paths, so don't get too fancy
# Alphanumeric characters and underscores should be ok
export APP_NAME=mtos
# IP or URL of the server you want to deploy to
export APP_HOST=mtos.co
#!/bin/bash
# Configuration
# This will be used in URLs and file paths, so don't get too fancy
# Alphanumeric characters and underscores should be ok
export APP_NAME=mtos-next
# IP or URL of the server you want to deploy to
export APP_HOST=mtos.co