Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
The purpose of this tutorial is to walk through the required steps to upgrade NXT chip (or pocketchip) from debian jessie to debian buster.
If you would like to start your Chip from scratch, follow the steps in the Preparation section.
A linux host machine, recommended Ubuntu 18.04. However I managed to do it with 20.10 with some tweak.
| // ==UserScript== | |
| // @name Add Saved Items to Cart | |
| // @namespace https://gist.github.com/beporter/ce76204bcba35d9edb66b395bb5e9305 | |
| // @version 0.5 | |
| // @description Repeatedly refresh a given "saved items" page (Amazon, Walmart, BestBuy), look for specific "Add to Cart" buttons, click them if present, and make a lot of noise on success. | |
| // @author https://github.com/beporter | |
| // @match https://www.amazon.com/gp/registry/wishlist/* | |
| // @match https://www.amazon.com/hz/wishlist/ls/* | |
| // @match https://www.bestbuy.com/cart | |
| // @match https://www.bestbuy.com/site/customer/lists/manage/saveditems |
| /** | |
| * NOTE: this specifically works if the house is for sale since it renders differently. | |
| * This will download the highest resolution available per image. | |
| */ | |
| /** | |
| * STEP 1: Make sure to *SCROLL* through all images so they appear on DOM. | |
| * No need to click any images. |
| #!/bin/sh | |
| basename=`basename $0` | |
| if [ -z "$*" ]; then | |
| echo "usage: ${basename} <dot> [ -o | -r | <file> | - ]" | |
| echo "" | |
| echo "options:" | |
| echo " -o open dot in window with keyboard focus" | |
| echo " -r read contents of dot" |
| -- forked version of https://gist.github.com/charlietran/43639b0f4e0a01c7c20df8f1929b76f2 | |
| on run {input, parameters} | |
| set paths to "" | |
| repeat with i from 1 to length of input | |
| set cur to item i of input | |
| set paths to paths & " " & quote & POSIX path of cur & quote | |
| end repeat | |
| set cmd to "vim -p" & paths | |
| tell application "iTerm" |
| // Base64 encoding of your credentials | |
| let clientID = '<your client id>' | |
| let clientSecret = '<your client secret>' | |
| let cred = clientID + ':' + clientSecret | |
| let credEncoded = Data.fromString(cred).toBase64String() | |
| let auth = 'Basic ' + credEncoded | |
| // Get token | |
| let tokenURL = 'https://accounts.spotify.com/api/token' | |
| var reqToken = new Request(tokenURL) |
| -------------------------------------------------- | |
| -------------------------------------------------- | |
| -- Import tasks from Things to OmniFocus | |
| -------------------------------------------------- | |
| -------------------------------------------------- | |
| -- | |
| -- Script taken from: http://forums.omnigroup.com/showthread.php?t=14846&page=2 && https://gist.github.com/cdzombak/11265615 | |
| -- Added: OF3 & Things 3 compatibility; task order; areas/folders; tags | |
| -- Empty your Things Trash first. | |
| -- |
| property S : a reference to application "Safari" | |
| global W | |
| on run input -- input is a list of URLs | |
| if (count input) is 0 then ¬ | |
| set the input to {¬ | |
| "alfredapp.com", ¬ | |
| "stackoverflow", ¬ | |
| "google.co.uk"} |