Skip to content

Instantly share code, notes, and snippets.

From 6ba25f0fe838a06cc5ff29b93b8a2759ca82bdd7 Mon Sep 17 00:00:00 2001
From: stilist <[email protected]>
Date: Thu, 8 Jan 2009 23:19:31 -0500
Subject: [PATCH] test
---
goof.css | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
create mode 100644 goof.css
#!/usr/bin/env ruby -w
# This script checks if a given GeoCities page has been saved by the Archive
# Team. Its goal is to reduce duplication of effort by only grabbing new pages.
#
# Input: plaintext list of URLs to check
# Output: plaintext list of URLs not in the cache
#
# MIT license, stilist, 02009
#!/usr/bin/env ruby -w
=begin
I had paths like:
entries/02009/December/01/x.rc
I wanted paths like:
entries/02009/December/01/text/x.rc
Code provided under the MIT license. Get a copy at
<!doctype html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<title>Overlay toy</title>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
<script>
$(document).ready(function () {
$("div.open span").click(function () {
$overlay = $("<div>").attr("id", "overlay").
<!doctype html>
<html lang='en'>
<head>
<title>JavaScript Solari Board</title>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script>
<script>
$(document).ready(function () {
$("body").append($("<div id='rack'>"));
var from_string = "Hello";
#!/usr/bin/env ruby -wKU
# encoding: UTF-8
# provided under the MIT license; see
# http://github.com/stilist/ratafiacurrant/blob/master/License
require "rubygems"
require "sinatra"
helpers do
// ==UserScript==
// @name Twitter hashtag eliminator
// @description Hides all hashtags on Twitter
// @include http://www.twitter.com/*
// @include http://twitter.com/*
// @include https://www.twitter.com/*
// @include https://twitter.com/*
// @creator Jordan Cole (http://ratafia.info)
// ==/UserScript==
// How to determine if you need a vendor prefix to access a CSS property.
//
// License: http://github.com/stilist/ratafiacurrant/blob/master/License
var vendorPrefixes = ["", "-webkit-", "-moz-"];
var test = document.createElement("div");
// http://unscriptable.com/index.php/2009/05/01/a-better-javascript-memoizer/
var cssPrefix = (function () {
var cache = {};
return function (property, value) {
// Sometimes you want to know the exact pixel dimension of a CSS property, but it’s
// in non-pixel units. This hack might help you out.
//
// Note: assumes a jQuery object `$`.
//
// License: http://github.com/stilist/ratafiacurrant/blob/master/License
var cssDimensionInPx = (function () {
return function ($element, property) {
var dimension = $element.css(property);
<!doctype html>
<html>
<head>
<script>
Array.prototype.each = function (method) {
if (this) {
if (Array === this.constructor) {
for (i = 0; i < this.length; i++) {
method(this[i]);
}