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
# Credit to Sean: http://ertw.com/blog/2012/05/02/controlling-hipchat-status-through-applescript/ | |
# I link this to a Quicksilver trigger so I can press 'Shift-Option-L' when I Leave | |
tell application "System Events" to tell UI element "HipChat" of list 1 of process "Dock" | |
perform action "AXShowMenu" | |
delay 0.5 | |
click menu item "Status" of menu 1 | |
click menu item "Away" of menu 1 of menu item "Status" of menu 1 | |
end tell | |
activate application "ScreenSaverEngine" |
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/local/bin/ruby | |
# | |
require 'rubygems' | |
require 'oauth' | |
require 'json' | |
oauth_key = '1/xxxxxxxxxxxx' | |
oauth_secret = 'yyyyyyyyyy' | |
# Fill in your website |
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
1) Quit minecraft | |
2) Download the mod. It should automatically unzip to the folder Downloads/(mod_name)/. | |
3) Open a finder window to Downloads/(mod_name) | |
4) Open another finder window to ~/Library/Application Support/minecraft/bin | |
In this window, left-click on 'minecraft-1.4.2.dir' and select 'Duplicate'. That will create 'minecraft-1.4.2.dir copy' | |
5) Copy all the files from Downloads/(mod_name)/ into minecraft-1.4.2.dir |
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
---- Minecraft Crash Report ---- | |
// I just don't know what went wrong :( | |
Time: 1/13/13 3:09 PM | |
Description: Failed to start game | |
java.lang.IllegalArgumentException: Slot 200 is already occupied by amq@6b04d3c8 when adding xolova.blued00r.divinerpg.blocks.BlockXolovonStone@9ec265c | |
at amq.<init>(Block.java:326) | |
at amq.<init>(Block.java:359) | |
at xolova.blued00r.divinerpg.blocks.BlockXolovonStone.<init>(BlockXolovonStone.java:14) |
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
[2013-06-20T17:33:56+00:00] INFO: Storing updated cookbooks/metachef/.rspec in the cache. | |
[2013-06-20T17:33:56+00:00] INFO: Storing updated cookbooks/metachef/.watchr in the cache. | |
[2013-06-20T17:33:56+00:00] INFO: Storing updated cookbooks/metachef/Gemfile in the cache. | |
[2013-06-20T17:33:57+00:00] INFO: Storing updated cookbooks/metachef/metadata.json in the cache. | |
[2013-06-20T17:33:57+00:00] INFO: Storing updated cookbooks/metachef/metadata.rb in the cache. | |
[2013-06-20T17:33:57+00:00] INFO: Storing updated cookbooks/metachef/README.md in the cache. | |
================================================================================ | |
Recipe Compile Error in /srv/chef/file_store/cookbooks/metachef/libraries/aspect.rb | |
================================================================================ |
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
================================================================================ | |
Recipe Compile Error in /srv/chef/file_store/cookbooks/monitor/recipes/master.rb | |
================================================================================ | |
Chef::Exceptions::ResourceNotFound | |
---------------------------------- | |
Cannot find a resource matching ruby_block[sensu_service_trigger] (did you define it first?) | |
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
module MyModule | |
module Utils | |
def hallo(options) | |
if ( options[:verbose] ) | |
'hallo' | |
else | |
'buzz_off' | |
end | |
end |
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 ruby -wKU | |
# | |
# by Kelan Champagne | |
# http://yeahrightkeller.com | |
# | |
# A script to generate a personal podcast feed, hosted on Dropbox | |
# | |
# Inspired by http://hints.macworld.com/article.php?story=20100421153627718 | |
# | |
# Simply put this, and some .mp3 or .m4a files in a sub-dir under your Dropbox |
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 | |
# assumes you have installed easy_install & brew | |
easy_install -O2 dateutils | |
easy_install --upgrade google-api-python-client | |
easy_install --upgrade python-gflags | |
git clone https://github.com/insanum/gcalcli.git | |
chmod +x gcalcli/gcalcli |
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 -e | |
cal='Hill-Burkholder' | |
function add_entry() { | |
while read line; do | |
echo Adding entry to $cal: $line; | |
echo ./gcalcli quick --calendar $cal "$line"; | |
done | |
} |
OlderNewer