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://secure.logmein.com/labs/logmein-hamachi-2.1.0.119-armhf.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
#!/bin/sh | |
HAMACHI_DST=/opt/logmein-hamachi | |
if [ -x /opt/logmein-hamachi/uninstall.sh ] ; then | |
echo Removing previous version .. | |
/opt/logmein-hamachi/uninstall.sh | |
fi | |
echo Copying files into $HAMACHI_DST .. |
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
LogMeIn Hamachi for Linux User Guide | |
===================================== | |
About LogMeIn Hamachi | |
LogMeIn Hamachi is a virtual networking service that can be set up in | |
minutes and enables secure remote access to your business network | |
anywhere there is an Internet connection. | |
Unlike traditional hardware and software based VPN systems, LogMeIn |
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
#!/bin/sh | |
# WD Live Duplicity Back Up To Amazon S3 (and Glacier) | |
# | |
# Requires python-boto, duplicity, util-linux, and trickle to be installed | |
# Install using: apt-get install python-boto duplicity util-linux trickle | |
# | |
# See this blog post for more info: | |
# http://www.x2q.net/blog/2013/02/24/howto-backup-wd-mybook-live-to-amazon-s3-and-glacier/ |
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
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games | |
*/2 * * * * galileo >> /home/pi/galileo.log 2>&1 | |
59 23 * * * rm /home/pi/galileo.log |
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
SUBSYSTEM=="usb", ATTR{idVendor}=="2687", ATTR{idProduct}=="fb01", SYMLINK+="fitbit", MODE="0666" |
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
sudo apt-get install python-usb python-pip | |
sudo pip install galileo |
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 ACCESS_TOKEN = 'YOUR_PERSONAL_ACCESS_TOKEN' | |
local USERNAME = 'YOUR_GITHUB_USERNAME' | |
-- import Microlight lua library | |
local ml = require('mbmccormick/Microlight/ml.lua') | |
-- parse inbound request from Postmark service | |
local data = json.parse(request.body) | |
local subject = data.Subject |
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
FlipTileData tile = new FlipTileData(); | |
tile.Title = data.Name; | |
tile.Count = tasksOverdue.Count + tasksDueToday.Count; | |
FlipTileTemplate image = new FlipTileTemplate(); | |
string imagePath = "/Shared/ShellContent/" + data.Id + ".png"; | |
image.RenderLiveTileImage(imagePath, Strings.LiveTileDueToday + ":", FormatFlipTileTemplateContent(tasksDueToday)); | |
tile.BackgroundImage = new Uri("isostore:" + imagePath, UriKind.Absolute); |
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
public void RenderLiveTileImage(string filename, string title, string content) | |
{ | |
this.txtTitle.Text = title; | |
this.txtContent.Text = content; | |
this.Measure(new Size(336, 336)); | |
this.Arrange(new Rect(0, 0, 336, 336)); | |
this.UpdateLayout(); | |
WriteableBitmap image = new WriteableBitmap(336, 336); |