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
#!/usr/bin/env bash | |
curl -L https://www.opscode.com/chef/install.sh | sudo bash | |
mkdir -p /var/chef /tmp/chef-solo/cookbooks/ngrokd /tmp/chef-solo/cookbooks/citadel /etc/chef/ohai/hints | |
touch /etc/chef/ohai/hints/ec2.json | |
curl -L --silent https://github.com/rjocoleman/ngrokd-cookbook/tarball/master | tar -zx --strip-components=1 -C /tmp/chef-solo/cookbooks/ngrokd | |
curl -L --silent https://github.com/poise/citadel/tarball/master | tar -zx --strip-components=1 -C /tmp/chef-solo/cookbooks/citadel |
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
<?php | |
if (getenv('MAGE_IS_DEVELOPER_MODE')) { | |
$_SERVER['MAGE_IS_DEVELOPER_MODE'] = true; | |
} | |
if (preg_match('#^/api/rest#', $_SERVER["REQUEST_URI"])) { | |
$_SERVER["REQUEST_URI"] = 'api.php?type=rest'; | |
} elseif (preg_match('#^/(media|skin|js)#', $_SERVER["REQUEST_URI"])) { | |
return false; |
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
wpeinit | |
net use \\10.10.20.20\windows | |
\\10.10.20.20\windows\win7\setup.exe |
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
require "formula" | |
class Mongodb < Formula | |
homepage "http://www.mongodb.org/" | |
url "http://downloads.mongodb.org/src/mongodb-src-r2.6.3.tar.gz" | |
sha1 "226ab45e3a2e4d4a749271f1bce393ea8358d3dd" | |
bottle do | |
sha1 "d573717ca7c67455680a6823de210c940faf9ac6" => :mavericks | |
sha1 "f7d2a0711e3ac09fd61bcb243360c1a07fb83233" => :mountain_lion |
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
$ git push deis master | |
Counting objects: 3, done. | |
Delta compression using up to 8 threads. | |
Compressing objects: 100% (3/3), done. | |
Writing objects: 100% (3/3), 353 bytes | 0 bytes/s, done. | |
Total 3 (delta 2), reused 0 (delta 0) | |
-----> Ruby app detected | |
-----> Compiling Ruby/Rack | |
-----> Using Ruby version: ruby-2.1.5 | |
-----> Installing dependencies using 1.6.3 |
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 | |
# install dokku | |
wget -qO- https://raw.github.com/progrium/dokku/v0.3.13/bootstrap.sh | sudo DOKKU_TAG=v0.3.13 bash | |
# set the domain | |
echo do.rjoc.me > /home/dokku/VHOST | |
# add my DO SSH key | |
curl -s http://169.254.169.254/metadata/v1/public-keys | sshcommand acl-add dokku dokku@do.rjoc.me |
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
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>SPARROW</appname> | |
<equal>com.sparrowmailapp.sparrowappcast</equal> | |
</appdef> | |
<item> | |
<name>Sparrow disable Option + Return</name> |
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
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Switch Launchpad to F4</name> | |
<appendix>Change Launchpad key to F4 key</appendix> | |
<identifier>private.rjoc.launchpad_f4</identifier> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::LAUNCHPAD, |
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
<?xml version="1.0"?> | |
<root> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_SHELL_SCREENSAVER</name> | |
<url type="shell"> | |
<![CDATA[ /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine ]]> | |
</url> | |
</vkopenurldef> |
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
<?xml version="1.0"?> | |
<root> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_SHELL_SCREENSAVER</name> | |
<url type="shell"> | |
<![CDATA[ /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine ]]> | |
</url> | |
</vkopenurldef> |