Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
#coding: utf-8 | |
require 'twitter' | |
Twitter.configure do |config| | |
config.consumer_key = YOUR_CONSUMER_KEY | |
config.consumer_secret = YOUR_CONSUMER_SECRET | |
config.oauth_token = YOUR_OAUTH_TOKEN | |
config.oauth_token_secret = YOUR_OAUTH_TOKEN_SECRET | |
end |
#!/usr/bin/env ruby | |
require 'rexml/document' | |
Me = 'DNPP' | |
TIG_xml_path = '/Users/dnpp/Dropbox/TIGConfig/DNPP/Groups.xml' | |
tig_xml = String.new | |
open(TIG_xml_path,'r'){|fl| tig_xml = REXML::Document.new(fl) } |
#!/bin/bash | |
nameArr=(DNPP dnpp dnpp73 DNPP73 @DNPP @dnpp @dnpp73 @DNPP73 ゆうすけ ゆうすけさん) | |
for name in ${nameArr[@]} | |
do | |
# md5 | |
#echo -en "md5 : $name : " | |
echo -en "$(echo -en $name|md5)" | |
#echo -en "\n" | |
echo -en "|" |
#!/bin/bash | |
# 変数類の定義 | |
python27="/Path/to/python2.7" | |
boxnya="/Path/to/Boxnya/src/boxnya.py" | |
option="--noegosearch -q" | |
users=("DNPP" "dnpp73" "hoge" "fuga" "piyo") | |
stdOut="/Path/to/Boxnya/log/" | |
# boxnya の実行 |
@interface NSArray (flatten) | |
- (NSArray *)flatten; | |
@end |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
#!/bin/bash | |
curl -s "http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=$1&page=1&count=20" | xmllint --format - | grep "<text>" | sed -e 's/<[^>]*>//g' | tr -d ' ' |
2013-06-17 03:39:58.199 isEqualTest[42330:c07] arr1 -> 0x75899c0 | |
2013-06-17 03:39:58.200 isEqualTest[42330:c07] arr2 -> 0x7589a40 | |
2013-06-17 03:39:58.200 isEqualTest[42330:c07] == -> 0 | |
2013-06-17 03:39:58.201 isEqualTest[42330:c07] isEqual -> 1 | |
2013-06-17 03:39:58.201 isEqualTest[42330:c07] isEqualToArray -> 1 |
#!/bin/bash | |
SJIS_HTMLS=`find . -type f -name "*.htm*"` | |
for SJIS_HTML in $SJIS_HTMLS; do | |
echo $SJIS_HTML | |
mv $SJIS_HTML "${SJIS_HTML}_bak" | |
nkf -w8 "${SJIS_HTML}_bak" >> $SJIS_HTML | |
done |