Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: iAtYJ4HpUVfIUoNnif1DA
#!/usr/bin/env ruby | |
# -*- encoding: utf-8 -*- | |
# 参考 | |
# http://qiita.com/kazuph/items/2cf81a84985e894e9682 | |
# http://bekkou68.hatenablog.com/entry/2014/08/20/222032 | |
# | |
# api試すページ | |
# https://developers.google.com/apis-explorer/#s/analytics/v3/ |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: iAtYJ4HpUVfIUoNnif1DA
load 'deploy/assets' | |
namespace :deploy do | |
namespace :assets do | |
desc 'Run the precompile task locally and rsync with shared' | |
task :precompile, :roles => :web, :except => { :no_release => true } do | |
%x{bundle exec rake assets:precompile} | |
%x{rsync --recursive --times --rsh=ssh --compress --human-readable --progress public/assets #{user}@#{host}:#{shared_path}} | |
%x{bundle exec rake assets:clean} | |
end |
#!/bin/sh | |
set -u | |
set -e | |
# Example init script, this can be used with nginx, too, | |
# since nginx and unicorn accept the same signals | |
# Feel free to change any of the following variables for your app: | |
APP_ROOT=/home/deploy/public_html/rm/current | |
PID=$APP_ROOT/tmp/pids/unicorn.pid | |
ENV=production |
# -*- coding: utf-8 -*- | |
class String | |
GLITCH_CHARS = ("\u0300".."\u036f").to_a | |
def glitch | |
self.each_char.reduce("") do |r, c| | |
r + c + rand(2).times.map { GLITCH_CHARS.sample }.join('') | |
end | |
end |
転職してないけど祝いください
# coding: utf-8 | |
require "chatroid" | |
Chatroid.new do | |
set :service, "Twitter" | |
set :consumer_key, "..." | |
set :consumer_secret, "..." | |
set :access_key, "..." | |
set :access_secret, "..." |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
# coding: utf-8 | |
puts %w(ワロタ ? それな).sample while gets != "\n" |