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 'formula' | |
| class Libre < Formula | |
| homepage 'http://www.creytiv.com/re.html' | |
| url 'http://www.creytiv.com/pub/re-0.4.1.tar.gz' | |
| sha1 '44fc82384ac1158192cf4d19be18f7d010fcedda' | |
| def install | |
| system "make" |
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 follow organization | |
| // @description Show follow button on github organization page | |
| // @namespace http://www.technolize.net/ | |
| // @include https://github.com/* | |
| // @version 0.1 | |
| // @license MIT License | |
| // @work Google Chrome | |
| // ==/UserScript== |
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
| mysqldump --no-data --quote-names=FALSE --add-drop-table=FALSE |
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
| #!python | |
| # -*- coding: utf-8; mode: python -*- | |
| import os | |
| import sys | |
| f = sys.argv[1] | |
| name = f.decode('unicode-escape') | |
| os.rename(f, name) |
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
| <!DOCTYPE html> | |
| <!-- | |
| Copyright (c) 2011 Yoshimasa Niwa | |
| Permission is hereby granted, free of charge, to any person obtaining | |
| a copy of this software and associated documentation files (the | |
| "Software"), to deal in the Software without restriction, including | |
| without limitation the rights to use, copy, modify, merge, publish, | |
| distribute, sublicense, and/or sell copies of the Software, and to |
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
| Models.register({ | |
| name: 'Zootool', | |
| ICON: 'http://zootool.com/favicon.ico', | |
| LINK: 'http://zootool.com/', | |
| getCurrentUser : function(defaultUser) { | |
| if (defaultUser) { | |
| return succeed(defaultUser); | |
| } else if(this.currentUser) { | |
| return succeed(this.currentUser); |
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
| Models.register({ | |
| name: 'Pinboard', | |
| ICON: 'http://pinboard.in/favicon.ico', | |
| LINK: 'http://pinboard.in/', | |
| getCurrentUser : function(defaultUser) { | |
| if (defaultUser) { | |
| return succeed(defaultUser); | |
| } else if(this.currentUser) { | |
| return succeed(this.currentUser); |
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 | |
| function logging($file, $var, $type = '[DEBUG]') { | |
| if (empty($file)) return; | |
| if (!is_string($var)) $var = var_export($var, true); | |
| if (!empty($type)) $type .= ' '; | |
| $var = $type . date('Y-m-d H:i:s') . ' ' . $var . "\n"; | |
| file_put_contents($file, $var, FILE_APPEND | LOCK_EX); | |
| } |
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 'formula' | |
| class Pfff <Formula | |
| url 'https://github.com/facebook/pfff/tarball/RELEASE-0.13' | |
| homepage 'https://github.com/facebook/pfff' | |
| md5 '82e19f8d2f7639e5ec519587cfdf82a4' | |
| head 'git://github.com/facebook/pfff.git' | |
| depends_on 'objective-caml' | |
| depends_on 'pcre' | |
| depends_on 'gtk+' => :optional |
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
| import pkg_resources | |
| import xmlrpclib | |
| import pip | |
| import pip.download | |
| from pip.log import logger | |
| from pip.basecommand import Command | |
| from pip.util import get_installed_distributions | |
| from pip.commands.search import transform_hits, compare_versions, highest_version | |
| class OutdatedCommand(Command): |