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
| /* | |
| * | |
| * Sortera Close Variants med Levenshtein Distance | |
| * | |
| * Levenshtein Distance i korthet = antal tecken du | |
| * måste ändra för att kunna skapa två lika strängar. | |
| * | |
| * För mer info: http://en.wikipedia.org/wiki/Levenshtein_distance | |
| * | |
| */ |
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 python | |
| import re | |
| class Simple(object): | |
| def __init__(self, searchterms): | |
| self.__m_searchterms = searchterms | |
| def isMatch(self, text): | |
| for term in self.__m_searchterms: |
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
| PRAGMA foreign_keys=OFF; | |
| BEGIN TRANSACTION; | |
| CREATE TABLE "keywords" (id INTEGER PRIMARY KEY,short_name VARCHAR NOT NULL,keyword VARCHAR NOT NULL,favicon_url VARCHAR NOT NULL,url VARCHAR NOT NULL,show_in_default_list INTEGER,safe_for_autoreplace INTEGER,originating_url VARCHAR,date_created INTEGER DEFAULT 0,usage_count INTEGER DEFAULT 0,input_encodings VARCHAR,suggest_url VARCHAR,prepopulate_id INTEGER DEFAULT 0,autogenerate_keyword INTEGER DEFAULT 0,logo_id INTEGER DEFAULT 0,created_by_policy INTEGER DEFAULT 0,instant_url VARCHAR); | |
| INSERT INTO "keywords" VALUES(2,'Google','g','http://www.google.com/favicon.ico','{google:baseURL}search?{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}sourceid=chrome&ie={inputEncoding}&q={searchTerms}',1,0,'',0,46,'UTF-8','{google:baseSuggestURL}search?client=chrome&hl={language}&q={searchTerms}',1,0,6247,0,'{google:baseURL}webhp?{google:RLZ}sourceid=chrome-instant&ie={inputEncoding}&ion=1{searchTerms}'); | |
| INSERT INTO "keywords" VALUES(5,'Quix','q','','j |
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
| <key>SafariOmnibar_SearchProviders</key> | |
| <array> | |
| <dict> | |
| <key>Name</key> | |
| <string>Google</string> | |
| <key>Keyword</key> | |
| <string>g</string> | |
| <key>Default</key> | |
| <true/> | |
| <key>SearchURLTemplate</key> |
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
| /*! | |
| * Font Awesome Icon Picker | |
| * https://farbelous.github.io/fontawesome-iconpicker/ | |
| * | |
| * Originally written by (c) 2016 Javi Aguilar | |
| * Licensed under the MIT License | |
| * https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE | |
| * | |
| */ | |
| (function(a) { |
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
| <?php | |
| /* Terminal sript for fast searching of the exploit-db.com/search page | |
| * | |
| * Requires: php5, curl, php-cli, w3m (use sudo apt-get install programName) | |
| * | |
| * For defaults just leave questions blank & press enter. | |
| * | |
| * Notes for improvement: | |
| * > No pagination support (only shows page one of results) | |
| * > Writes search result to a file- this is messy, must be better way |
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
| /*! | |
| * Font Awesome Icon Picker | |
| * https://farbelous.github.io/fontawesome-iconpicker/ | |
| * | |
| * Originally written by (c) 2016 Javi Aguilar | |
| * Licensed under the MIT License | |
| * https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE | |
| * | |
| */ | |
| (function(a) { |
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
| window.App = angular.module('desidancevids',[ | |
| 'templates', | |
| 'ui.router', | |
| 'ngResource', | |
| 'ui.bootstrap' | |
| ]) | |
| App.config ["$httpProvider", ($httpProvider) -> | |
| # Inject the CSRF token | |
| $httpProvider.defaults.headers.common['X-CSRF-Token'] = document.getElementsByName("csrf-token")[0].content |
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
| /******************* | |
| * multiplicity.js * | |
| ******************* | |
| * | |
| * Out of one cell and into another. They're not giving you | |
| * very much to work with here, either. Ah, well. | |
| * | |
| * Level filenames can be hints, by the way. Have I | |
| * mentioned that before? | |
| * |
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
| <?php | |
| class Pipeline | |
| { | |
| public static function make_pipeline(...$funcs) | |
| { | |
| return function($arg) use ($funcs) | |
| { | |
| foreach ($funcs as $func) | |
| { | |
| $arg = $func($arg); |
NewerOlder