Public Gists by michaelklishin

Gravatar
Sat Nov 07 08:33:51 -0800 2009
1
2
3
#
# Supported browsers
#
Gravatar
Mon Oct 12 06:31:04 -0700 2009

      
Gravatar
Tue Sep 29 09:58:40 -0700 2009
1
2
3
module EnginesExtensions
  def show
    super
Gravatar
Sun Aug 02 17:58:04 -0700 2009
1
2
3
From 17211b8a4832cd6538b660fef6eb4a93ca2a8857 Mon Sep 17 00:00:00 2001
From: Michael S. Klishin <michael@novemberain.com>
Date: Mon, 3 Aug 2009 04:53:36 +0400
Gravatar
Fri Jul 31 14:29:57 -0700 2009
1
2
3
generate-method-classes:
 
_gmc_internal_:
Gravatar
Thu Jul 30 16:09:27 -0700 2009
1
2
RubyInstanceConfig config = new RubyInstanceConfig();
config.processArguments(new String[]{"--debug"});
Gravatar
Thu Jan 29 11:13:12 -0800 2009
1
2
3
commit d3f2cf058146bb66bae1e4327c8d4af141459d31
Author: Michael S. Klishin <michael@novemberain.com>
Date: Thu Jan 29 22:09:18 2009 +0300
Gravatar
Sun Jan 25 18:18:33 -0800 2009
1
2
3
      # :api: private
      def valid?(uri)
        # From the RFC (http://tools.ietf.org/html/rfc2965, see section 2)
Gravatar
Wed Jan 14 14:21:10 -0800 2009
1
2
3
# TITLE:
#
# String Comparison Extensions
Gravatar
Mon Jan 12 07:09:08 -0800 2009
1
2
3
#!/usr/bin/env ruby
 
puts `rabbitmqctl add_vhost /nanite`
Gravatar
Mon Jan 12 07:08:08 -0800 2009
1
2
3
Usage: rabbitmqctl [-q] [-n <node>] <command> [<arg> ...]
 
Available commands:
Gravatar
Tue Dec 30 23:18:19 -0800 2008
1
2
3
                                                 | ngx_http_parse_time | Time.rfc2822 | #1/#2 |
-------------------------------------------------------------------------------------------------
rfc2822 date time string parsing x100000 | 0.303 | 34.144 | 0.01x |
Gravatar
Sun Dec 28 12:07:46 -0800 2008
1
2
3
    for severity in Severity.constants
<<<<<<< HEAD:activesupport/lib/active_support/buffered_logger.rb
      class_eval <<-EOT, __FILE__, __LINE__ + 1
Gravatar
Sun Dec 28 02:54:41 -0800 2008
1
2
3
        def method_missing(method_id, *arguments, &block)
          if match = DynamicFinderMatch.match(method_id)
            attribute_names = match.attribute_names
Gravatar
Sun Dec 28 02:10:07 -0800 2008
1
2
3
      def deprecate(*method_names)
        options = method_names.extract_options!
        method_names = method_names + options.keys
Gravatar
Sat Dec 27 23:00:36 -0800 2008
1
2
3
real memory in activity monitor:
 
irb without .irbrc : ~3.28 megs
Gravatar
Sat Dec 27 22:48:22 -0800 2008
1
2
3
diff --git a/activesupport/lib/active_support/core_ext/string/multibyte.rb b/activesupport/lib/active_support/core_ext/string/multibyte.rb
index a4caa83..8f8f096 100644
--- a/activesupport/lib/active_support/core_ext/string/multibyte.rb
Gravatar
Sat Dec 27 22:38:27 -0800 2008
1
2
3
real memory in activity monitor:
 
irb without .irbrc : ~3.28 megs
Gravatar
Fri Dec 26 10:59:28 -0800 2008
1
2
3
module Merb::Generators
  
  class ControllerGenerator < NamespacedGenerator
Gravatar
Fri Dec 26 10:51:43 -0800 2008
1
2
3
#
# All this code is from a merb_sequel plugin, a good example of Templater generators extensibility
#