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
| _.mixin({ | |
| // This will parse a delimited string into an array of | |
| // arrays. The default delimiter is the comma, but this | |
| // can be overriden in the second argument. | |
| CSVtoJSON: function( strData, strDelimiter ){ | |
| // Check to see if the delimiter is defined. If not, | |
| // then default to comma. | |
| strDelimiter = (strDelimiter || ","); | |
| // FIX: add an ending carriage return if missing |
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 Straight Google | |
| // @id straight_google_pokerface | |
| // @version 1.17.13 | |
| // @author Pokerface - Kevin | |
| // @namespace in.co.tossing.toolkit.google | |
| // @description Remove URL redirection from google products | |
| // @license GPL v3 or later version | |
| // @downloadURL https://userscripts.org/scripts/source/121261.user.js | |
| // @updateURL https://userscripts.org/scripts/source/121261.meta.js |
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 'digest/md5' | |
| hash = {} | |
| Dir.glob("**/*", File::FNM_DOTMATCH).each do |filename| | |
| next if File.directory?(filename) | |
| # puts 'Checking ' + filename | |
| key = Digest::MD5.hexdigest(IO.read(filename)).to_sym | |
| if hash.has_key? key |
NewerOlder