-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
raspberrypi/home/pi/apps/pyfispot |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# WARNING: this script creates symlinks for the file in this repo into | ||
# the root tree of the RaspberryPi. There are some files (like | ||
# sudoers) that doesn't work if it's a symlink. | ||
|
||
# WARNING: this script should be ran with "sudo" | ||
|
||
import os | ||
import shutil | ||
|
||
|
||
for root, dirnames, filenames in os.walk('etc'): | ||
for f in filenames: | ||
relative_path = os.path.abspath(os.path.join(root, f)) | ||
root_path = os.path.join('/', root, f) | ||
print('Creating symlink for:', root_path) | ||
shutil.move(root_path, root_path + '.bak') | ||
os.symlink(relative_path, root_path) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
Flask==0.10.1 | ||
itsdangerous==0.24 | ||
jedi==0.9.0 | ||
Jinja2==2.8 | ||
Mako==1.0.2 | ||
MarkupSafe==0.23 | ||
Werkzeug==0.10.4 | ||
wheel==0.24.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
# Download maps for OSMAnd for Android | ||
wget -c "http://download.osmand.net/download.php?standard=yes&file=Peru_southamerica_2.obf.zip" -O Peru_southamerica_2.obf.zip | ||
wget -c "http://download.osmand.net/download.php?standard=yes&file=Bolivia_southamerica_2.obf.zip" -O Bolivia_southamerica_2.obf.zip |