mkdir -p ~/project
cd ~/project
docker run -it --rm -v "$PWD":/app -w /app node yarn create react-app my-app
sudo chown -R $USER:root my-app/
cd my-app
nano docker-compose.yml # see docker-compose.yml below
docker compose up -d
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
<?xml version="1.0" encoding="UTF-16"?> | |
<!--install: win+R -> taskschd.msc -> import this script -> enable "Run whether user is logged on or not" to hide the powershell window --> | |
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
<RegistrationInfo> | |
<Date>2022-02-06T15:07:15.0844359</Date> | |
<URI>\chocolatey weekly update</URI> | |
</RegistrationInfo> | |
<Triggers> | |
<CalendarTrigger> | |
<StartBoundary>2022-02-06T08:02:00</StartBoundary> |
- connect hardware (USB, if necessary CH340G)
- flash tasmota firmware (install tasmotize via pip)
- configure (tasmotize - config: wifi + mqtt(ip and port of mqtt server))
- open webinterface of tasmota (IP see router)
- cofigure - cofigure module - template + activate: 6 . open web interface of tasmota
- if it is a ...
- ... a hardware where the sensors/switches/... are already hardwired to the esp8266: cofiguration -> cofigure module -> module type: select the hardware -> save.
- ... nodeMCU or similar board, where the pins of the 8266 can be used freely: cofiguration -> cofigure template -> name: any hardware name (e.g. "NodeMCU LoLin V3"), Based on: generic -> save -> configure module -> module type: select the just created name -> save
- in the modules now select the GPIO assignment, at ...
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
my ubuntu setup |
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
1. find best device speed | |
sudo bash -c 'pv < /dev/urandom > /dev/mmcblk0' | |
2. override with bs from 1. | |
sudo dd if=/dev/urandom of=/dev/mmcblk0 status=progress bs=39M conv=fdatasync | |
3. format disk via UI (create partition, in any filesystem) | |
4. create random file on partition |
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 | |
if ! [ -x "$(command -v jq)" ]; then | |
echo 'Error: jq is not installed.' >&2 | |
exit 1 | |
fi | |
for image in $( docker images --format "{{.Repository}}") | |
do | |
for parameter in "$@" |
ICE-Wifi is using the same IP-address scope as the first docker-container (172.18...) so WIFI is not working. To change the docker defaults and remove the existing container-network follow these steps:
sudo nano /etc/docker/daemon.json
add:
{
"default-address-pools":
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
dash to panel -> taskleiste unten | |
sound input & output device chooser | |
Desktop Icons | |
Minimize to Tray | |
Volume Mixer | |
Window Is Ready - Notification Remover | |
old: | |
#dynamic panle transparency | |
#no topleftcorner |
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
# GNU Screen - main configuration file | |
# All other .screenrc files will source this file to inherit settings. | |
# Author: Christian Wills - [email protected] | |
# Allow bold colors - necessary for some reason | |
attrcolor b ".I" | |
# Tell screen how to set colors. AB = background, AF=foreground | |
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' |
NewerOlder