I hereby claim:
- I am 0x263b on github.
- I am posadist (https://keybase.io/posadist) on keybase.
- I have a public key ASBpW8FplS7lBqX9G44WmdUZeKeXwDcGF4u0PHcFkUTIMgo
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
Encoding.default_external = "UTF-8" | |
Encoding.default_internal = "UTF-8" | |
require "open-uri" | |
require "json" | |
require "net/https" | |
require "uri" |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# Ruby version of Twitter Goggles | |
# https://github.com/ardubs/goggles | |
require 'oauth' | |
require 'json' | |
# Create a twitter app with Read and Write, then fill the values below |
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# Uses the following Slack API methods: | |
# user.list → https://api.slack.com/methods/users.list | |
# channels.history → https://api.slack.com/methods/channels.history | |
require "open-uri" | |
require "json" | |
# Obtain a token |
First, set up your cert directory
$ mkdir /var/www/dehydrated
$ cd /var/www/dehydrated
Download dehydrated, and make it runnable.
void setup() { | |
size(500, 500); | |
frameRate(30); | |
} | |
float pos = TWO_PI; | |
void draw() { | |
colorMode(HSB, 360, 100, 100); | |
background(0,0,0); |
require 'oauth' | |
require 'json' | |
$TWITTER_CONSUMER_KEY = "" | |
$TWITTER_CONSUMER_SECRET = "" | |
$TWITTER_ACCESS_TOKEN = "" | |
$TWITTER_ACCESS_TOKEN_SECRET = "" | |
def prepare_access_token(oauth_token, oauth_token_secret) |