Save As: radarr_install.sh
Run Command: sudo ./radarr_install.sh
Using a user style sheet extension, this CSS should give you enough targetting to put the README above the files, putting the important information in the right place.
I use uptight, by the late Chloe Weil, you can use what you want.
// Discord all events! | |
// A quick and dirty fleshing out of the discord.js event listeners (not tested at all!) | |
// listed here -> https://discord.js.org/#/docs/main/stable/class/Client | |
// Learn from this, do not just copy it mofo! | |
// | |
// Saved to -> https://gist.github.com/koad/316b265a91d933fd1b62dddfcc3ff584 | |
// Last Updated -> Halloween 2022 | |
/* |
-
In open Ubuntu 18.04 machine click Parallels Actions -> "Install Parallels Tools"
-
A "Parallels Tools" CD will popup on your Ubuntu desktop.
-
Open it by double mouse click, copy all the content to a new, empty directory on a desktop, name it for e.g. "parallels_fixed"
-
Open terminal, change directory to parallels_fixed (
cd ~/Desktop/parallels_fixed
) -
Make command line installer executable (
chmod +x install
) -
Change directory to "installer" (
cd installer
) -
Make few other scripts executable:
chmod +x installer.* *.sh prl_*
Moved to https://github.com/ebidel/puppeteer-examples |
Scenario:
- multiple USB devices plugged via hub to a host (Linux OS based),
- multiple services/programs interacting with TTY running on top (e.g. GPSd)
Problem:
At boot TTY are randomly assigned to devices causing depending services/programs instabilities. They could indeed fail to start because of different TTY configurations.
Solution:
const range = function* (stop = 0, step = 1) { | |
const shouldStop = (n)=>stop >= 0 ? (n < stop) : (n > stop); | |
const interval = (n)=>stop >= 0 ? n + step : n - step; | |
let itr = function*() { | |
let i = 0; | |
while (shouldStop(i)) { | |
yield i; | |
i = interval(i); | |
} | |
}; |
export ZSH=$HOME/.oh-my-zsh | |
export DEFAULT_USER='athityakumar' | |
TERM=xterm-256color | |
ZSH_THEME="powerlevel9k/powerlevel9k" | |
POWERLEVEL9K_MODE='awesome-fontconfig' | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 |
[ Update 2025-03-24: Commenting is disabled permanently. Previous comments are archived at web.archive.org. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
-
Go to the remote repo and delete outdated branches
-
Then either:
- Locally cleanup only merged branches:
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
- Locally cleanup only merged branches:
- Locally remove fetched, outdated branches:
git for-each-ref --format='%(refname:short) %(upstream)' refs/heads/ | awk '$2 !~/^refs\/remotes/' | xargs git branch -D
”