This file contains 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
# Jubille started with: | |
# jubilee -p 8080 -e production | |
# | |
# Note that the Jubilee console outputs quite a few errors like below during | |
# the test: | |
# | |
# Jan 03, 2014 2:15:31 PM org.vertx.java.core.logging.impl.JULLogDelegate error | |
# SEVERE: Unhandled exception | |
# java.nio.channels.ClosedChannelException |
This file contains 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
#!/usr/bin/env ruby | |
require 'net/smtp' | |
module MailMachine | |
class NetSmtp < Net::SMTP | |
class << self | |
EXCEPTIONS = [Net::SMTPAuthenticationError, | |
Net::SMTPServerBusy, | |
Net::SMTPSyntaxError, | |
Net::SMTPFatalError, |
This file contains 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
Rails CMS Options | |
====================== | |
Note: project activity was checked on 11/26/09 for most of these projects, and the "last update" field has not been kept up to date since then. | |
Active projects: | |
--------------- | |
LocomotiveCMS | |
repo: https://github.com/locomotivecms/engine | |
site: http://www.locomotivecms.com | |
Last update: Jul 21, 2013 |
This file contains 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
<?php | |
/* | |
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP) | |
Author: _ck_ (with contributions by GK, stasilok) | |
Version: 0.1.6 | |
Free for any kind of use or modification, I am not responsible for anything, please share your improvements | |
* revision history | |
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter | |
0.1.5 2013-04-12 added graphs to visualize cache state, please report any browser/style bugs |
This file contains 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
#!/usr/bin/env ruby | |
# Input: Selected Text or Nothing | |
# Output: Replace Selected Text | |
require 'tempfile' | |
def unindent(text) | |
lines = text.split(/\n/) | |
level = lines.map{|l| l[/^\s*/].size}.min |
NewerOlder