Skip to content

Instantly share code, notes, and snippets.

@aaronblohowiak
aaronblohowiak / dabblet.css
Created February 23, 2014 04:14 — forked from LeaVerou/dabblet.css
Unprefixed animations do nothing in Blink
/**
* Unprefixed animations do nothing in Blink
*/
@keyframes foo {
to { background: lime; }
}
div { background: red; animation: foo 1s infinite; }
@aaronblohowiak
aaronblohowiak / dabblet.css
Created February 23, 2014 04:11 — forked from LeaVerou/dabblet.css
Unprefixed animations do nothing in Blink
/**
* Unprefixed animations do nothing in Blink
*/
@-webkit-keyframes foo {
to { background: lime; }
}
body { background: red; -webkit-animation: foo 1s infinite; }
Team behind Go:
- Ken Thompson
- Co-Creator of Unix
- Co-Creator of UTF-8
- Creator of 'B', the direct predecessor to the 'C' programming language
- Rob Pike
- Member of Unix Team at Bell Labs
- Creator of Plan 9
- Co-Creator of UTF-8
#!/usr/bin/env sh
git co gh-pages &&
git merge master &&
git push github gh-pages &&
git co master

GitHub OAuth Busy Developer's Guide

This is a quick guide to OAuth2 support in GitHub for developers. This is still experimental and could change at any moment. This Gist will serve as a living document until it becomes finalized at Develop.GitHub.com.

OAuth2 is a protocol that lets external apps request authorization to private details in your GitHub account without getting your password. All developers need to register their application before getting started.

Web Application Flow

  • Redirect to this link to request GitHub access:
//Various settings.
var Client = require('mysql').Client;
client = new Client();
TEST_DATABASE = 't_voice';
TEST_TABLE = 't_calls';
client.host = 'database.domain.com';
client.user = 'auser';
client.password = 'apassword';
client.connect();
client.query('USE '+TEST_DATABASE);
@aaronblohowiak
aaronblohowiak / gist:945332
Created April 27, 2011 22:04 — forked from chrismatthieu/gist:945280
Tropo Node.JS Transcription Example
/**
* Showing with the Express framwork http://expressjs.com/
* Express must be installed for this sample to work
* npm install express
* npm install tropo-webapi
*/
var tropoapi = require('tropo-webapi');
var express = require('express');
var app = express.createServer();
%a{href:"##{controller}"}= controller
:if action && action !== 'index'
>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Test</title>
</head>
<body id="test">
<script>
function jaredsCreate(){
class Face
love = 5
get_love = Proc.new{ love }
puts get_love.call
define_method :get_love, &get_love
def love
:wtf_lol
end