I hereby claim:
- I am inlikealion on github.
- I am inlikealion (https://keybase.io/inlikealion) on keybase.
- I have a public key whose fingerprint is E539 7DEB 5B3F 9181 CDE0 6463 86AF 0738 4294 0BB9
To claim this, I am signing this object:
# One-liners: | |
# See: https://www.smashingmagazine.com/2018/07/converting-images-to-webp/ | |
## JPG | |
find ./ -type f -name '*.jpg' -exec sh -c 'cwebp -q 80 $1 -o "${1%.jpg}.webp"' _ {} \; | |
## PNG | |
find ./ -type f -name '*.png' -exec sh -c 'cwebp -q 80 $1 -o "${1%.png}.webp"' _ {} \; |
web: rails server | |
redis: redis-server | |
search: elasticsearch |
// From: | |
// https://twitter.com/thisisroyal/status/624570142945579008 | |
// http://jsfiddle.net/thisisroyal/mokv8hc2/ | |
@mixin svgcolor($color: #000) { | |
[fill]:not([fill="none"]) { | |
fill: $color; | |
transition: fill 150ms ease-in-out; | |
} |
# UI Development Setup | |
## Applications | |
+ [iTerm](https://iterm2.com/) | |
- Zsh instead of Bash via [Oh My Zsh](http://ohmyz.sh/) | |
+ [Atom](https://atom.io/) | |
## Environments |
$(document).ready( | |
/** | |
* Tabs | |
*/ | |
$('.js-tabs').each(function(){ | |
// For each set of tabs, we want to keep track of | |
// which tab is active and it's associated content | |
var $active, $content, $links = $(this).find('a'); | |
// If the location.hash matches one of the links, use that as the active tab. |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
</head> | |
<body> |
I hereby claim:
To claim this, I am signing this object:
// http://codepen.io/erskine/pen/wLclB | |
// config | |
$_color-base-grey: rgb(229,231,234); | |
$palettes: ( | |
purple: ( | |
base: rgb(42,40,80), | |
light: rgb(51,46,140), | |
dark: rgb(40,38,65) | |
), | |
grey: ( |
# this way is best if you want to stay up to date | |
# or submit patches to node or npm | |
mkdir ~/local | |
# I use .bash_profile instead of .bashrc | |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bash_profile | |
. ~/.bash_profile | |
# could also fork, and then clone your own fork instead of the official one |
{ | |
"auto_complete": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", | |
"fade_fold_buttons": false, | |
"file_exclude_patterns": | |
[ | |
"*.scssc", |