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 ruby | |
| require 'rubygems' | |
| require 'hpricot' | |
| require 'open-uri' | |
| require 'pp' | |
| class HTMLDoc | |
| attr_reader :html | |
| attr_reader :doc | |
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
| #!/bin/bash | |
| # http://gist.github.com/6731 | |
| # author: Duane Johnson | |
| # email: duane.johnson@gmail.com | |
| # date: 2008 Jun 12 | |
| # license: MIT | |
| # | |
| # Based on discussion at http://kerneltrap.org/mailarchive/git/2007/11/12/406496 | |
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 | |
| // By Yuffster | |
| function getDox($file) { | |
| $docs = file_get_contents("docs/$file.md"); | |
| $funcPatt = "/(.*?)?(Function|Method): (.*?) ?{(#.*?)}?\n/"; | |
| $argPatt = "/^[-*1-9]+.*?\(\*(.*?)\*(, optional)?/"; | |
| //This docs array will be for all the files and classes. |
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
| /*Remove main scrollbars*/ | |
| html,body{overflow:hidden !important;} | |
| /*Background image*/ | |
| body{ | |
| background: #E6ECF6; | |
| } | |
| /*header*/ | |
| .z2kAad{ |
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 ruby | |
| class File | |
| def self.svn? path | |
| File.exists?(path + '/.svn/') | |
| end | |
| def self.git? path | |
| File.exists?(path + '/.git/') | |
| end | |
| def self.hg? path | |
| File.exists?(path + '/.hg/') |
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
| Release | |
| type | |
| (ansi|ascii|pack|app|etc) | |
| *Sauce data as individual columns | |
| Artwork (alias to Release, filtered by type in artwork_types) | |
| Pack (alias to Release, filtered by type in pack_types) | |
| Artist | |
| 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
| (?x) | |
| (?<one> # start of bracket 1 | |
| \( # match an opening angle bracket | |
| (?: | |
| [^\(\)]++ # one or more non angle brackets, non backtracking | |
| | | |
| \g<one> # recurse to bracket 1 | |
| )* | |
| \) # match a closing angle bracket | |
| ) # end of bracket 1 |
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.addEvent('domready',function(){ | |
| //Your code goes here!!! | |
| }); |
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
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| export PATH="$HOME/bin:$HOME/lib/bin:$PATH" | |
| export LC_CTYPE=en_US.UTF-8 | |
| # Original "newgit" by CRAIG P JOLICOEUR | |
| # Found at | |
| # http://autopragmatic.com/2008/01/26/hosting-a-git-repository-on-dreamhost/ | |
| # http://craigjolicoeur.com/2008/04/hosting-git-repositories-on-dreamhost/ | |
| newgit() |
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 Pandora Awesomizer! | |
| // @description Hides the Ad Container and resizes to the minimum size for the player | |
| // @namespace http://fluidapp.com | |
| // @include http://pandora.com/* | |
| // @author Thomas Aylott / subtleGradient | |
| // ==/UserScript== | |
| (function () { | |
| window.addEventListener('load',function(){ |