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 text.reply <= 1 hour | |
girl.interested = true | |
elsif text.reply.include? '?' | |
girl.interested = true | |
elsif | |
girl.interested = false | |
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
=begin | |
The Kindle clippings are each accompanied with a lot of useful information. However, when you're scanning over them it can get annoying to keep seeing them formatted as such: | |
the mystical process of extracting value (money) from idle IP assets | |
========== | |
Essentials of Licensing Intellectual Property (Alexander I. Poltorak, Paul J. Lerner) | |
- Highlight on Page 16 | Added on Friday, 25 November 11 10:42:19 Greenwich Mean Time | |
The script below is a tiny bit of ruby that will strip out all the dross and leave behind: |
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
require 'rubygems' | |
require 'mechanize' | |
require 'uri' | |
url = "http://instagr.am/p/WOkyj" | |
@mech = Mechanize.new | |
@page = @mech.get(url) |
NewerOlder