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 | |
PASTEL='{ | |
"Ansi 0 Color" = { | |
"Blue Component" = 0.3097887; | |
"Green Component" = 0.3097887; | |
"Red Component" = 0.3097887; | |
}; | |
"Ansi 1 Color" = { | |
"Blue Component" = 0.3764706; |
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
a.front {position:absolute;top:-1000px} | |
div.plurk_cnt div.manager span {position:absolute;top:-1000px} | |
img.emoticon[alt="(fuu)"], | |
img.emoticon[alt="(troll)"], | |
img.emoticon[alt="(yay)"], | |
img.emoticon[alt="(gfuu)"], | |
img.emoticon[alt="(bah)"], | |
img.emoticon[alt="(gtroll)"], | |
img.emoticon[alt="(gyea)"], |
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
require 'logger' | |
class SuperLogger | |
include Logger::Severity | |
attr_accessor :level | |
def initialize(level = INFO) | |
@level = level || INFO | |
end |
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
diff -crB a/source/ext/zlib/zlib.c b/source/ext/zlib/zlib.c | |
*** a/source/ext/zlib/zlib.c 2010-06-03 09:01:09.000000000 +0000 | |
--- b/source/ext/zlib/zlib.c 2011-02-07 21:21:05.000000000 +0000 | |
*************** | |
*** 610,615 **** | |
--- 610,616 ---- | |
} | |
#define zstream_append_input2(z,v)\ | |
+ RB_GC_GUARD(v),\ |
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
Marshal.dump Date.today | |
# "\004\bu:\tDate=\004\b[\bo:\rRational\a:\021@denominatori\a:\017@numeratori\003g?Jii\003\031\025#" | |
Marshal.dump Time.now | |
# "\004\bIu:\tTime\re?200\247?U?:\037@marshal_with_utc_coercionF" | |
Marshal.dump DateTime.now | |
# "\004\bu:\rDateTimeT\004\b[\bo:\rRational\a:\021@denominatorl+\b\000 \235\264\006\000:\017@numeratorl+\t\227A\272@?o;\a;\006i\035;\ai?i\025#" |
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
diff --git a/src/ngx_http_lua_hook.c b/src/ngx_http_lua_hook.c | |
index b36d751..2d8a017 100644 | |
--- a/src/ngx_http_lua_hook.c | |
+++ b/src/ngx_http_lua_hook.c | |
@@ -1671,6 +1671,37 @@ ngx_http_lua_ngx_time(lua_State *L) | |
int | |
+ngx_http_lua_ngx_response_time(lua_State *L) | |
+{ |
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
module OpsApi | |
# Helper methods for `ActiveRecord::ConnectionAdapters::MysqlAdapter` to enable SQL queries | |
# tracing functionality. There are two goals: | |
# | |
# * Add source line into the query itself so it would be possible to understand where | |
# the query was issues from: | |
# | |
# SELECT * FROM `admins` WHERE | |
# ((`admins`.`user_id` = 1)) LIMIT 1 | |
# /*OOPS:app/models/user.rb:72:in `admin?'*/ |
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
diff --git a/vendor/rails/railties/lib/initializer.rb b/vendor/rails/railties/lib/initializer.rb | |
index 16abe62..cb7a811 100644 | |
--- a/vendor/rails/railties/lib/initializer.rb | |
+++ b/vendor/rails/railties/lib/initializer.rb | |
@@ -10,11 +10,13 @@ require 'rails/plugin/loader' | |
require 'rails/gem_dependency' | |
require 'rails/rack' | |
+require 'rails_startup_timer' | |
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
# Contains the FiresEvent module and extensions to ActiveRecord::Base for | |
# adding event-related after_save hooks to models. | |
# Adds methods to ActiveRecord::Base for working with events. | |
class ActiveRecord::Base | |
class_attribute :skip_events, :instance_writer => false | |
class << self |
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
Index: src/core/org/apache/hadoop/io/nativeio/NativeIO.java | |
--- src/core/org/apache/hadoop/io/nativeio/NativeIO.java 2011-11-14 23:51:25.000000000 -0500 | |
+++ src/core/org/apache/hadoop/io/nativeio/NativeIO.java 2011-10-14 04:39:58.000000000 -0400 | |
@@ -37,15 +37,15 @@ | |
public static final int O_RDONLY = 00; | |
public static final int O_WRONLY = 01; | |
public static final int O_RDWR = 02; | |
- public static final int O_CREAT = 0100; | |
- public static final int O_EXCL = 0200; | |
- public static final int O_NOCTTY = 0400; |