(You can't use this with git difftool or merge though)
git diff --ignore-space-at-eol
| PATCHED_FILENAME = "Monaco for Powerline.ttf" | |
| $(PATCHED_FILENAME): Monaco.ttf fontpatcher.py fontpatcher-symbols.sfd | |
| fontforge -script fontpatcher.py Monaco.ttf | |
| @echo "(´・_・`) You can install the $(PATCHED_FILENAME) now." | |
| Monaco.ttf: Monaco.dfont | |
| fondu Monaco.dfont | |
| rm *.bdf |
| var tmp = null; | |
| $('###selector###').popover({ | |
| trigger: 'manual', | |
| title: 'testing', | |
| delay: {show:500, hide:100} | |
| }); | |
| $('###selector###').hover(function(){ | |
| clearTimeout(tmp); |
rsync (Everyone seems to like -z, but it is much slower for me)
| # Usage: | |
| # source iterm2.zsh | |
| # iTerm2 window/tab color commands | |
| # Requires iTerm2 >= Build 1.0.0.20110804 | |
| # http://code.google.com/p/iterm2/wiki/ProprietaryEscapeCodes | |
| tab-color() { | |
| echo -ne "\033]6;1;bg;red;brightness;$1\a" | |
| echo -ne "\033]6;1;bg;green;brightness;$2\a" | |
| echo -ne "\033]6;1;bg;blue;brightness;$3\a" |
| # Your init script | |
| # | |
| # Atom will evaluate this file each time a new window is opened. It is run | |
| # after packages are loaded/activated and after the previous editor state | |
| # has been restored. | |
| # | |
| # An example hack to log to the console when each text editor is saved. | |
| # | |
| # atom.workspace.observeTextEditors (editor) -> | |
| # editor.onDidSave -> |
| #!/bin/sh | |
| #To make use of this just copy it to your path, +x it, and do git sync | |
| MAIN_BRANCH="develop" | |
| CURRENT_CHANGES=`git status --porcelain` | |
| CURRENT_BRANCH=`git symbolic-ref -q --short HEAD` | |
| if [ "$CURRENT_CHANGES" != "" ]; then | |
| git stash --include-untracked | |
| fi |
Recently CSS has got a lot of negativity. But I would like to defend it and show, that with good naming convention CSS works pretty well.
My 3 developers team has just developed React.js application with 6561 lines of CSS (and just 5 !important).
During one year of development we had 0 issues with CSS. No refactoring typos, no style leaks, no performance problems, possibly, it is the most stable part of our application.
Here are main principles we use to write CSS for modern (IE11+) browsers: