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 'nokogiri' | |
| require 'open-uri' | |
| namespace :bookmarks do | |
| desc '-- Import bookmarks in Netscape Bookmark format' | |
| task :import => :environment do | |
| doc = Nokogiri::HTML(open(File.join(Rails.root, "lib/dump/bookmarks_5_8_12.html"))) | |
| # Ensure we're dealing with the correct format |
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
| curl -F 'client_id=CLIENT-ID' \ | |
| -F 'client_secret=CLIENT-SECRET' \ | |
| -F 'object=user' \ | |
| -F 'aspect=media' \ | |
| -F 'verify_token=userSubscription' \ | |
| -F 'callback_url=http://YOUR-CALLBACK/URL' \ | |
| https://api.instagram.com/v1/subscriptions/ |
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
| @media all and (max-device-width: 768px) and (orientation:portrait) { | |
| #site { width: 525px; } | |
| nav { float: none; width: 100%; } | |
| } | |
| @media all and (max-device-width: 480px) { | |
| #site { width: 315px; } | |
| .container aside { margin-left: 0; width: 295px; } | |
| nav { float: none; width: 100%; } | |
| } |
NewerOlder