This file contains hidden or 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
| - 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 |
This file contains hidden or 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
| 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') |
This file contains hidden or 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
| 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' & |
This file contains hidden or 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
| // 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", |
This file contains hidden or 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
| /Applications/MAMP/Library/bin/mysqldump --opt -u root -p DATABASENAME > DUMBNAME.sql |
This file contains hidden or 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
| // 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! */ | |
| } |
This file contains hidden or 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
| # Apache configuration file | |
| # http://httpd.apache.org/docs/2.2/mod/quickreference.html | |
| # Note: ".htaccess" files are an overhead for each request. This logic should | |
| # be placed in your Apache config whenever possible. | |
| # http://httpd.apache.org/docs/2.2/howto/htaccess.html | |
| # Turning on the rewrite engine is necessary for the following rules and | |
| # features. "+FollowSymLinks" must be enabled for this to work symbolically. |
This file contains hidden or 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
| RewriteEngine on | |
| RewriteCond $1 !^public/ | |
| RewriteRule ^(.*)$ /public/$1 [L] |
This file contains hidden or 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
| // webkit-specific changes | |
| @media screen and (-webkit-min-device-pixel-ratio:0) { | |
| -webkit-appearance: none; | |
| background: #fff img-url('arrow-icons.png') 100% -51px no-repeat; | |
| padding-right: 35px; | |
| } |
This file contains hidden or 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
| s3cmd sync --acl-public --recursive out/* s3://bucket.s3.de/path/to/folder/ |