Ł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-pipsudo pip install powerline-statussudo 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 | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
| ## 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 |
This is one chapter of my "Chrome Extension Workshops" tutorial, see the rest here: https://gist.github.com/caseywatts/8eec8ff974dee9f3b247
Unrelated update: my book is out! Debugging Your Brain is an applied psychology / self-help book
I'm feeling very clever. I've got this sweet line of javascript that replaces "cloud" with "butt". My mom would LOVE this, but she doesn't computer very well. I'm afraid to show her the Developer Console and have her type/paste this in. But she IS pretty good at bookmarks, she knows just how to click those!
A bookmark normally takes you to a new web page. A bookmarklet is a bookmark that runs javascript on the current page instead of taking you to a new page. To declare that it is a bookmarklet, the "location" it points to starts with javascript:.