Skip to content

Instantly share code, notes, and snippets.

View thisandagain's full-sized avatar

Andrew Sliwinski thisandagain

View GitHub Profile
@thisandagain
thisandagain / install-beanstalkd.sh
Last active December 15, 2015 01:58
Beanstalkd 1.8 Install
# Installation
https://github.com/kr/beanstalkd/archive/v1.9.tar.gz
tar xf v1.9
cd beanstalkd-1.9
sudo make install
screen -d -m beanstalkd
# Upstart setup
sudo wget https://raw.github.com/kr/beanstalkd/master/adm/upstart/beanstalkd.conf -O /etc/init/beanstalkd.conf
@thisandagain
thisandagain / gist.md
Last active December 15, 2015 14:38
Always Command+V as "Paste and Match Style" (without formatting)

Instructions (Mac OS X)

  • Open "System Preferences"
  • Select "Keyboard"
  • Select tab "Keyboard Shortcuts"
  • Select "Application Shortcuts" from the left list box
  • Click "+" below the right list box
  • Select "All Applications" for "Application" input box
  • Type "Paste and Match Style" into the "Menu Title" input box
  • In the "Keyboard Shortcut" input box, type command-v
@thisandagain
thisandagain / kern.js
Created October 23, 2013 20:54
Kerning... without any gosh darn jQuery! *tableflip*
/**
* Framework-less kerning support for browsers.
*
* @package kern
* @author Andrew Winterman <andywinterman@gmail.com>
* Andrew Sliwinski <andrew@diy.org>
*/
/**
* Export

Keybase proof

I hereby claim:

  • I am thisandagain on github.
  • I am thisandagain (https://keybase.io/thisandagain) on keybase.
  • I have a public key whose fingerprint is F287 5050 6007 C5AF C2A1 4884 9866 8F77 BE20 50EE

To claim this, I am signing this object:

@thisandagain
thisandagain / index.html
Last active August 29, 2015 14:14
Button Styles
<!--<link rel="stylesheet" href="//code.cdn.mozilla.net/fonts/fira.css">-->
<button class="btn">Open My App</button>
@thisandagain
thisandagain / .aliases
Created February 12, 2015 02:23
ADB Aliases
alias devices='adb devices'
alias logcat='adb logcat CordovaLog:D *:S'
alias forward='adb forward tcp:6000 localfilesystem:/data/local/debugger-socket'
@thisandagain
thisandagain / discover.json
Last active August 29, 2015 14:20
/discover
[
{
"id": 1,
"version": "0.0.0",
"title": "Yam Fries",
"featured": true,
"history": {
"created_at": "2015-04-20T16:11:13.961Z",
"updated_at": "2015-04-20T16:11:13.961Z",
"deleted_at": null
@thisandagain
thisandagain / user.json
Last active August 29, 2015 14:20
/users/:user
{
"id": 1234,
"username": "billmurray",
"locale": {
"language": "bn",
"country": "bd"
},
"history": {
"created_at": "2015-04-20T16:11:13.961Z",
"updated_at": "2015-04-20T16:11:13.961Z",
@thisandagain
thisandagain / project.json
Last active August 29, 2015 14:20
/users/:user/projects/:project
{
"id": 1,
"version": "0.0.0",
"title": "Yam Fries",
"featured": true,
"history": {
"created_at": "2015-04-20T16:11:13.961Z",
"updated_at": "2015-04-20T16:11:13.961Z",
"deleted_at": null
},