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
wget http://mbmccormick.com/files/pogoplug/libstdc++.tar.gz | |
wget http://mbmccormick.com/files/pogoplug/openssl.tar.gz |
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
tar -zxvf openssl.tar.gz | |
cp usr/lib/libcrypto.so /usr/lib/ | |
cp usr/lib/libcrypto.so.0 /usr/lib/ | |
cp usr/lib/libcrypto.so.0.9.8 /usr/lib/ | |
cp usr/lib/libssl.so /usr/lib/ | |
cp usr/lib/libssl.so.0 /usr/lib/ | |
cp usr/lib/libssl.so.0.9.8 /usr/lib/ | |
ln -sf /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7 |
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
tar -zxvf libstdc++.tar.gz | |
cp usr/lib/libstdc++.so /usr/lib/ | |
cp usr/lib/libstdc++.so.6 /usr/lib/ | |
cp usr/lib/libstdc++.so.6.0.9 /usr/lib/ |
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
wget http://files.hamachi.cc/linux/nokia-770/hamachi-0.9.9.9-20-lnx-n770.tar.gz | |
tar -zxvf hamachi-0.9.9.9-20-lnx-n770.tar.gz | |
cp hamachi /usr/bin/hamachi | |
cp tuncfg/tuncfg /sbin/tuncfg | |
chmod 755 /usr/bin/hamachi | |
chmod 700 /sbin/tuncfg | |
ln -sf /usr/bin/hamachi /usr/bin/hamachi-init | |
mkdir /var/run/ |
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
ln -sf /bin/ifconfig /sbin/ifconfig | |
tuncfg | |
hamachi-init | |
hamachi start | |
hamachi login |
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 |
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
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
$("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
$(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"; |