This file contains hidden or 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
#!/usr/bin/env ruby | |
# = Delighter - pull your twitter links into delicious. | |
# | |
# Takes the first link and submits it to delicious. The description | |
# will be the text up to the beginning of the link, the tags whatever | |
# hashtags are on the tweet. Let me know if you improve on this, it was | |
# pretty q&d. | |
# | |
# author: Ben Vandgrift <br/> |
This file contains hidden or 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
if @foo.save && @bar.save | |
# if @foo fails, then @bar.save never gets called. BAD! | |
end | |
# instead: | |
if @foo.save & @bar.save | |
# both methods get called regardless | |
end |
This file contains hidden or 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
# http://neovore.com / somethingfamiliar(at)gmail.com | |
# dirt simple twitter retweeter with twibot | |
require 'twibot' | |
#-- in ./config/bot.yml: | |
#login: your_user_name | |
#password: your_password | |
#include_friends: true | |
#-- EOF |
NewerOlder