View asya
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
...e$e.$...e$ ...e$e.$...e | |
!$6lkasd!$6lkasd!$6l !$6lkasd!$6lkasd! | |
;,a1wert;,a1wert;,a1wert ;,a1wert;,a1wert;,a1we | |
.asxzcvb.asxzcvb.asxzcvb.as .asxzcvb.asxzcvb.asxzcvb. | |
1qaswedfqas1wedfqas1wedfqas1wedfqas1wedfqas1edfqas1ewdfqa | |
:lkjhgfdlkj:hgfdlkj:hgfdlkj:hgfdlkj:hgfdlkj:gfdhlkj:gfdhlk | |
3edcvfr4edc3vfr4edc3vfr4edc3vfr4edc3vfr4edc3fr4vedc3fr4ved | |
1234ewqa2341ewqa2341ewqa2341ewqa2341ewqa2341wqa2341weqa234 | |
o[piuytr[piouytr[piouytr[piouytr[piouytr[pioytru[pioytru[p | |
z/xcvbnm/xczvbnm/xczvbnm/xczvbnm/xczvbnm/xczbnmv/xczbnmv/x |
View deploy.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key /path/to/whatever.pem | |
user deployer-of-doom | |
addr n.n.n.n | |
repo git@github.com:visionmedia/express.git | |
path /path/to/www/whatever | |
branch origin/master | |
command /path/to/www/whatever/restart |
View person.ajs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Alternative JavaScript Syntax | |
Person = :(name, address) { @name!, @address! } | |
Person::inspect = :{ <: "{@name} lives at {@address}" } | |
tj := Person('TJ', '314 Bessborough ave') | |
bob := Person('Bob', 'Some place') | |
[tj, bob].each(:(person){ print(person.inspect()) }) |
View haml.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ex:ts=2:et: */ | |
/*jslint bitwise: true, browser: true, eqeqeq: true, evil: true, immed: true, newcap: true, | |
nomen: true, plusplus: true, regexp: true, undef: true, white: true, indent: 2 */ | |
/*globals */ | |
var Haml = {}; | |
// Bind to the exports object if it exists. (CommonJS and NodeJS) | |
if (exports) { | |
Haml = exports; |
View app.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require('http') | |
const rpc = require('./rpc') | |
/** | |
* Pets service. | |
*/ | |
class Pets { | |
constructor(db = []) { |
View app.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var redis = require('redis'); | |
var db = redis.createClient(); | |
var app = express(); | |
// track users online (replace UA string with user id) | |
app.use(function(req, res, next){ | |
var ua = req.headers['user-agent']; |
View git aliases.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gd="git diff" | |
alias gc="git clone" | |
alias ga="git add" | |
alias gbd="git branch -D" | |
alias gst="git status" | |
alias gca="git commit -a -m" | |
alias gpt="git push --tags" | |
alias gp="git push" | |
alias gpr="git pull-request" | |
alias grh="git reset --hard" |
View preact.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Package preact provides bindings to the preact library. | |
package preact | |
import "github.com/gopherjs/gopherjs/js" | |
var preact = js.Global.Get("preact") | |
// Attrs of an element. | |
type Attrs map[string]interface{} |
View search.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input[type="search"]::-webkit-search-cancel-button { | |
--size: 11px; | |
--background: #7F7F7F; | |
--icon: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3IiBoZWlnaHQ9IjciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgY2xhc3M9ImZlYXRoZXIgZmVhdGhlci14Ij48cGF0aCBkPSJNMTggNkw2IDE4TTYgNmwxMiAxMiIvPjwvc3ZnPgo="); | |
-webkit-appearance: none; | |
height: var(--size); | |
width: var(--size); | |
border-radius: 50%; | |
background: var(--background) var(--icon) 50% 50% no-repeat; | |
} |
NewerOlder