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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |
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 Auto Load G+ | |
// @include https://plus.google.com* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @grant GM_addStyle | |
// @copyright 2013+, Carmelyne Thompson | |
// ==/UserScript== | |
/*- The @grant directive is needed to work around a major design | |
change introduced in GM 1.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
var TRACKER; | |
$(function() { | |
Eddy.UI.Vote = function() { | |
Eddy.UI.View.apply(this, arguments); | |
}; | |
_.extend(Eddy.UI.Vote.prototype, Eddy.UI.View.prototype, { | |
mode: "recent", | |
updated: 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
<codeColors> | |
<colorGroup> | |
<syntaxColor id="CodeColor_HTMLEntity" text="#AECD9D" bold="true" /> | |
<syntaxColor id="CodeColor_JavascriptNative" text="#FCFFE7" /> | |
<syntaxColor id="CodeColor_JavascriptNumber" text="#FBAA21" /> | |
<syntaxColor id="CodeColor_JavascriptClient" text="#FCF296" /> | |
<syntaxColor id="CodeColor_JavascriptSpryKeywords" text="#FF6208" /> | |
<syntaxColor id="CodeColor_JavascriptSpryClasses" text="#FF6208" /> | |
<syntaxColor id="CodeColor_TemplateText" text="#999999" /> | |
<syntaxColor id="CodeColor_TemplateCommentText" text="#82806F" /> |
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 | |
# | |
# Simple script to update OSX Chromium to the latest nightly build. | |
# Will not download if you already have the latest (call with --force | |
# to override this check) | |
# | |
# Copyleft 2010 Ian Gallagher <[email protected]> | |
# | |
LATEST=$(curl -s "http://build.chromium.org/f/chromium/snapshots/Mac/LATEST") |
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
set nocompatible | |
runtime! autoload/pathogen.vim | |
if exists('g:loaded_pathogen') | |
call pathogen#runtime_append_all_bundles() | |
call pathogen#helptags() | |
endif | |
filetype off | |
syntax on |
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
-- MiniFriends by Hedyn Brand... Modified by XenaSkull | |
-- MiniFriends by Hedyn Brand... Modified by Dida for 3.3.5 API Changes (8-25-2010) MiniFriends.lua | |
BINDING_HEADER_MINIFRIENDS = "MiniFriends" | |
MINIFRIENDS_VERSION = "1.01" | |
MiniFriendsCount = 0 | |
MFFlags = {} | |
MFF_Locked = 1 --Make window unmovable |
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
/* note: space it; dont tab it pls */ | |
body { | |
text-align:center; | |
margin-top: 10px; | |
background: #333333; | |
font: 76% Verdana, Arial, Helvetica, sans-serif; | |
min-width: 1000px; | |
} |
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
Loading development environment (Rails 2.3.2) | |
>> @now = Time.zone.now | |
=> Thu, 07 May 2009 09:24:13 PDT -07:00 | |
>> @now.strftime("%m/%d/%Y") | |
=> "05/07/2009" | |
>> @now.strftime("%Y/%m/%d") | |
=> "2009/05/07" | |
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
<!-- place in <head> --> | |
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAZFJWpftMwgnCCqt4vPRS7BR1HFqmY0hOxpFWSoKSv_ILnU21AhRd8Ow1u23lsYZWN5Fo-iaQ72-icQ" type="text/javascript"></script> | |
<!-- place in <head> or inside <body> --> | |
<script language="Javascript" type="text/javascript"> | |
//<![CDATA[ | |
function OnLoad() { | |
// create a search control |