- No Desktop/Browser notifications
- Read E-mails
- early in the morning
- late in the afternoon
- quick check after lunch, action allowed based on volume
- Slack
- active notifications only for #blocking channels
- Catch up discussions on early morning and late afternoon
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
```sh | |
$ env | sort | |
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.XWX6O4Sj3X/Render | |
BASE16_MODE=dark | |
BASE16_SCHEME=flat | |
BROWSER=open | |
CHROME_BIN=CHROME_BIN=~/Applications/Google Chrome.app/Contents/MacOS/Google Chrome | |
COLORFGBG=7;0 | |
COMMAND_MODE=unix2003 |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
p1: Ember.computed({ | |
get() { return 42; } | |
}), | |
p2: Ember.computed({ | |
get() { return 42; }, | |
set() { return 24; } |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
service: Ember.inject.service('thing-service'), | |
actions: { | |
changeColor() { | |
const color = this.get('service.color'); | |
const colors = ['red', 'blue']; |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
wife: { | |
age: 21 | |
} | |
}); |
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
/* | |
* For the sake of simplicity, | |
* Let's assume that your app is globally regostered as `MyApp` | |
*/ | |
// Prepare your app to trigger the `transitioned` event | |
MyApp.reopen(Ember.Evented); | |
MyApp.__container__.lookup('controller:application').addObserver('currentPath', function () { | |
var _path = this.get('currentPath'); |
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
find ~/.ssh -name *.pub -exec \ | |
sh -c 'echo "$1" `ssh-keygen -l -f "$1"`' _ {} \; \ | |
| awk -F" " -v OFS=" " '{$3="";tmp=$2;$2=$4;$4=tmp;print}' \ | |
| column -t |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
google.com | |
google.ac | |
google.ad | |
google.ae | |
google.com.af | |
google.com.ag | |
google.com.ai | |
google.al | |
google.am | |
google.co.ao |
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
dependencies: | |
pre: | |
- ln -s ~/.pyenv/versions/3.3.2/bin/python3.3 $VIRTUAL_ENV/bin | |
- ln -s ~/.pyenv/versions/3.4.1/bin/python3.4 $VIRTUAL_ENV/bin |
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
# | |
# A CORS (Cross-Origin Resouce Sharing) config for nginx | |
# | |
# == Purpose | |
# | |
# This nginx configuration enables CORS requests in the following way: | |
# - enables CORS just for origins on a whitelist specified by a regular expression | |
# - CORS preflight request (OPTIONS) are responded immediately | |
# - Access-Control-Allow-Credentials=true for GET and POST requests |