Skip to content

Instantly share code, notes, and snippets.

View ali's full-sized avatar

Ali Ukani ali

View GitHub Profile
@ali
ali / hterm-colors.js
Created December 27, 2013 03:09
My Chrome Secure Shell (hterm) colors. Hex values stolen from @w0ng's vim-hybrid .Xresources
term_.prefs_.set('background-color', '#1D1F21');
term_.prefs_.set('foreground-color', '#C5C8C6');
term_.prefs_.set('color-palette-overrides', [
'#282A2E', '#A54242', '#8C9440', '#DE935F',
'#5F819D', '#85678F', '#5E8D87', '#707880',
'#373B41', '#CC6666', '#B5BD68', '#F0C674',
'#81A2BE', '#B294BB', '#8ABEB7', '#C5C8C6'
]);
@ali
ali / cake.rb
Last active December 14, 2015 20:19
Yay!
CAKE = <<-OMGCAKE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HAPPY BIRTHDAY, NATE!
OMGCAKE
{"hostname":"batterup","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522877}
file: /tmp/linux/joust-1360522884, hostname: joust, set: 2013-02-10 14:01:24 -0500
{"hostname":"joust","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522884}
file: /tmp/linux/astroblaster-1360522879, hostname: astroblaster, set: 2013-02-10 14:01:19 -0500
{"hostname":"astroblaster","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522879}
file: /tmp/linux/alleyrally-1360522878, hostname: alleyrally, set: 2013-02-10 14:01:18 -0500
{"hostname":"alleyrally","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522878}
file: /tmp/linux/turtles-1360522902, hostname: turtles, set: 2013-02-10 14:01:42 -0500
{"hostname":"turtles","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522902}
file: /tmp/linux/timepilot-1360522878, hostname: timepilot, set: 2013-02-10 14:01:18 -0500
@ali
ali / wut.coffee
Created December 18, 2012 03:25 — forked from anonymous/wut.coffee
Node.js demo app thing
###
# Learning some Node/Express/Coffeescript :>
###
http = require 'http'
nouns = [
'ali', 'pranav', 'wylie', 'spencer',
'dnb', 'cba', 'thang', 'DDS', 'leebot'
]
@ali
ali / twitter-selenium.html
Created June 17, 2012 00:12
Test Tweeting with Selenium IDE
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://twitter.com/" />
<title>VerifyTweetWasSent</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
@ali
ali / bcbos7-js.md
Created April 7, 2012 21:21
Links/resources from Barcamp Boston 7 JavaScript roundtable discussion

Javascript stuff

Resources from the JavaScript round table discussion at BarCamp Boston 7.

Beginner Resources

  • [Eloquent Javascript][ejs]
  • [Mozilla Developer Network][mdn]
  • [Codeschool][]
@ali
ali / gist:a0879c67f13403be08f9
Created November 14, 2014 07:29
base16-ocean.dark.256.itermcolors.js
term_.prefs_.set('background-color', '#2b303b');
term_.prefs_.set('foreground-color', '#c0c5ce');
term_.prefs_.set('cursor-color', '#c0c5ce')
term_.prefs_.set('color-palette-overrides', ["#2b303b","#bf616a","#a3be8c","#ebcb8b","#8fa1b3","#b48ead","#96b5b4","#c0c5ce","#65737e","#bf616a","#a3be8c","#ebcb8b","#8fa1b3","#b48ead","#96b5b4","#eff1f5"]);