Grid table:
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
vagrant@vagrant-ubuntu-precise-64:/vagrant/composer$ php composer.phar install -vvv | |
Reading ./composer.json | |
Executing command (CWD): git describe --exact-match --tags | |
Executing command (CWD): git branch --no-color --no-abbrev -v | |
Reading ./composer.lock | |
Loading composer repositories with package information | |
Installing dependencies (including require-dev) from lock file | |
Reading ./composer.lock | |
- Installing justinrainbow/json-schema (1.3.5) | |
Reading /home/vagrant/.composer/cache/files/justinrainbow/json-schema/01949f6d2130e9737ffae5d3952909a8de70d114.zip from cache |
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 A | |
THING = 1 | |
module B | |
def self.thing | |
puts THING | |
end | |
end | |
end | |
module X |
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 'syslog' | |
module Aq | |
# Clone the ::Syslog module so we can extend it. | |
Syslog = ::Syslog.dup | |
# Syslog for fields. No need to {::Syslog#open} it, we already did. | |
module Syslog | |
DEFAULT_OPTIONS = LOG_PID | ($stderr.isatty ? LOG_PERROR : 0) | |
DEFAULT_FACILITY = LOG_DAEMON |
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
2.0.0p353 :015 > foo.nil? | |
NameError: undefined local variable or method `foo' for main:Object | |
from (irb):15 | |
from /usr/local/.rvm/rubies/ruby-2.0.0-p353/bin/irb:12:in `<main>' | |
2.0.0p353 :016 > @foo.nil? | |
=> true | |
2.0.0p353 :017 > @@foo.nil? | |
(irb):17: warning: class variable access from toplevel | |
NameError: uninitialized class variable @@foo in Object | |
from (irb):17 |
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 'benchmark' | |
require 'pp' | |
class App | |
def initialize | |
$realm_match = Regexp.new(ENV['CLOUDAPI_DISABLE_REALM_MATCH']) rescue false | |
@@realm_match = Regexp.new(ENV['CLOUDAPI_DISABLE_REALM_MATCH']) rescue false | |
@realm_match = Regexp.new(ENV['CLOUDAPI_DISABLE_REALM_MATCH']) rescue false | |
$_match = nil | |
@@_match = nil |
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
[Tue May 28 16:04:26 2013] [warn] [client 127.0.0.1] mod_fcgid: stderr: Uncaught PHP Exception Drupal\\Core\\Database\\DatabaseExceptionWrapper: "Exception in Frontpage[frontpage]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'portlandsprint.node_field_revision' doesn't exist: SELECT data.* | |
[Tue May 28 16:04:26 2013] [warn] [client 127.0.0.1] mod_fcgid: stderr: FROM | |
[Tue May 28 16:04:26 2013] [warn] [client 127.0.0.1] mod_fcgid: stderr: {node_field_revision} data | |
[Tue May 28 16:04:26 2013] [warn] [client 127.0.0.1] mod_fcgid: stderr: WHERE (nid IN (:db_condition_placeholder_0)) AND (vid IN (:db_condition_placeholder_1_und)) | |
[Tue May 28 16:04:26 2013] [warn] [client 127.0.0.1] mod_fcgid: stderr: ORDER BY data.nid ASC; Array | |
[Tue May 28 16:04:26 2013] [warn] [client 127.0.0.1] mod_fcgid: stderr: ( | |
[Tue May 28 16:04:26 2013] [warn] [client 127.0.0.1] mod_fcgid: stderr: [:db_condition_placeholder_0] => 1 | |
[Tue May 28 16:04:26 2013] [warn] [client 127.0.0.1] mod_fcgid: stderr |
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
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.util.Collection; | |
import java.util.HashSet; | |
public class WordOfTwo { | |
private Collection<String> dict = new HashSet<String>(); |
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
bundle exec bin/megalodon | |
Evaluating megalodon.gemspec | |
Evaluating megalodon.gemspec | |
Evaluating megalodon.gemspec | |
Evaluating megalodon.gemspec | |
Copying custom forumulas | |
Starting chef-solo run | |
Evaluating megalodon.gemspec | |
Evaluating megalodon.gemspec | |
INFO: *** Chef 10.24.0 *** |
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
define apci_webapp::gitrepo ( | |
$path = $title, | |
$remotes = {}, | |
$config = {}, | |
$reference = 'master', | |
$force = false | |
) { | |
exec { "${path} : git init": | |
command => "git init", | |
cwd => $path, |