Disable:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Enable:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Disable:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
Enable:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
| .ipad-only, | |
| .iphone-only, | |
| .retina-only, | |
| .non-retina-only, | |
| .retina-iphone-only, | |
| .non-retina-iphone-only | |
| display: none | |
| // iPad Only | |
| @media only screen and (device-width: 768px) |
| I am the owner of lvh.me. And I'm glad to hear it's helpful. In truth, it's just a fancy DNS trick. lhv.me and all of it's sub-domains just point back to your computer (127.0.0.1). That means running ssl is as simple (or difficult) as running ssl on your computer. | |
| I'm not sure how comfortable you are with the command line, but here's my how I setup my development environment. (rvm, passenger, nginx w/ SSL, etc). | |
| # Install rvm (no sudo!) | |
| # ------------------------------------------------------ | |
| bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) | |
| source ~/.rvm/scripts/rvm | |
| rvm install ree-1.8.7-2010.02 |
| #! /bin/bash | |
| open $1 -a /Applications/iA\ Writer.app |
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| wdir="." | |
| else | |
| wdir=$1 | |
| fi | |
| for f in $( find . -name '*.erb' ); do | |
| out="${f%.erb}.haml" | |
| if [ -e $out ]; then |
| /* | |
| Read more here: | |
| https://developer.mozilla.org/en/CSS/@-moz-document | |
| For more browser-specific hacks: | |
| http://paulirish.com/2009/browser-specific-css-hacks | |
| */ | |
| @-moz-document url-prefix() { | |
| /* Put your Firefox specific code here. */ |
This gist is no longer valid. Please see Compass-Rails for instructions on how to install.
| .two-columns { | |
| overflow: hidden; | |
| *zoom: 1; | |
| position: relative; | |
| } | |
| .two-columns .column-one, .two-columns .column-two { | |
| -moz-box-sizing: border-box; | |
| -webkit-box-sizing: border-box; | |
| -ms-box-sizing: border-box; |
| * Review this article and add new steps as needed: http://blog.therubymug.com/blog/2010/05/20/the-install-osx.html |
| #content-wrapper | |
| +container | |
| #about | |
| // Default (smallest screens) | |
| +column(100%) | |
| background-color: #ccc | |
| // Respond to other screen widths |