Public Gists by vjt

Gravatar
Sun Aug 30 07:51:03 -0700 2009
1
2
3
// ==UserScript==
// @name Facebook Purity - Removes annoying quiz and application messages from your facebook homepage
// @namespace http://steeev.freehostia.com
Gravatar
Wed Aug 26 08:51:49 -0700 2009
1
2
3
/**
 * Quick & dirty verify-cn software for OpenVPN tls-verify directive
 * that checks CNs agains a flat text file. CNs are separated by new
Gravatar
Tue Aug 11 10:56:43 -0700 2009
1
2
3
# Authlogic MD5 - Crypt crypto provider
# (C) 2009 vjt@openssl.it - MIT License
# Requires ruby facets (http://facets.rubyforge.org)
Gravatar
Wed Jul 29 09:17:50 -0700 2009
1
2
3
// ==UserScript==
// @name Remove All Facebook Ads
// @author http://joshdick.net/programs
Gravatar
Tue Jun 23 04:53:07 -0700 2009
1
2
3
# ActiveRecord helper to manage an integer `status` column using Ruby :symbols.
# (C) 2009 Marcello Barnaba <vjt@openssl.it> - Released under the terms of the MIT License
# http://sindro.me/
Gravatar
Mon Jun 22 04:20:54 -0700 2009
1
2
3
#!/bin/bash
# Database Dump utility for MySQL. Put in cron like this:
#
Gravatar
Wed Jun 17 04:26:07 -0700 2009
1
2
3
// Just what the name says: hide the default value of a text input onFocus, and restores it if empty onBlur.
// Simple and effective, jQuery is awesome! Sample markup:
//
Gravatar
Wed Jun 17 04:23:00 -0700 2009
1
2
3
// Simple tabs implementation that requires the same markup as jQuery UI Tabs, but doesn't modify your
// markup or impose an horizontal layout of tabs. You're on your own setting up CSS, of course. Sample
// markup:
Gravatar
Wed May 13 07:13:04 -0700 2009
1
2
3
// ==UserScript==
// @name Twitter Search Results on Google
// @namespace markcarey
Gravatar
Mon Apr 27 06:59:42 -0700 2009
1
2
3
<?php
/* Instructions: Upload to your wp-admin directory after installing WordPress and run.
*
Gravatar
Sat Feb 28 15:39:55 -0800 2009
1
2
3
#!/usr/bin/env ruby
 
# SRT Subtitle fixer v0.5
Gravatar
Thu Feb 19 19:10:27 -0800 2009
1
2
3
 77 <script type="text/javascript">// <![CDATA[
 78 var theLoadSequenceToRunAfterTheDocumentHasBeenLoaded = function() {
 79
gist: 61474 Opensource.org mirror script
Gravatar
Tue Feb 10 09:13:21 -0800 2009

      
gist: 54441 ajax-file-upload-fu
Gravatar
Wed Jan 28 23:38:07 -0800 2009
1
2
3
// ~ JavaScript Kung-FU, with an excess chunky bacon dose! ~
// This plugin allows seamless ajax file uploads without having
// a fixed file input button. It achieves this by installing an
gist: 53917 lighthouse-github integration
Gravatar
Wed Jan 28 04:01:41 -0800 2009
1
2
3
# Assuming you're on Ubuntu or OSX
#
GIT=$(dirname `which git`)
gist: 53916 Rbot plugin for http://tryr...
Gravatar
Wed Jan 28 03:57:22 -0800 2009
1
2
3
# Originally posted on http://pastie.org/140321 (18 January 2008)
#
## Rbot plugin that interfaces with why's http://tryruby.hobix.com/.
Gravatar
Wed Jan 28 03:55:55 -0800 2009
1
2
3
# Originally posted on http://pastie.org/131174 (21 December 2007)
# Alphanum implementation -- http://www.davekoelle.com/alphanum.html
# (C) 2007 Marcello Barnaba <vjt@openssl.it>
Gravatar
Wed Jan 28 03:51:51 -0800 2009
1
2
3
#
# Implements the ArrayWithFinders class, that adds
# finders with names similar to ActiveRecord's ones:
Gravatar
Wed Jan 28 03:36:39 -0800 2009
1
2
3
#
# Action View hook for .rpdf views, to have them filtered via htmldoc and
# rendered as a PDF file.
Gravatar
Wed Jan 28 03:02:48 -0800 2009
1
2
3
class Base
  class_inheritable_attribute(:root) { |root| Pathname.new(root).realpath }
end