I hereby claim:
- I am taylorzane on github.
- I am taylorzane (https://keybase.io/taylorzane) on keybase.
- I have a public key whose fingerprint is C61E F594 7552 42D6 F3F9 FD07 2047 A21E FA98 F8FB
To claim this, I am signing this object:
# Throw this at the bottom of your .zshrc. | |
# Haven't tested this in any other shell, so YMMV. | |
# This is kinda hacky. First real go at a shell function. | |
# Feel free to change where your drop config is saved. ~/.drop just worked well. | |
# Copy file to Dropbox folder. | |
function drop { | |
# Usage: | |
# -d: Temporary dir to send the file to. | |
# -s: Set the default Dropbox dir to send all files to. |
Verifying I am +taylorzane on my passcard. https://onename.com/taylorzane |
# Simple Slider for use with Mithril, | |
# and written with Snap.svg | |
# Written by: Taylor Zane Glaeser | |
# | |
# Disclaimer: Code is very crufty. I have no plans of updating this. | |
# cont: This is being posted as preservation of a direction | |
# cont: I decided to abandon. | |
# cont: SVGs were _WAY_ too laggy for 20+ elements. | |
# | |
# This code was wrapped in a for loop, |
function() { | |
var loc = document.location; | |
if (loc.host.split('.').slice(-2).join('.') === 'github.io') { | |
loc.href = 'http://github.com/' + loc.host.split('.')[0] + '/' + loc.pathname.split('/').filter(function(e){return e !== '';})[0]; | |
} else if (loc.host.split('.').slice(-2).join('.') === 'github.com') { | |
loc.href = 'http://' + loc.pathname.split('/').filter(function(e){return e !== '';})[0] + '.github.io/' + loc.pathname.split('/').filter(function(e){return e !== '';})[1]; | |
} else { | |
console.log('whatever.'); | |
} | |
} |
// require() some stuff from npm (like you were using browserify) | |
// and then hit Run Code to run it on the right | |
var Vue = require('vue'); | |
var VueResource = require('vue-resource'); | |
Vue.use(VueResource); | |
Vue.component('main', { | |
template: '<h1>Some Data</h1>' |
I hereby claim:
To claim this, I am signing this object:
chai = require 'chai' | |
sinon = require 'sinon' | |
sinonChai = require 'sinon-chai' | |
expect = chai.expect | |
chai.use sinonChai | |
Async = require 'async' | |
vm = |
#!/usr/bin/env ruby | |
require 'json' | |
require 'net/http' | |
USERNAME = 'YOUR_USERNAME' | |
# ACCESS_TOKEN is not required but Github is pretty swift to rate-limit. | |
# The access token doesn't have to have access to anything. It just removes the rate-limit. | |
# Obviously if you have a private starred repo, it will not show up in your list without | |
# a properly authenticated access token. |
-- NOTE: This SQLite3 DB is located at /Users/you/Library/Messages/chat.db | |
-- NOTE: You can get your chat_id from the chat table. | |
select ROWID from chat where display_name="Display Name" | |
-- OR | |
select ROWID from chat where guid like "%SOME_PHONE_NUMBER%" |
const router = { | |
map (stuff) { | |
console.log(JSON.stringify(stuff)) | |
} | |
} | |
const ComponentA = { | |
mixins: [{}] | |
} | |
const ComponentB = { | |
mixins: [] |