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
| metadata { | |
| definition (name: "Dropcam (Switch)", namespace: "mbmccormick", author: "Matt McCormick") { | |
| capability "Actuator" | |
| capability "Image Capture" | |
| capability "Switch" | |
| capability "Refresh" | |
| capability "Polling" | |
| } | |
| simulator { |
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
| local sku = '309986300' | |
| local zipcode = '10001' | |
| local response = http.request { | |
| url = 'https://rtgliveservices.cloudapp.net/Location/LocationService.svc/NearestSites?zipcode=' .. zipcode .. '&maxRadius=100' | |
| } | |
| local data = json.parse(response.content) | |
| local sites = {} |
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
| if(document.URL!="https://www.fitbit.com/activities"){alert("This script only runs on the Fitbit.com Activities page!")}$("div.history tbody tr.item td:nth-child(3)").each(function(){var steps=$(this).text().trim();if(steps<100){$(this).parent().find(".delete-form .delete").click()}});$("button.confirm").click(); |
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 https://github.com/downloads/swenson/jtux/libjtux.so | |
| cp libjtux.so /opt/crashplan/ | |
| service crashplan restart |
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 CrashPlan-install | |
| ./install.sh |
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
| apt-get update | |
| apt-get install default-jre | |
| apt-get install libjna-java |
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 CrashPlan_3.6.3_Linux.tgz |
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://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_3.6.3_Linux.tgz |
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
| ./install.sh |
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 logmein-hamachi-2.1.0.119-armhf.tgz | |
| cd logmein-hamachi-2.1.0.119-armhf | |
| wget https://raw.githubusercontent.com/mbmccormick/hamachi-wdmycloud/master/install.sh | |
| wget https://raw.githubusercontent.com/mbmccormick/hamachi-wdmycloud/master/uninstall.sh |