Skip to content

Instantly share code, notes, and snippets.

@rahatarmanahmed
rahatarmanahmed / difficult.txt
Created August 15, 2020 01:36
skribbl.io custom word lists
drought,professor,barber,kneel,orbit,germ,darts,dance,cape,beanstalk,sushi,baby-sitter,ping pong,mime,Heinz 57,half,swamp,sheep dog,macaroni,hurdle,Internet,lie,logo,rind,fireman pole,raft,wig,salmon,pigpen,letter opener,cabin,fireside,cell phone charger,dent,jungle,dripping,saddle,fabric,sleep,mirror,ski goggles,ringleader,scream,point,neighborhood,yardstick,applause,cliff,loveseat,sponge,chess,grandpa,peasant,cruise,CD,drawback,chestnut,yolk,pilot,season,bedbug,world,important,bleach,biscuit,bobsled,pharmacist,shampoo,swarm,moth,sneeze,deep,sunburn,pizza sauce,houseboat,password,dryer sheets,migrate,snag,koala,catalog,husband,darkness,shower curtain,rib,extension cord,honk,landscape,water buffalo,wooly mammoth,cheerleader,cloak,birthday,nightmare,fizz,clog,myth,wind,banister,post office,knight,rim,think,bride,comfy,hydrogen,baguette,vitamin,lace,tiptoe,sweater vest,pail,glitter,plow,retail,leak,pocket,crust,mascot,macho,hail,bargain,time machine,drain,vegetarian,bookend,ivy,taxi,foil,mast,gold,chime,commerc

I typically like to practice the principle of charity, which is to assume that everyone is making an argument in good faith. I've wasted enough of my life on Twitter and elsewhere on the internet to understand that this is a fool's game, but nonetheless[tk].

And once again, I found myself on Twitter devouring another thread of bad webcomics. This time it's Stonetoss. From an initial pass it's pretty exceptionally bad. It hits all the spots:

  • lazy art
  • lazy jokes
  • incredibly bad opinions
  • the opinions are very wrong, folks
  • you got your anti-sjw-ism
  • you got your anti-semitism
  • it peaks at Holocaust denial
@rahatarmanahmed
rahatarmanahmed / gist:0610f113445d727bb0c4291f6db0a6af
Created February 3, 2017 17:55
Simple LED Widget Privacy Policy
Simple LED Widget does not collect any user data. It only requests the camera permissions so it can control the camera flash.
@rahatarmanahmed
rahatarmanahmed / choo-promise.js
Created November 21, 2016 00:47
A promise plugin for choo, which I made before I found out that barracks-promisify-plugin already existed.
var isPromise = require('is-promise')
var pify = require('pify')
module.exports = function (opts) {
opts = opts || {}
function wrapEffects (fn) {
return function (data, state, send, done) {
send = pify(send, opts.Promise)
var promise = fn(data, state, send, done)
if (isPromise(promise)) promise.then(function (res) { done(null, res) }, done)
module.exports = {
rules: {
'comma-spacing': [2, { 'before': false, 'after': true }],
'key-spacing': [2, { 'beforeColon': false, 'afterColon': true }],
}
};
@rahatarmanahmed
rahatarmanahmed / .eslintrc.js
Created October 7, 2016 21:31
ESLint config that dynamically generates globals from a .js file with constants
var fs = require('fs');
var getGlobals = require('acorn-globals');
var globals = {
angular: true,
DashboardApp: true,
inject: true
};
var constants = fs.readFileSync(__dirname + '/dna-webapp/app/appConstants.js', 'utf8').toString();
@rahatarmanahmed
rahatarmanahmed / focus.js
Created October 5, 2016 18:01
Focusing section of a page
// focus(selector) will hide everything on a page,
// then centers and displays what the selector matched
var container
var focus = (selector) => {
if (!container) {
container = document.createElement('div')
container.style.width = document.body.style.width = '100vw'
@rahatarmanahmed
rahatarmanahmed / godel.js
Created September 1, 2016 14:43
ASCII Godel Numbering
var P = require('livecoding-primes');
function asciiGodelNumber(str) {
var primes = P.primes()
return str.split('')
.map(c => c.codePointAt(0))
.map(n => Math.pow(primes.next().value, n))
.reduce((acc, n) => acc*n, 1)
}
@rahatarmanahmed
rahatarmanahmed / README.md
Created August 28, 2016 16:29
Imports Letterboxd scores into taste.io

Letterboxd -> Taste.io import script

This script imports your Letterboxd ratings into taste.io.

Usage

Too lazy to make this into an npm package so here's how you could use it. You'll need nodejs and npm.

  1. Save the script
  2. Run npm i through2 JSONStream got cookie x-ray in the script's directory
@rahatarmanahmed
rahatarmanahmed / available-4char.txt
Last active February 18, 2016 06:18
Available 4-character GitHub Handles as of February 18th 2016
ahet
aoul
asor
aute
awny
azox
bawd
bikh
birn
blae