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
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
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
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
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
mount -o rw,remount / |
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
def post(self): | |
alarm = Remindable.get_by_id(int(self.request.get('id'))) | |
try: | |
self.response.headers["Content-Type"] = "text/xml" | |
self.response.out.write("<?xml version='1.0' encoding='UTF-8' ?>\n") | |
self.response.out.write("<Response>") | |
self.response.out.write("<Say>Your remindable has arrived! " + alarm.text + "</Say>") | |
self.response.out.write("</Response>") | |
alarm.delete() |
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
def sendCall(self, text, destination, id): | |
ApiVersion = "2008-08-01" | |
AccountSid = "AXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | |
AuthToken = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY" | |
account = twilio.Account(AccountSid, AuthToken) | |
d = { | |
'Called' : destination, | |
'Caller' : '505-609-8968', | |
'Url' : 'http://remindable.appspot.com/call?id=' + str(id) |
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
def sendText(self, text, destination): | |
ApiVersion = "2008-08-01" | |
AccountSid = "AXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" | |
AuthToken = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY" | |
account = twilio.Account(AccountSid, AuthToken) | |
d = { | |
'To' : destination, | |
'From' : '505-609-8968', | |
'Body' : "Remindable: " + text |
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
class Weatherbot(db.Model): | |
username = db.StringProperty() | |
password = db.StringProperty() | |
zipcode = db.StringProperty() | |
wundurl = db.StringProperty() | |
lastupdate = db.DateTimeProperty(auto_now = True) |