Standard enums in JavaScript require verbose syntax for checking their value:
const STATE = {
WAIT = 1,
READY = 2,
IDLE = 3
};Display your tmux window list directly in your terminal prompt, eliminating the tmux status bar.
Adds an additional powerline10k right prompt containing the window list from your tmux status
Note
Terminal prompts only update when you press enter, so you may see an out of date window list
I use multiple devices with my bluetooth earphone connected to my mac machine, phone, or tablet.
When I boot my windows machine, it automatically connects to and snatches my bluetooth earphone. This is very annoying.
Results from google on ways to disable this are unhelpful:
Electron is tricky to get set up on Windows Subsystem for Linux, but it can work!
Four things needed overall:
apt install several dependenciesSetup instructions, in order:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>HTML5 Canvas Transformation</title> | |
| </head> | |
| <body> | |
| <script> | |
| // Create our canvas and append it to the document body | |
| var stage = document.createElement("canvas"); |