This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# AppDelegate.rb | |
# DialogSheet | |
# | |
# Created by あわあわ on 12/12/15. | |
# Copyright 2012年 あわあわ. All rights reserved. | |
# | |
class AppDelegate | |
attr_accessor :window |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval$s=%w'b="BAhsKwL8Af///////P////////3 //z////////l/////z//7//9//v/////w//7//5//BwAAAPz///8/4P 8BAAAA/w8AAAD4////D8D/+///D/ 4 | |
fAAAA8P///wOQ//f//wP8v/9//+f//f8APP////8 B/P////7//wM AAP////8/AP/////9//8HAMD//// /H4D/////+// /DwDw/////wfg//////f//9//D// / | |
//8B+P//9//v//z////h//9/AP7//+//3//5// //P8z/H4D/f/ 4fAAAA8P////+D/wfg///8PwAAAO D/////P/8PAA A | |
A+H8AAADA/////3/+//////P//v//n///// ///P//////// ///////wP/// / | |
/H/j///8//v////8A+P///wfA////H/D ///9/AMD///8 DAP7//w/A4f//f3we////4/P4 //+fH4P////8 / | |
Pz//+fn5///P39+/////fn7///vz9 / //3/+fv7///v z8///35+f////eX78///35 /P//78/n//// wEA/P//3w/g////f gD///8DAPz/ / | |
/8e8P////eA ////5///////P/ z/// //4f///////////8f////////3//f//7/ ///8D/v//////5/8PAAAA////ATj8/ ////8D/HwAAAP7 | |
///Nj8P///x +A/z8AAAD8///nz+////8DYP///+d//v//z9/P //9/APj////z//v//z/Pj////wP/////9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'rubygems' | |
require 'net/https' | |
require 'openssl' | |
require 'oauth' | |
require 'cgi' | |
require 'json' | |
# コンシュマーキーとアクセストークン |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "\033[1;36m===>\033[0;39m \033[1mInstalling homebrew\033[0;39m" | |
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" | |
echo "\033[1;36m===>\033[0;39m \033[1mInstalling tmux\033[0;39m" | |
brew install tmux | |
echo "\033[1;36m===>\033[0;39m \033[1mInstalling zsh\033[0;39m" | |
brew install zsh | |
echo "\033[1;36m===>\033[0;39m \033[1mEditing /etc/shells\033[0;39m" | |
sudo sh -c "echo '/usr/local/bin/zsh' >> /etc/shells" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "\033[1;36m===>\033[0;39m \033[1mInstalling openssl\033[0;39m" | |
brew install openssl | |
echo "\033[1;36m===>\033[0;39m \033[1mInstalling readline\033[0;39m" | |
brew install readline | |
echo "\033[1;36m===>\033[0;39m \033[1mInstalling rbenv\033[0;39m" | |
brew install rbenv | |
echo "\033[1;36m===>\033[0;39m \033[1mInstalling ruby-build\033[0;39m" | |
brew install ruby-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require './twitter-config.rb' | |
t = [] | |
rand(20).downto(0) { |i| | |
text = "コシィ" * i + "..." | |
puts text | |
t[i] = Thread.new { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'twitter' | |
Twitter.configure do |config| | |
config.consumer_key = '' | |
config.consumer_secret = '' | |
config.oauth_token = '' | |
config.oauth_token_secret = '' | |
end | |
puts "#### post only twitter client t.rb ####" | |
def t() $o||="";loop{((x=gets.chomp.strip).empty?.!&&(x=~/^foot:/).nil?) ? h=Thread.new{catch(:s){loop{(Twitter.update((x.length-(c||=0)*(140-((f=$o.empty?.!) ? l=1+$o.length : 0)))>0 ? lambda{c+=1;return x[(c-1)*140,140-(f ? l : 0)]+(f ? " "+$o : "")}.call : lambda{puts "=> tweet with separating" if c>1;throw :s}.call));redo}} rescue puts "=> error: #{$!}"} : (($o=x.gsub(/foot:/,"");puts "=> footer: #{$o}") if x=~/^foot:/)};end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'mechanize' | |
USERNAME = '*' | |
PASSWORD = '*' | |
cookie_path = './tmp/adn_client.cookie.yaml' | |
target = '*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# AppDelegate.rb | |
# TwitterGemTest | |
# | |
# Created by あわあわ on 13/04/03. | |
# Copyright 2013年 あわあわ. All rights reserved. | |
# | |
require "rubygems" | |
require "twitter" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require "./twitter-config.rb" | |
ID = 320165046791577600 | |
rt = [] | |
$pn1y.retweets(ID).each{ |res| | |
rt.push(res.user.screen_name) |
OlderNewer