-
Open Apple menu -> System Preferences -> Bluetooth and disable Bluetooth on Mac as well as any other nearby Macs or devices which will try to pair with and confuse the controller.
-
Reset PS3 controller by inserting paperclip into pinhole near L2 button.
-
Connect PS3 controller to Mac with USB cable.
-
Enable Bluetooth.
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
Thanks to: | |
http://realityloop.com/blog/2012/07/03/nginx-mariadb-php-aegir-mac-os-x-optional-drush-5-works-mountain-lion | |
and | |
http://robots.thoughtbot.com/post/27985816073/the-hitchhikers-guide-to-riding-a-mountain-lion | |
--Fresh install Mountain Lion. | |
--Install XCode 4.4.2 | |
--Install Command line utilities via Xcode | |
--Install Homebrew |
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
{ | |
"auto_complete_commit_on_tab": false, | |
"bold_folder_labels": true, | |
"caret_style": "solid", | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"create_window_at_startup": false, | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
".DS_Store" |
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
/* | |
name: [File.Upload, Request.File] | |
description: Ajax file upload with MooTools. | |
license: MIT-style license | |
author: Matthew Loberg | |
requires: [Request] | |
provides: [File.Upload, Request.File] | |
credits: Based off of MooTools-Form-Upload (https://github.com/arian/mootools-form-upload/) by Arian Stolwijk |
Change your PHP to run git via sudo
<?php `sudo git pull [email protected]:my-user/myrepo.git`; ?>
Then change your suoders to allow git to be run by the apache user:
nano /etc/sudoers
Add this to the EOF:
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
<style> | |
.divider { | |
width:100%; | |
text-align:center; | |
border-bottom: 1px solid #000; | |
line-height:0.1em; | |
margin:10px 0 20px; | |
} | |
.divider > span { background:#fff; padding:0 10px; } | |
</style> |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
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
$.fn.setSameHeight = function () { | |
var arrHeights = this.map(function (i, el) { | |
return $(el).height(); | |
}); | |
var maxHeight = Math.max.apply(null, arrHeights); | |
this.height(maxHeight); | |
return this; |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.