Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
########################################################### | |
# Homebrew | |
# Fish Shell | |
# Fisherman | |
# Powerline Fonts | |
# iTerm2 | |
curl https://raw.githubusercontent.com/ellerbrock/fish-shell-setup-osx/master/install.sh | bash |
import { useState, useEffect } from 'react'; | |
import axios from 'axios'; | |
axios.defaults.baseURL = process.env.API_URL; | |
const useAxios = ({ url, method, body = null, headers = null }) => { | |
const [response, setResponse] = useState(null); | |
const [error, setError] = useState(''); | |
const [loading, setloading] = useState(true); |
git: | |
gcl='git clone' | |
ga='git add' | |
grm='git rm' | |
gap='git add -p' | |
gall='git add -A' | |
gf='git fetch --all --prune' | |
gft='git fetch --all --prune --tags' | |
gfv='git fetch --all --prune --verbose' | |
gftv='git fetch --all --prune --tags --verbose' |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
# file /etc/sudoers.d/go | |
# preferably edit using visudo -f <file> | |
# allow the go user to run some commands using sudo. Need to specify full path to command. | |
Cmnd_Alias GO_SUDO_CMDS = /usr/sbin/vzctl, /bin/umount /mnt/vzdata/*/projectdata | |
# don't require a tty for running sudo | |
Defaults!GO_SUDO_CMDS !requiretty | |
# don't require password |
#square { | |
width: 100px; | |
height: 100px; | |
background: red; | |
} | |
#rectangle { | |
width: 200px; | |
height: 100px; | |
background: red; |
google() { | |
for var in "$@" | |
do | |
open /Applications/Google\ Chrome.app/ "http://www.google.com/search?q=${var}" | |
done | |
} |
/*! | |
* jQuery JavaScript Library v1.8.1 | |
* http://jquery.com/ | |
* | |
* Includes Sizzle.js | |
* http://sizzlejs.com/ | |
* | |
* Copyright 2012 jQuery Foundation and other contributors | |
* Released under the MIT license | |
* http://jquery.org/license |
preventDefaultException: { tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT)$/ }, |