Skip to content

Instantly share code, notes, and snippets.


Bradley Momberger airhadoken

View GitHub Profile
View twitter-app-privacy.html
<title>Twitter app privacy policy</title>
<h1>Privacy policy for Twitter API app "twitter_joints"</h1>
<p>The following terms cover the handling of user data</p>
<li>The primary function of the twitter_joints Twitter API app, hereafter known as "this app", is to publish content
in an automated manner using varied source corpora including, but not limited to, content already hosted on Twitter,
View twitter-app-tos.html
<title>Terms of Service for Twitter App</title>
<p>This document covers the Terms of Service for the Twitter API app called "twitter_joints" which is owned and managed by
Bradley Momberger whose Twitter handle is @air_hadoken and who manages and maintains the list of Twitter bots at . All further uses of "Bradley Momberger" in this document refer
to this person and this person only.</p>
airhadoken / Cobalt (SL).tmTheme
Created Mar 7, 2018
Sublime Text Cobalt color theme with fixes for highlighting in the latest SublimeLinter
View Cobalt (SL).tmTheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>Created by Jacob Rus. Based on ‘Slate’ by Wilson Miner</string>
<string>Jacob Rus</string>
View genesis_public_key
airhadoken / twittercard.js
Last active Dec 13, 2020
Making twitter cards and also getting data back from them later, in NodeJS.
View twittercard.js
var T = require("twit");
var Q = require("q");
// key and secret for Twitter for iPhone.
// A whitelisted app is needed to access the cards API; you can't just create your own currently.
// These you will have to fill in yourself by authorizing Twitter for iPhone for your account.
// How to get the access tokens through OOB authorization is outside the scope of this snippet.

Making an Art Bot, a walkthrough

I had a great idea, to make a bot that could recreate abstract art in the style of several artists.

Of course this is too big a scope so I started with one that's comparatively easy to replicate in code: Mondrian.

Prelim 0: Drawing on a canvas: