뭔가 좀 자기소개가 길다. 6분지났는데 아직 본론도 안들어감
자기 경력 소개 컨퍼런스 다닌거 등등..
이 세션은 기술적인 이야기는 없을거다
- 왜 루비 코드를 읽어야 하는가?
module Yahoo | |
def say | |
"An" | |
end | |
end | |
class Base | |
include Yahoo | |
def say |
import sys | |
import tweepy | |
import time | |
import urllib2 | |
def send_to_twitter(msg): | |
CONSUMER_KEY = 'UvciBAguVW4UBYBkWeirKg' | |
CONSUMER_SECRET = 'eCPMIB4sMUDTfTExohS5PyzlIKMFGpWprMbgINqhU' | |
ACCESS_KEY = '196057523-d2RNDmy3YE5b5v0L59EKfYGIOS31Q9iEdLNdyE1u' | |
ACCESS_SECRET = 'Dvlg8M7HhS3DdJVjI13CBllFel1Ke9uhEv6VgbIoXg' |
if [[ $BUILD_STATUS == "success" ]] | |
then | |
export STATUS="success" | |
else | |
export STATUS="failure" | |
fi | |
curl "https://api.github.com/repos/justincampbell/my_repo/statuses/$GIT_COMMIT?access_token=abc123" \ | |
-H "Content-Type: application/json" \ | |
-X POST \ |
require 'childprocess' | |
guard 'shell' do | |
watch %r{^app/(.+)\.rb$} do |m| | |
`killall rake` | |
# Why this: | |
# - spawn a child process to avoid locking Guard | |
# - make sure that the child process has stdout and stdin otherwise it crashes | |
# - bonus point: get REPL access in the simulator! |