Based on dribbble shot https://dribbble.com/shots/2097042-Widget-Weather by kylor
A Pen by Josh Bader on CodePen.
[ | |
{ | |
"position": 1, | |
"domain": "youtube.com", | |
"count": 361515143, | |
"etv": 460411425.18914586 | |
}, | |
{ | |
"position": 2, | |
"domain": "facebook.com", |
^{\s*(\s*"?([a-zA-Z0-9]+)"?:\s*"\S+",?)+\s*"?([a-zA-Z0-9]+)"?:\s*"\S+"\s*} |
#!/bin/bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../../" && pwd )" | |
PROJECT=`php -r "echo dirname(dirname(realpath('$0')));"` | |
STAGED_FILES_CMD=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep \\\\.php` | |
# Determine if a file list is passed | |
if [ "$#" -eq 1 ] | |
then | |
oIFS=$IFS |
{ | |
"editor.detectIndentation": false, | |
"editor.tabSize": 4, | |
"editor.insertSpaces": true, | |
"[javascript]": { | |
"editor.tabSize": 2 | |
}, | |
"[css]": { | |
"editor.tabSize": 2 | |
}, |
Based on dribbble shot https://dribbble.com/shots/2097042-Widget-Weather by kylor
A Pen by Josh Bader on CodePen.
Via Daniel Müller:
On Mac OS X you could do:
echo no-tty >> ~/.gnupg/gpg.conf
git config --global gpg.program $(which gpg)
git config --global commit.gpgsign true
git reset HEAD --hard
git clean -fd
# Designed to be included in any server {} block. | |
location = /favicon.ico { | |
log_not_found off; | |
access_log off; | |
} | |
location = /robots.txt { | |
allow all; | |
log_not_found off; | |
access_log off; |
Sublime (User) settings:
{
"draw_white_space": "selection",
"tab_size": 4,
"translate_tabs_to_spaces": true,
"open_files_in_new_window": false
}