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
ApplicationDetails.onSubmitAction('1', '<your application id>', '<your application instance id>', '1', 'False'); |
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
python imap_upload.py --gmail --box Imported "C:\Users\%USERNAME%\AppData\Roaming\Thunderbird\Profiles\XXXXXXXX.default\Mail\pop-server.wi.rr.com\Inbox" |
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
ProgressIndicator progressIndicator = new ProgressIndicator(); | |
SystemTray.ProgressIndicator = progressIndicator; | |
progressIndicator.IsVisible = true; | |
progressIndicator.IsIndeterminate = true; |
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
<toolkit:TransitionService.NavigationInTransition> | |
<toolkit:NavigationInTransition> | |
<toolkit:NavigationInTransition.Backward> | |
<toolkit:TurnstileTransition Mode="BackwardIn"/> | |
</toolkit:NavigationInTransition.Backward> | |
<toolkit:NavigationInTransition.Forward> | |
<toolkit:TurnstileTransition Mode="ForwardIn"/> | |
</toolkit:NavigationInTransition.Forward> | |
</toolkit:NavigationInTransition> | |
</toolkit:TransitionService.NavigationInTransition> |
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
<?php | |
// extract gist id from url | |
$gist = $_GET[id]; | |
// create cache directory | |
if (file_exists("gists/") == false) | |
mkdir("gists", 0700); | |
// check if we have need to update our local copy of the gist |
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
$(window).bind("popstate", function() { | |
$("body").css("cursor", "progress"); | |
$(".main").after("<section class='left'></section>"); | |
$(".left").load(location.pathname + " .main>*", function() { | |
if ($(".left h1").text().length > 0) | |
document.title = "Matt McCormick - " + $(".left h1").text(); | |
else | |
document.title = "Matt McCormick"; |
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
$("aside a.logo, nav ul li a").live("click", function(e) { | |
if ((e.which == 1 && !e.metaKey && !e.shiftKey) == false) | |
return true; | |
history.pushState("", "", this.href); | |
$("body").css("cursor", "progress"); | |
$(".main").after("<section class='right'></section>"); | |
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
robot.respond /weather(?: me|for|in)?\s(.*)/, (msg) -> | |
query msg, (body, err) -> | |
return msg.send err if err | |
city = body.getElementsByTagName("city")[0] | |
return msg.send "Sorry, but you didn't specify a location." if not city or not city.getAttribute | |
city = city.getAttribute("data") | |
currentCondition = body.getElementsByTagName("current_conditions")[0].getAttribute("data") | |
conditions = body.getElementsByTagName("current_conditions")[0].getElementsByTagName("condition")[0].getAttribute("data") |
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
cd /etc/init.d/ | |
wget http://mbmccormick.com/files/pogoplug/hamachi.sh | |
chmod 777 hamachi.sh | |
echo "/etc/init.d/hamachi.sh start" >> /etc/init.d/rcS |
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
echo "KeepAlive 20" >> /root/.hamachi/config |