/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
See https://gist.github.com/kevin-smets/8568070
A good guide from github is here
// remove ipad top shadow | |
input[type="text"], input[type="email"], input[type="search"], input[type="password"] { | |
-webkit-appearance: caret; | |
-moz-appearance: caret; /* mobile firefox too! */ | |
} |
/Applications/MAMP/Library/bin/mysqldump --opt -u root -p DATABASENAME > DUMBNAME.sql |
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ | |
"key": "alt+down", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+up", | |
"command": "editor.action.moveLinesUpAction", |
nohup /bin/bash -c 'WORDS=("please help me" "i am so alone" "i am lonely" "pssssst" "hello" "hey, listen."); while [ 1 = 1 ]; do say "${WORDS[$[ $[ RANDOM % ${#WORDS[@]} ]]]}" -v Whisper -r 1.5; sleep 3; done' & |
import Cycle from '@cycle/core'; | |
import {div, label, input, h1, button, p, makeDOMDriver} from '@cycle/dom'; | |
const _ = require('lodash'); | |
const {Observable} = require('rx'); | |
function f1(sources) { | |
const sinks = { | |
DOM: sources.DOM.select('.field').events('input') | |
.map(ev => ev.target.value) | |
.startWith('12') |
- Change the root password! | |
- System Settings > Security | |
- General: Set Password required to "instant" | |
- FileVault: activate | |
- System Setting > Keyboard | |
- Set all key speeds to "fast" | |
- Mark checkbox to use "fn" keys without option key | |
- Generate SSH-Key: ssh-keygen -t rsa -C "[email protected]" -b 2048 | |
- Change desktop background :) | |
- Install PHPstorm + Java |
import sys | |
if len(sys.argv) < 2: | |
print 'Usage: python {} webfont-file.svg'.format(sys.argv[0]) | |
sys.exit() | |
with open(sys.argv[1], 'r') as r: | |
lines = r.read().split('\n') | |
glyphs = [x for x in lines if '<glyph' in x] | |
# for every glyph element in the file | |
for i in range(0, len(glyphs)): |
#!/usr/bin/env ruby | |
# A script to create a review on crucible based on the current git branch | |
# | |
# To configure settings, create a file named .code-review in your home directory | |
# The format should be: | |
# ------------------------------------------------------------------------------ | |
# crucible: | |
# url: <crucible url> | |
# username: <username> | |
# password: <password> |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
See https://gist.github.com/kevin-smets/8568070
A good guide from github is here
const cssText = ` | |
[data-qa] { | |
outline: 1px solid #E91E63 !important; | |
} | |
[data-qa]:hover { | |
outline: 2px solid #E91E63 !important; | |
} | |
[data-qa]:hover:before { | |
display: block; | |
white-space: nowrap; |