DRAFT:
Expect is a linux terminal tool to automate interactive terminal programs.
Installation
yum install expect
apt-get install expect
usage
Draft:
Wie kann man sicher Dienste erreichen, welche als Freigaben am Internet Router hängen. Wie zum Beispiel ein NAS, GameServer oder die Home-Automatisierung?
Man kann natürlich eine VPN auf dem Router oder einem Gerät dahinter einrichten, das heißt jeder VPN Client kommt an alle Dienste un...
Just found demo.f4map.com which is using building and roof tags from openstreetmap to modeling the map in 3D. Looks quite promising.
[Draft]
- Pin Steckerleiste anlöten, oder besser universal Clip aus dem 3D Drucker
- Pins mit dem USB TTY Modul verbinden, aber noch nicht einstecken, siehe Bild
- Mit HomeAssistant ESPHome Dashboard neues binary erstellen
- esptool installieren
python3 -m pip install esptool
- USB Adapter mit SonOf...
Vertical selection
On macOS: Shift+Option and mouse, or Shift+Option+Cmd and arrow keys
Helium is a nice app to have a webpage always on top of you screen on a mac. This helps in the current Corona pandemic to have your dashboards in a translucent way always visible during home office.
My personal Byobu CheatSheet for using on Mac OS
Escape sequence ctrl + s
Option | Description |
---|---|
split (vertical | ) | ctrl + s % |
split (horizontal - ) | shift F2 |
resize pane | ctrl + s ctrl + arrow key |
move pane to window | ctrl + s ! |
move focus to pane | shift + arrow key |
toggle pane... |
Sometime a ssh session in terminal hangs, mostly after network issues or suspend mode of the laptop. To free this terminal from the ssh session you can just put ENTER and wait, after a while it will be recognized. Or you push ENTER TILDE DOT this will free your session immediately.
Branches
Settings
Set username:
git config --global user.name "MyName" # global settings
git config --local user.name "My Name" # just for the current repository
Set mail address:
git config --global user.email "my@mail.address"
git config --local user.email "my@mail.address"
Rename loca
...Quite simple, just put an empty file on the boot folder of the SD card. For example if the SD card is plug in to your Mac, open a Terminal and enter:
touch /Volumes/boot/ssh
Write on the boot folder of the SD card a file _wpasupplicant.conf with following content.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=«your_ISO-3166-1_two-letter_country_code»
network={
ssid="«your_SSID»"
psk="«your_PSK»"
key_mgmt=WPA-PSK
}
Re...
Ich habe mal ein Projekt aus der ct nachgebastelt.
Dazu habe ich mir den FTDI Adapter FT232RL USB zu TTL Serial bestellt.
Die Anschlüsse sind wirklich schlecht zu erkennen, daher hier noch mal in der Reihenfolge von Links nach Rechts:
GND, CTS, VCC, TX, RXD, DTR
Als Treiber für den Mac habe ich...
Use lolcat to get beautiful colorized terminal output or to prank colleagues it they let her workstation/laptop unattended.
apt install lolcat; alias cat="/usr/games/lolcat"
Record and share your terminal sessions.
asciinema [as-kee-nuh-muh] is a free and open source solution for recording terminal sessions and sharing them on the web. Read about how it works.
sshuttle
Ein Tool um sich Zugang zu einem lokalen Netz zu verschaffen ohne ein VPN einrichten zu müssen. Einzige Bedingungen sind python auf Host und Client Rechner und root Zugriff auf dem Client. sshuttle
Ein nettes Projekt von der Republica 2017 luftdate.info Vielleicht schaffe ich es ja mal so einen Sensor zu basteln.
Gesperrter AdminAccount
- Komplettes users Verzeichnis löschen archiva/data/databases/users
- Beim nächsten Start kann man wieder Accounts anlegen und die Repositories bleiben erhalten
Passwort Laufzeit ausschalten oder verlängern
-
Unter archiva/conf/archiva.xml
...
Ein wunderschönes make File in Anlehnung an einen wunderschönen xkcd comic.
me a:
@true
sandwich.:
ifeq ($(shell if touch / 2> /dev/null; then id -u; fi),0)
@echo "Okay."
else
@echo "What? Make it yourself."
endif
.PHONY: me a sandwich.
...
Für den Fall mal wieder Langeweile zu haben und ein interessantes Projekt umzusetzen. Hier gibt es eine Do-it-yourself Wärmebildkamera. Die Materialkosten liegen wohl so um die 400 EUR und den Spaß und die Erfahrung die man dabei sammelt sind wohl unbezahlbar. Gemerkt.