Łukasz Lach, Docker Captain | 2020
https://lach.dev/ | https://github.com/lukaszlach/
Install X Server (Windows and Mac)
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
# syntax = docker/dockerfile:1.4.0 | |
FROM node:20 | |
WORKDIR /root | |
RUN npm install sqlite3 |
CC = gcc | |
RM = rm -f | |
INSTRUMENT_FOR_PROMETHEUS := false | |
ifeq ($(INSTRUMENT_FOR_PROMETHEUS),true) | |
CFLAGS = -Wall -DINSTRUMENT_FOR_PROMETHEUS | |
LIBS = -lbcm2835 -lprom -lpromhttp -lmicrohttpd | |
else | |
CFLAGS = -Wall |
Łukasz Lach, Docker Captain | 2020
https://lach.dev/ | https://github.com/lukaszlach/
Yet another night passed to fight with the machine. 💪
I was really happy to know that the latest version of ElementaryOS were out so I could not wait to install it on my latest laptop Acer Predator. 🤘 But... as usual, it was not without troubles...
But not really in fact... It might work for some brands but for my Acer Predator... not at all. Well it can work but will requires the steps explained below.
[Desktop Entry] | |
Categories=Development; | |
Comment=Supercharge your API workflow | |
Exec="/home/hauthorn/Programs/Postman/Postman" | |
Icon=/home/hauthorn/Programs/Postman/app/resources/app/assets/icon.png | |
Name=Postman | |
Terminal=false | |
Type=Application | |
Version=1.0 |
sudo apt-get install python-pip
sudo pip install powerline-status
sudo apt-get install fonts-powerline
.vimrc > set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/
### | |
### | |
### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
### https://christitus.com/windows-tool/ | |
### https://github.com/ChrisTitusTech/winutil | |
### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
### iwr -useb https://christitus.com/win | iex | |
### | |
### |
## TeamSpeak 3 Server - Autostart Service Script (LSBInitScript) ## | |
Init file: "/etc/init.d/tsserver" | |
Runtime user: "ts" | |
TeamSpeak server dir: "/home/ts/teamspeak3-server/<your tsserver>" | |
Install: "chmod 0755 /etc/init.d/tsserver && cd /etc/init.d/ && insserv tsserver && cd - > /dev/null" | |
Autostart after reboot: "update-rc.d tsserver defaults" | |
Usage: tsserver {start|stop|status|restart} "/etc/init.d/tsserver status" "service tsserver status" | |
enjoy |