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
| Linux - Raspberry | |
| • Allgemeine Befehle: | |
| USB-Geräte auflisten: lsusb | |
| Kernel-Message buffer: dmesg | |
| Aktuelle Prozesse: top | |
| Freien Arbeitsspeicher anzeigen: free -h | |
| Speicherbelegung Filesystem: df -h | |
| root anmelden: sudo -i, abmelden: exit |
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 | |
| # /etc/init.d/timelapseinit.sh | |
| # v0.1 phillips321.co.uk | |
| ### BEGIN INIT INFO | |
| # Provides: timelapseinit.sh | |
| # Required-Start: | |
| # Required-Stop: | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: raspistill from raspicam to /home/pi/imagen.jpg |
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
| Installation lcd4linux mit DPF-Patch (DPF - Digital Picture Frame): | |
| Einige Befehle müssen als sudo ausführt werden! | |
| apt-get install libtool automake1.10 autoconf zlib1g-dev libssl-dev python-dev libc6 libusb-dev libibus-1.0-dev subversion libgd2-noxpm-dev libgd2-noxpm --fix-missing | |
| apt-get install sdcc-libraries | |
| apt-get install cc1111 | |
| wget http://tech.section5.ch/files/dpfhack-0.1alpha.tgz | |
| tar -xvzf dpfhack-0.1alpha.tgz | |
| cd dpf/src | |
| make |
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
| <?php | |
| header("Cache-Control: no-cache, must-revalidate"); | |
| header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); | |
| header("Pragma: no-cache"); | |
| function NumberWithCommas($in) | |
| { | |
| return number_format($in); | |
| } | |
| function WriteToStdOut($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
| <html> | |
| <head> | |
| <script type="text/javascript" src="jwplayer/jwplayer.js"></script> | |
| </head> | |
| <body> | |
| <div id="myElement">Loading the player...</div> | |
| <script type="text/javascript"> | |
| jwplayer("myElement").setup({ | |
| file: "media/outfile.flv", |
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
| <?php | |
| //get last timelapse picture | |
| header('Content-Type: image/jpeg'); | |
| readfile("/home/pi/image.jpg"); | |
| ?> |
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
| #!/usr/bin/php | |
| <?php | |
| //initialize variables | |
| $filename = "/home/pi/test.jpg"; | |
| $FontBold = "/home/pi/FreeMonoBold.ttf"; | |
| $Font = "/home/pi/verdana.ttf"; | |
| $counter=1; | |
| $countervideo=1; |