I hereby claim:
- I am marcroberts on github.
- I am marcroberts (https://keybase.io/marcroberts) on keybase.
- I have a public key whose fingerprint is 7E21 9E89 C787 9017 93DE 609F EF27 7115 F24C 8714
To claim this, I am signing this object:
#!/usr/local/bin/ruby | |
require 'rubygems' | |
require 'inotify' | |
i = Inotify.new | |
last_events = {} | |
{ created_at: 'Mon Jan 26 16:21:26 +0000 2015', | |
id: 559747954651971600, | |
id_str: '559747954651971584', | |
text: 'Мосгорсуд оставил под арестом до 16 апреля Александра Кольченко, фигуранта дела ...', | |
source: '<a href="http://ifttt.com" rel="nofollow">IFTTT</a>', | |
truncated: false, | |
in_reply_to_status_id: null, | |
in_reply_to_status_id_str: null, | |
in_reply_to_user_id: null, | |
in_reply_to_user_id_str: null, |
I hereby claim:
To claim this, I am signing this object:
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://gist.github.com/1595572). | |
# |
#!/bin/sh | |
echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
read inputline | |
name=$inputline | |
echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
read inputline | |
url=$inputline |
class Thing | |
private | |
def some_private_method number | |
print "Success (#{number})\n\n" | |
end | |
end | |
thing = Thing.new |
class Object | |
alias :old_initialize :initialize | |
def initialize(*args,&blk) | |
if respond_to? :initialise | |
initialise(*args,&blk) | |
else | |
old_initialize(*args,&blk) | |
end | |
end | |
end |
require 'rack/cache' | |
require 'rack/cache/storage' | |
require 'rack/cache/metastore' | |
require 'iron_cache' | |
class IronCache::MetaStore < Rack::Cache::MetaStore | |
def initialize | |
@cache = IronCache::Client.new.cache('metastore') |
diff --git a/includes/acp/acp_main.php b/includes/acp/acp_main.php | |
index b8712b2..cf456db 100644 | |
--- a/includes/acp/acp_main.php | |
+++ b/includes/acp/acp_main.php | |
@@ -337,7 +337,12 @@ class acp_main | |
} | |
global $cache; | |
+ | |
$cache->purge(); |
module ActionView | |
module Helpers | |
module TextHelper | |
def simple_format_with_hyphenation(text, html_options={}) | |
simple_format_without_hyphenation(text.gsub(/(\w{6})(\w)/,'\1­\2'), html_options) | |
end | |
alias_method_chain :simple_format, :hyphenation | |