- Make sure you are aware of the problem/feature.
- Don't be rude, be polite.
- Give suggestions and make clear why do you think you suggestion is better than the current approach.
- Don't point out just the bad things, tell about what do you think is great as well.
- Make it part of your daily workflow. (use github notifications)
- http://www.dein.fr/2015-02-18-maslows-pyramid-of-code-review.html
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
application: YOURAPPNAME | |
version: 1 | |
runtime: python | |
api_version: 1 | |
handlers: | |
- url: / | |
static_files: index.html | |
upload: index.html | |
- url: /(.*) |
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
$ brew install bash-completion | |
==> Downloading http://bash-completion.alioth.debian.org/files/bash-completion-1.3.tar.bz2 | |
######################################################################## 100.0% | |
==> ./configure --prefix=/usr/local/Cellar/bash-completion/1.3 | |
==> make install | |
==> Caveats | |
Add the following lines to your ~/.bash_profile file: | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi |
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
['touchstart', 'touchmove', 'touchend'].each(function(type){ | |
Element.NativeEvents[type] = 2; | |
}); | |
Element.Events.swipe = { | |
onAdd: function(fn){ | |
var startX, startY, active = false; | |
var touchStart = function(event){ | |
active = true; |
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
<contenttype typecode="CNT" typedescr="Generic Content" viewpage="**NULL**" listmodel="**NULL**" defaultmodel="**NULL**"> | |
<attributes> | |
<attribute name="Attach" attributetype="Attach" /> | |
<attribute name="Boolean" attributetype="Boolean" /> | |
<attribute name="CheckBox" attributetype="CheckBox" /> | |
<attribute name="Composite" attributetype="Composite"> | |
<attributes> | |
<attribute name="Attach" attributetype="Attach" /> | |
<attribute name="Boolean" attributetype="Boolean" /> | |
<attribute name="CheckBox" attributetype="CheckBox" /> |
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
[Desktop Entry] | |
Name=Start Hotspot | |
Comment=Start a wireless hotspot in Access Point Mode | |
Exec=gksudo /usr/bin/ap-hotspot start | |
Icon=/usr/share/icons/gnome/48x48/devices/network-wireless.png | |
Terminal=false | |
Type=Application | |
Categories=Network; |
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
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
alias ls='ls -GFh' | |
alias git=hub | |
alias gis="git status" | |
alias gits="git status" | |
alias gitp="git pull" | |
alias safepull="git stash && git pull && git stash apply" |
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
// base64.decode(base64.encode('💩')); | |
// Browsers | |
const base64 = { | |
encode: str => btoa(unescape(encodeURIComponent(str))), | |
decode: str => decodeURIComponent(escape(atob(str))) | |
}; | |
/* ES3 compat version | |
var base64 = { |
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 net = require('net'); | |
net.createServer(httpsSshSwitch).listen(443); | |
// if the first byte is 22, it is a https handshake, | |
// so redirect it to the actual https server (running on port 8443) | |
// else redirect it to the ssh instance. | |
// | |
// some ssh clients wait for the server to send the first welcome message | |
// so if we have not seen any data for 2 seconds, assume it is a ssh connection |
My comparison notes for web-based remotely-hosted Google Reader clones/replacements. Has to be at least 90% similar to Google Reader and not some Pinterest-like or Instapaper-like apps.
Here's a list of almost all Google Reader alternatives. And another one here.
In no particular order, here goes:
CommaFeed
OlderNewer