Clone w/Submodules
git clone --recurse-submodules
Fetch and Prune
git fetch -p
| # (Re)start all containers, including those not currently running | |
| docker restart $(docker ps -a -q) | |
| # Stop all containers | |
| docker stop $(docker ps -a -q) | |
| # Remove all containers, including those not currently running | |
| docker rm $(docker ps -a -q) |
| javascript:(() => { | |
| const timeout = 500; | |
| let clickTimeout = timeout; | |
| const buttons = document.querySelectorAll('.pl-video-edit-remove'); | |
| for (let button of buttons) { | |
| setTimeout(() => { | |
| console.group(button); | |
| setTimeout(() => { button.click(); }, timeout); | |
| console.groupEnd(); |
| javascript:(() => { | |
| const timeout = 500; | |
| const buttons = document.querySelectorAll("[aria-label^='Unsubscribe from']"); | |
| for(let button of buttons) { | |
| setTimeout(() => { | |
| console.group(button.attributes['aria-label'].value); | |
| setTimeout(() => { button.click(); }, timeout); |
| javascript: (function() { | |
| const selection = window.getSelection().toString(), | |
| title = document.title, | |
| link = `[${selection || title}](${location.href})`, | |
| markdown = `${link}`; | |
| void prompt(`${title}\n${location.href}`, markdown); | |
| })(); |
| # https://forums.linuxmint.com/viewtopic.php?p=1543828#p1543828 | |
| # https://linux.die.net/man/1/wmctrl | |
| # 1800x1500 (Center) | |
| wmctrl -r :ACTIVE: -e 0,1020,330,1800,1500 | |
| # 2560x1600 (Center) | |
| wmctrl -r :ACTIVE: -e 0,640,280,2560,1600 | |
| # 3200x1900 (Center) |
Clone w/Submodules
git clone --recurse-submodules
Fetch and Prune
git fetch -p
| { | |
| "id": "Ag8EAQAKCwAPAAwIBAoJAQ", | |
| "links": [ | |
| { | |
| "active": true, | |
| "iden": "CwgODwQAAwwCBAcNBAcGBQ", | |
| "created": 1534960753.141877, | |
| "modified": 1534970458.090077, | |
| "type": "link", | |
| "title": "Example Domain", |
| # Install nvm: | |
| curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
| # Configure nvm shell context: | |
| export NVM_DIR="$HOME/.nvm" | |
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
| [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
| # Install Node.js via nvm: | |
| nvm install node |
| <# | |
| https://gist.github.com/willwm/3937943714b3a418fc1df5c62d379648 | |
| The command to run, built from the raw link of this gist | |
| Win+R | |
| iexplore http://boxstarter.org/package/url?<RAW GIST LINK> |
| #--- Uninstall unecessary applications that come with Windows out of the box --- | |
| # 3D Builder | |
| Get-AppxPackage Microsoft.3DBuilder | Remove-AppxPackage | |
| # Autodesk | |
| Get-AppxPackage *Autodesk* | Remove-AppxPackage | |
| # Bing Weather, News, Sports, and Finance (Money): | |
| Get-AppxPackage Microsoft.BingFinance | Remove-AppxPackage |