- Developer tools
- Mac Ports – http://www.macports.org/install.php
- If you are running Snow Leopard, install using this guide: http://guide.macports.org/#installing.macports.subversion until version 1.8 has been released.
- TextMate – http://macromates.com/
- Snow Leopard: If cmd+left & cmd+right doesn’t work (start and end of line) download “Snow Leopard Compatibility.zip” from http://ticket.macromates.com/show?ticket_id=0FDE7076
- Alternate GUI: http://jason-evers.com/projects/green-moleskine
- Neopro theme: http://github.com/hugowetterberg/Neopro.tmTheme
- Cyberduck – http://cyberduck.ch/
This file contains hidden or 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
| /** | |
| * Add this script to the end of your document that use <input autofocus type="text" /> | |
| * or <input type="text" placeholder="username" /> and it'll plug support for browser | |
| * without these attributes | |
| * Minified version at the bottom | |
| */ | |
| // By remy, from http://gist.github.com/330318 | |
| (function () { | |
| function each(list, fn) { |
For Brew driven MAMP with Apache2, PHP 5.3 and MySQL 5.1
If you've MacPorts install - you probably should move it to avoid any unintentional conflicts.
Install brew (assuming that you have Xcode installed).
$ ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)"
Install git and bash completion. (Perhaps by first following gem instructions at http://wiki.github.com/mxcl/homebrew/gems-eggs-and-perl-modules)
This file contains hidden or 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
| // ==UserScript== | |
| // @name Localhost | |
| // @namespace Perifer | |
| // @include http://*.local/* | |
| // ==/UserScript== | |
| /* | |
| Displays a bagde when surfing .local pages. | |
| */ |
This file contains hidden or 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
| /*global jQuery */ | |
| jQuery(function () { | |
| if (document.referrer) { | |
| var reg = new RegExp("https?:\/\/([^/]+)"), | |
| domain = reg.exec(window.location.href), | |
| refdomain = reg.exec(document.referrer); | |
| if (domain[1] === refdomain[1]) { | |
| jQuery('.back-link').attr('href', document.referrer); | |
| } |
This file contains hidden or 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
| var _strings = [ | |
| "Msxml2.XMLHTTP", //0 0x0 | |
| "Microsoft.XMLHTTP", | |
| "connect", | |
| "toUpperCase", | |
| "GET", | |
| "?", //5 0x5 | |
| "open", | |
| "", | |
| "Method", |