Astro Pi IR OS ist eine modifizierte Version des Betriebssystems Raspberry Pi OS, welche von der Raspberry Pi Foundation für den Astro Pi IR auf der Raumstation entwickelt wurde. Er ist für die dortigen Netzwerke vorkonfiguriert und security-hardened. Für eine komfortable Nutzung am Boden sind einige Änderungen empfehlenswert, die in dieser Anleitung beschrieben sind. Diese Änderungen wirken sich allerdings nicht auf die Repräsentativität aus, so dass
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
# /etc/mysql/mariadb.conf.d/50-server.cnf | |
# | |
# These groups are read by MariaDB server. | |
# Use it for options that only the server (but not clients) should see | |
# this is read by the standalone daemon and embedded servers | |
[server] | |
# this is only for the mysqld standalone daemon | |
[mysqld] |
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
#!/usr/bin/kermit + | |
# First argument must be present and specifying the port to use | |
if not defined \%1 { | |
echo "First argument has to be port (e.g. /dev/ttyACM0)" | |
exit | |
} | |
set line \%1 | |
set speed 115200 |
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
[default] | |
repository = "XXXX" | |
password-file = "/usr/local/etc/resticprofile/restic-backup.pwd" | |
initialize = false | |
[default.env] | |
TMPDIR = "/tmp" | |
[default.backup] | |
verbose = true |
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
#!/usr/bin/perl -w | |
# =========================================== | |
# Laden von Perl-Modulen | |
# =========================================== | |
# Trigonometrische Funktionen, Kreiszahl Pi | |
use Math::Trig; | |
# Normalverteilte Zufallszahlen |
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
"/home/jan/temp/backup/restic-test/data/c3/c3a153419ce8c0064e27d3cbeff71e2a6acb16ceb83a1fa9ee8bc906ce933b7c", "2020-03-22 14:37:57.580592139 +0100", "b8a9972341d292132e5ca9f8acbd2555" | |
"/home/jan/temp/backup/restic-test/data/45/45ccfe5e9ed2386f406fa2da6662b77daba718ce4ed1c4bb3295df2900f5b208", "2020-03-22 14:37:57.569592128 +0100", "1b780a77ec89de79c829f10e7113a5ab" | |
"/home/jan/temp/backup/restic-test/snapshots/9e0a93a46b83972d0852efc8598e400fa9f65a23e65a370da69e0fc33db498d4", "2020-03-22 14:37:57.597592157 +0100", "8ca20f649a162d713f7695f6979c03fa" | |
"/home/jan/temp/backup/restic-test/config", "2020-03-22 14:37:15.673548243 +0100", "fcdf943a4ecba6697f26d04867dd7891" | |
"/home/jan/temp/backup/restic-test/index/81b6199f6d0044154c9e926b8a3f7052c383531ab54fb13f58f81773e39e86d4", "2020-03-22 14:37:57.589592148 +0100", "87a29b03ab29dad2224034a42e80fb17" | |
"/home/jan/temp/backup/restic-test/keys/e3080f9cfc5f76398232c133f43b5c9a485fe2164ee9f797779626f883b2af3d", "2020-03-22 14:37:15.666548236 +0100", "9399b554667f798937b8147 |
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
/* | |
ESP8266 IO HTTP | |
This program reads on digital input of the ESP8266 and displays | |
the result on a webpage. The ESP8266 connects directly to a | |
defined wifi on bootup. | |
*/ | |
#include <ESP8266WiFi.h> |
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
#!/bin/bash | |
#Quelle: http://opengeiger.de/Feinstaub/FeinstaubDatenLogger.pdf | |
#Anpassung für big endian unter RHEL 7 | |
WDIR=~ | |
while true; do | |
stty -F /dev/ttyUSB0 9600 raw | |
INPUT=$(dd conv=swab bs=10 count=1 </dev/ttyUSB0 2>/dev/null | od -x -N10 |head -n 1|cut -f2-10 -d" "); | |
#Ausgabe | |
#echo $INPUT | |
#echo " " |
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
#!/bin/bash | |
############################################################################### | |
# Begin of configuration section | |
############################################################################### | |
# Define the default keyboard map here | |
default_map="de" | |
# Define the alternative keyboard map here |
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
#!/bin/bash | |
# Specify the directory which has to be backed up | |
src="/home/user/" | |
# Specify the directory to place the backup | |
dst="rdiff_user@servername::remote_path" | |
# Specify a file which defines the direcories or files to be EXCLUDED | |
# from backup |
NewerOlder