Skip to content

Instantly share code, notes, and snippets.

Avatar

Joe Carroll thejoecarroll

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am thejoecarroll on github.
  • I am thejoecarroll (https://keybase.io/thejoecarroll) on keybase.
  • I have a public key ASASJo2cpTvzyc0w9ZUGVa9RGhbDdRqDqPXJEoa2aKTXZgo

To claim this, I am signing this object:

@thejoecarroll
thejoecarroll / catalina.out
Created May 6, 2014
Solr 4.6.1 on Tomcat 7.0.53 fails to start due to SolrRequestFilter / filterStart errors
View catalina.out
ay 05, 2014 3:32:38 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
May 05, 2014 3:32:39 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8983"]
May 05, 2014 3:32:39 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 946 ms
May 05, 2014 3:32:39 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina-Solr
May 05, 2014 3:32:39 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.53
View 1 - brew install git.output
brew ~$ brew install git
==> Downloading http://git-core.googlecode.com/files/git-1.8.3.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/git-1.8.3.4.tar.gz
tar xf /Library/Caches/Homebrew/git-1.8.3.4.tar.gz
/usr/bin/perl -e use ExtUtils::MakeMaker
==> make prefix=/usr/local/Cellar/git/1.8.3.4 CC=cc CFLAGS= LDFLAGS= install
make prefix=/usr/local/Cellar/git/1.8.3.4 CC=cc CFLAGS= LDFLAGS= install
GIT_VERSION = 1.8.3.4
* new build flags
./generate-cmdlist.sh > common-cmds.h+ && mv common-cmds.h+ common-cmds.h
@thejoecarroll
thejoecarroll / Modulefile
Last active Dec 20, 2015
RSpec-testing a simple Puppet module (MOTD).
View Modulefile
name 'puppetlabs-motd'
version '1.0.1'
source 'git@github.com:puppetlabs/puppetlabs-motd.git'
author 'puppetlabs'
license 'Apache License, Version 2.0'
summary 'A simple module to demonstrate managing /etc/motd as a template'
description 'This module simply manages /etc/motd as a template, showing interpolation of system attributes'
project_page 'https://github.com/puppetlabs/puppetlabs-motd'
View motd_spec.rb
require "spec_helper"
describe 'motd', :type => 'class' do
context "Correct Puppet version number should be stated" do
let :facts do
{
# :@puppetversion => '3.0.0'
}
end
it {
View -ERROR_OUTPUT.bash
$ rake spec
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S rspec --color
bash: -S: invalid option
Usage: bash [GNU long option] [option] ...
bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
@thejoecarroll
thejoecarroll / install_homebrew.bash
Created Apr 2, 2013
For the record, these are the permissions and ownership modifications made by a fresh install of homebrew on OS X.
View install_homebrew.bash
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
/usr/local/bin
/usr/local/Library
/usr/local/share
View i need your urgent assistance
Hi its me Brendan sorry for not letting you before embarking on this journey.
i read an online ad. on edinburgh news on the internet about a fascinating
Resort center at a place called TINAPA in West Africa, Nigeria, which is now
the largest tourist attraction center in the whole of Africa.So i decided to
see for myself,and believe me the
few days,i have spent here have really been worth the experience. There was a
native dance group,whose performance thrilled everyone
i was so carried away that i didn't notice i had left my bag where i sat,i
really just had to catch a glimpse of the dancers,and by the time i got back to
my sit,it was gone!