source awspMake sure you source this, as if you just run it, it will be in a subshell and your exports won't matter after.
| #!/bin/bash | |
| resolutions=( | |
| "2560x1600" | |
| "1920x1200" | |
| "1920x1080" | |
| "1600x1200" | |
| "1680x1050" | |
| "1280x1024" | |
| "1440x900" |
| // Run this in the browser bar: var el = document.createElement("script"); el.src=URL; document.body.appendChild(el); | |
| // | |
| // 1. Login to http://my.vudu.com | |
| // 2. Run this script (if popups are blocked, temporarily unblock popups from Vudu in your browser) | |
| // 3. Grab the downloaded CSV file, and load at http://letterboxd.com/import | |
| // | |
| // How it works: this script is inserted into the Vudu page via a bookmarklet, grabs your session key, and | |
| // makes a call to Vudu's api. Then it parses the response and creates a CSV, which it then opens in a page as a data-uri. | |
| function buildCSV(data) { |
| -- assign logical name to macro keyboard | |
| lmc_assign_keyboard('MACROS'); | |
| COM = "g430n1" | |
| TANK = "lft" | |
| grid = {} | |
| grid[192] = function (direction) -- [1, 1] | |
| lmc_xpl_command("sim/flight_controls/flaps_up") | |
| end |
| -- assign logical name to macro keyboard | |
| lmc_assign_keyboard('MACROS'); | |
| local function has_value (tab, val) | |
| for index, value in ipairs(tab) do | |
| if value == val then | |
| return true | |
| end | |
| end |
| [ | |
| { | |
| "Flight Date": "2019-08-31", | |
| "Plane": "Warrior II", | |
| "Tail Number": "N43337", | |
| "FROM": "KEEN", | |
| "TO": "KEEN", | |
| "Remarks": "normal to/l, shortfield to/l, std turns, constant speed, constant descents", | |
| "Landings": 2, | |
| "Airplane SEL": 1.1, |
| (()=>{ let css=` | |
| div[class^="messageGroupBlocked"] {display:none;} | |
| `; | |
| var ss = document.createElement("style"); | |
| ss.type = "text/css"; ss.innerHTML = css; | |
| document.getElementsByTagName("head")[0].appendChild(ss); })(); | |
| /* | |
| https://github.com/ramboxapp/community-edition/wiki/Inject-JavaScript-Code |
setup your BOT_TOKEN environment variable, and you're good to go!
| Hello and welcome to Positive Python, the friendly place on Freenode for | |
| Pythonistas, Python Programmers, Programmers, and People to chat. We have | |
| had some problems with spammers joining the channel so we have had to set | |
| the room to only allow users who are registered with Freenode to chat. | |
| Registering your nickname is super easy, and Freenode even has a guide | |
| with how to do this, in which the second paragraph explains why we've | |
| done this. | |
| So please check out https://freenode.net/kb/answer/registration and we |
| // include the library code: | |
| #include <dht.h> | |
| #define dht_apin A0 | |
| #include <LiquidCrystal.h> | |
| dht DHT; | |
| // initialize the library by associating any needed LCD interface pin | |
| // with the arduino pin number it is connected to | |
| const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2, temp = dht_apin; | |
| LiquidCrystal lcd(rs, en, d4, d5, d6, d7); |