- Install Linux (crostini)
- Update package manager lists
$ sudo apt-get update
- Install python3
$ sudo apt-get install python3 python3-pip
- Install dependencies
#!/bin/bash | |
# /etc/init.d/minecraft | |
# Parameter | |
USERNAME='bukkit' | |
MCPATH='/opt/minecraft/' | |
BACKUPPATH='/opt/backup/' | |
RAM='1G' | |
FILENAME='craftbukkit-0.0.1-SNAPSHOT.jar' | |
START="java -Xincgc -Xmx$RAM -jar $FILENAME" |
$ sudo apt-get update
$ sudo apt-get install python3 python3-pip
#!/bin/bash | |
# Convert TCX (Garmin Edge) to GPX with gpsbabel | |
# Usage: tcx2gpx tcx-file-name [-o gpx-file-name] -max 999 | |
# -o -- gpx-file-name, if not given, computed from tcx-file-name (it is assumed YYYY-MM-DD*.tcx) | |
# -max -- produce simplified track with maximum 999 trkpoints | |
# | |
SIMPLIFY="" | |
if [ $# -eq 0 ]; then |
SonarQube does currently not support Raspberry PI. | |
This is a workaround. It compiles a armv6 compatible version of the java-wrapper and configures sonarqube to use it. | |
(Testet with Raspbian, wheezy, 3.6) | |
Compile java-wrapper for ARMv6 | |
============================ | |
Download latest version of " wrapper_prerelease_XY.tar" from http://wrapper.tanukisoftware.com/downloads/ (for me 3.5.17 works) |
A step-by-step guide for running a headless Raspbian 64bit kernel and OS on Raspberry Pi. The provided configuration has been tested on models 3B, 3B+ and 4B.
Download the Raspberry Pi Imager application.
Use the application to download Raspbian Lite (under Raspbian (other)) and write the image on your SD card.
Setup wireless connection configuration by creating wpa_supplicant.conf
file in the boot folder:
# -*- coding: utf-8 -*- | |
import os, pygame, random | |
pygame.init() | |
pygame.mouse.set_visible(False) | |
BACKGROUND = (0,0,0) | |
INTERVAL = os.getenv('INTERVAL', 60) | |
IMAGEFOLDER = os.getenv('IMAGEFOLDER', 'images') |
For symmetic encryption, you can use the following: | |
To encrypt: | |
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt | |
To decrypt: | |
openssl aes-256-cbc -salt -a -d -in encrypted.txt -out plaintext.txt | |
For Asymmetric encryption you must first generate your private key and extract the public key. |
sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get install golang | |
# Usually this is good to install golang, but alas the apt-get repo is usually out of sync with the latest. |