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
| // ==UserScript== | |
| // @name Author Name | |
| // @namespace http://your.homepage/ | |
| // @version 0.1 | |
| // @description enter something useful | |
| // @author You | |
| // @match https://webcatalog-free.circle.ms/Circle/List* | |
| // @grant none | |
| // ==/UserScript== | |
| $(function() { |
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
| // Generated by CoffeeScript 1.4.0 | |
| var down, list, main, one; | |
| list = localStorage.downlist; | |
| if (!list) { | |
| list = []; | |
| } else { | |
| list = JSON.parse(list); | |
| } |
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
| // ==UserScript== | |
| // @name My Fancy New Userscript | |
| // @namespace http://your.homepage/ | |
| // @version 0.1 | |
| // @description enter something useful | |
| // @author You | |
| // @match https://www.amazon.co.jp/mn/dcw/myx.html* | |
| // @grant none | |
| // ==/UserScript== | |
| // Generated by CoffeeScript 1.4.0 |
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
| diff --git app/controllers/api/feed_controller.rb app/controllers/api/feed_controller.rb | |
| index f6e3b3e..092eb60 100644 | |
| --- app/controllers/api/feed_controller.rb | |
| +++ app/controllers/api/feed_controller.rb | |
| @@ -48,7 +48,7 @@ class Api::FeedController < ApplicationController | |
| rate: 0, | |
| public: @member.default_public, | |
| } | |
| - if params[:folder_id] | |
| + if params[:folder_id] and params[:folder_id].to_i != 0 |
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
| diff --git app/controllers/api/feed_controller.rb app/controllers/api/feed_controller.rb | |
| index f6e3b3e..092eb60 100644 | |
| --- app/controllers/api/feed_controller.rb | |
| +++ app/controllers/api/feed_controller.rb | |
| @@ -48,7 +48,7 @@ class Api::FeedController < ApplicationController | |
| rate: 0, | |
| public: @member.default_public, | |
| } | |
| - if params[:folder_id] | |
| + if params[:folder_id] and params[:folder_id].to_i != 0 |
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
| diff --git app/controllers/api/feed_controller.rb app/controllers/api/feed_controller.rb | |
| index f6e3b3e..092eb60 100644 | |
| --- app/controllers/api/feed_controller.rb | |
| +++ app/controllers/api/feed_controller.rb | |
| @@ -48,7 +48,7 @@ class Api::FeedController < ApplicationController | |
| rate: 0, | |
| public: @member.default_public, | |
| } | |
| - if params[:folder_id] | |
| + if params[:folder_id] and params[:folder_id].to_i != 0 |
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
| (function(){ | |
| var total = {}; | |
| var year = '2012'; | |
| var all = false; | |
| function init(num) { | |
| if(typeof num !== 'number') { | |
| num = 0; | |
| $('<div/>').css({ | |
| position: 'fixed', | |
| left: 0, |
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
| // ==UserScript== | |
| // @name Facebook Force Most Recent | |
| // @namespace http://use.i.E.your.homepage/ | |
| // @version 2.0 | |
| // @description enter something useful | |
| // @match https://www.facebook.com/* | |
| // @copyright 2012+, You | |
| // ==/UserScript== | |
| var f = function(){ | |
| setTimeout(function(){ |
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
| ## coffee -csb | |
| page = require('webpage').create() | |
| fs = require('fs') | |
| page.viewportSize = {width:1280,height:1024} | |
| page.settings.userAgent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36" | |
| console.log "DRIVERS START YOUR ENGINE!!" | |
| signin = -> | |
| console.log 'SIGN IN PAGE LOADED' |
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
| def head_and_track_redirect(uri, limit = 10) | |
| raise if limit == 0 | |
| h = Net::HTTP.new(uri.host, uri.port) | |
| if uri.scheme == 'https' | |
| h.use_ssl = true | |
| h.verify_mode = OpenSSL::SSL::VERIFY_NONE | |
| end | |
| h.start{|http| | |
| path = uri.path | |
| path += "?#{uri.query}" unless uri.query.blank? |