Simple nodejs script to convert timeline from twitter (https://dev.twitter.com) to twtxt (https://github.com/buckket/twtxt) format.
$ npm install twitter moment
$ convert.js > ~/twtxt.txtSimple nodejs script to convert timeline from twitter (https://dev.twitter.com) to twtxt (https://github.com/buckket/twtxt) format.
$ npm install twitter moment
$ convert.js > ~/twtxt.txt| Season | Episode | Title | Reason | |
|---|---|---|---|---|
| 1 | 5 | The Enchiridion | A good intro to the series, plus introduces the important Enchiridion | |
| 1 | 8 | Business Time* | First mention of Ooo being post-apocalyptic | |
| 1 | 9 | My Two Favorite People | Intros the Jake and LR plotline | |
| 1 | 10 | Memories of Boom Boom Mountain | A look at how Finn was adopted into Jake's Family | |
| 1 | 12 | Evicted! | Intros Marceline | |
| 1 | 16 | Ocean of Fear | Introduces Finn's phobia | |
| 1 | 22 | Henchman* | Establishes Finn and Marceline as friends | |
| 1 | 23 | Rainy Day Daydream* | good episode to show someone who’s never seen the show before | |
| 1 | 25 | His Hero | introduces the Lich and Billy |
| /* bling.js */ | |
| window.$ = document.querySelector.bind(document); | |
| window.$$ = document.querySelectorAll.bind(document); | |
| Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); }; | |
| NodeList.prototype.__proto__ = Array.prototype; | |
| NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); }; |
| #!/usr/bin/env sh | |
| # Download lists, unpack and filter, write to stdout | |
| curl -s https://www.iblocklist.com/lists.php \ | |
| | sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| | xargs wget -O - \ | |
| | gunzip \ | |
| | egrep -v '^#' |
| """A command line version of Minesweeper""" | |
| import random | |
| import re | |
| import time | |
| from string import ascii_lowercase | |
| def setupgrid(gridsize, start, numberofmines): | |
| emptygrid = [['0' for i in range(gridsize)] for i in range(gridsize)] |
| #!/bin/bash | |
| LINES=$(tput lines) | |
| COLUMNS=$(tput cols) | |
| declare -A snowflakes | |
| declare -A lastflakes | |
| clear |
| LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(TRIM('My String'), ':', ''), ')', ''), '(', ''), ',', ''), '\\', ''), '\/', ''), '\"', ''), '?', ''), '\'', ''), '&', ''), '!', ''), '.', ''), ' ', '-'), '--', '-'), '--', '-')) AS `post_name` |