Skip to content

Instantly share code, notes, and snippets.

View thejoecarroll's full-sized avatar

Joe Carroll thejoecarroll

View GitHub Profile
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!
@thejoecarroll
thejoecarroll / install_homebrew.bash
Created April 2, 2013 20:28
For the record, these are the permissions and ownership modifications made by a fresh install of homebrew on OS X.
$ 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
$ 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
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 {
@thejoecarroll
thejoecarroll / Modulefile
Last active December 20, 2015 15:28
RSpec-testing a simple Puppet module (MOTD).
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'
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 / catalina.out
Created May 6, 2014 10:20
Solr 4.6.1 on Tomcat 7.0.53 fails to start due to SolrRequestFilter / filterStart errors
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

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: