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
sass alpha(opacity=0) issues | |
libsass notes https://github.com/hcatlin/libsass/issues/154 | |
nice workaround https://github.com/hcatlin/libsass/issues/72 | |
.flex-direction-nav .flex-disabled { | |
opacity: 0!important; | |
filter: unquote("alpha(opacity=0)"); | |
cursor: default; | |
} |
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
#!/bin/bash | |
# history -99999 | awk '{print $2}' | sort | uniq -c | sort -rn | head -20 # ttopten1 | |
2909 git | |
537 curl | |
358 cd | |
244 brew | |
198 ls | |
185 rm | |
178 subl |
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
# tips http://wiki.nginx.org/Pitfalls | |
# | |
server { | |
listen 80; | |
server_name www.andxyz.com; | |
rewrite ^ http://andxyz.com$request_uri? permanent; | |
} | |
server { |
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
~/Downloads/_apps$ tree | |
. | |
├── 360ControllerInstall_0.14_unofficial.dmg | |
├── AX88772C_772B_772A_760_772_Macintosh_10.5_to_10.10_Driver_Installer_v2.4.0_20141215.zip | |
├── Adium_1.5.10.dmg | |
├── Afloat-2.4.1_10.9_x86-64.zip | |
├── Afloat.bundle | |
│ └── Contents | |
│ ├── Afloat Scripting.app | |
│ │ └── Contents |
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
# /bin/sh | |
/Applications/MAMP/Library/bin/mysqld_safe --port=8889 --socket=/Applications/MAMP/tmp/mysql/mysql.sock --lower_case_table_names=0 --pid-file=/Applications/MAMP/tmp/mysql/mysql.pid --log-error=/Applications/MAMP/logs/mysql_error_log & |
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
# /bin/sh | |
/Applications/MAMP/Library/bin/mysqladmin -u root -proot --socket=/Applications/MAMP/tmp/mysql/mysql.sock shutdown |
Hey Alex,
I know my gif hell well.
add urlize to my list of extensions for Markdown preview (when I use "Markdown Preview: Python Markdown: Preview in Browser")
curl https://raw.github.com/r0wb0t/markdown-urlize/master/urlize.py -o ~/Desktop/urlize.py
mv ~/Desktop/urlize.py ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Markdown\ Preview/markdown/extensions/urlize.py
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Markdown\ Preview/markdown/extensions
sudo python2.6 -m compileall .
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
#!/bin/bash | |
# | |
# see https://github.com/gruntjs/grunt-contrib-watch/pull/197 | |
# some info about redirecting the output http://www.xaprb.com/blog/2006/06/06/what-does-devnull-21-mean/ | |
# | |
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-running-insecure-content --ignore-certificate-errors > /dev/null 2>&1 |
NewerOlder