Public Gists by niko

gist: 225436 unicorn stats
Gravatar
Tue Nov 03 13:06:32 -0800 2009
1
2
3
 # Taken from passenger_memory_stats script
 
  # Returns the private dirty RSS for the given process, in KB.
Gravatar
Wed May 27 08:16:23 -0700 2009
1
2
3
require 'rubygems'
require 'test/unit'
require 'active_record'
Gravatar
Thu Apr 23 11:02:57 -0700 2009
1
2
3
function greparate() {
  PATTERN=$1;
  FILENAME=$2;
Gravatar
Tue Dec 02 03:18:29 -0800 2008
1
2
3
Droppables.isAffected = function(point, element, drop) {
  return (
    (drop.element!=element) &&
Gravatar
Wed Oct 15 08:27:47 -0700 2008
1
2
3
Include above file in the <head> of your HTML-page:
 
<script src="re_tumblr.js" type="text/javascript"></script>
Gravatar
Thu Aug 14 05:04:39 -0700 2008
1
2
3
Control.TextArea.ToolBar.prototype.addModalButton = function(link_text, result_parser, a_attrs, modal_content, selection_input_index){
  
  // make an array with modal_content, if it's a string:
Gravatar
Tue Aug 05 06:08:40 -0700 2008
1
2
3
- cache 'albums' do
  - unless @albums.empty?
    = # show the albums
Gravatar
Mon Jul 21 14:15:07 -0700 2008
1
This is yet another GIST test. It must be the number 768 or something!? No, actually it's 252! :D