Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# Read /Applications/Setapp to get apps already installed | |
installed_setapp_apps = Dir.glob('/Applications/Setapp/*.app') | |
installed_setapp_apps.map! {|app| | |
File.basename(app,'.app') | |
} | |
# Grab the All Apps page from Setapp to get all available apps |
require "rubygems" | |
require "twitter" | |
# get these from apps.twitter.com | |
CONSUMER_KEY = "foo" | |
CONSUMER_SECRET = "bar" | |
OAUTH_TOKEN = "blee" | |
OAUTH_TOKEN_SECRET = "baz" | |
TWITTER_USER = "your_username" # needs to be the one associated with keys above |
#!/usr/bin/env ruby | |
require "rubygems" | |
require "twitter" | |
require "json" | |
require "faraday" | |
# things you must configure | |
TWITTER_USER = "your_username" | |
# get these from dev.twitter.com |
require "rubygems" | |
require "twitter" | |
# get these from apps.twitter.com | |
CONSUMER_KEY = "abcd" | |
CONSUMER_SECRET = "abcd" | |
OAUTH_TOKEN = "abcd" | |
OAUTH_TOKEN_SECRET = "abcd" | |
TWITTER_USER = "your_username" # needs to be the one associated with keys above |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'twitter' | |
require 'json' | |
require 'faraday' | |
TWITTER_USER = "your_username_here" | |
TIMEOUT = 1 # increment this if you're getting a lot of rate limit errors | |
# get these from dev.twitter.com |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'twitter' | |
require 'json' | |
require 'faraday' | |
TWITTER_USER = "blahblah" | |
# get these from dev.twitter.com | |
CONSUMER_KEY = "blahblah" |