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
bin: $(PROGRAM) $(WPROGRAM) | |
lib: $(LIBRUBY) | |
dll: $(LIBRUBY_SO) | |
.SUFFIXES: .inc .h .c .y .i | |
RUBYLIB = - | |
RUBYOPT = - | |
SPEC_GIT_BASE = git://github.com/rubyspec |
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
Context: | |
nodes.pp | |
node basenode { | |
# include redis | |
# include resque | |
# include mysql | |
# include apache2 | |
# include solr |
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
bwilburn@puppetmaster:~$ ls /etc/puppet/modules/monit/manifests/ | |
cleaner.pp init.pp monit |
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
bwilburn@puppet-target:~$ sudo puppet agent --test --onetime | |
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type class at /etc/puppet/manifests/nodes.pp:7 on node puppet-target.sauce.net |
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
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/[\1]/' | |
} | |
function proml { | |
local BLUE="\[\033[0;34m\]" | |
local RED="\[\033[0;31m\]" | |
local LIGHT_RED="\[\033[1;31m\]" | |
local GREEN="\[\033[0;32m\]" | |
local LIGHT_GREEN="\[\033[1;32m\]" |
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
<%#[terry] don't render this partial directly - instead use VulnerabilitiesHelper#bulk_actions %> | |
<% container = 'vuln-update-selected-dialog' + suffix %> | |
<% bulk_actions ||= [] %> | |
<a href="javascript: void(0)" class='bulk-action-activate-btn action-btn' style="display:none; float: left; margin-left: 5em;" id="bulk-action-activate<%= suffix %>"><span class="icon_view_all">Update Selected<span class="bulk-update-vuln-count"></span></span></a> | |
<% backup, @vulnerability = @vulnerability, nil %> | |
<div id="hidden-<%= container %>" class="<%= container %> hidden-vuln-update-selected-dialog" style="display: none;"> | |
<%= form_tag(params.merge(:action => :bulk_update), :id => "vuln-bulk-update-form#{suffix}") do %> | |
<% bulk_actions.each do |action| %> |
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
CURDIR=$PWD | |
MNTDIR=${PWD%/*} | |
RVM_SOURCE=$CURDIR/source/wayneeseguin-rvm-45a40ea | |
RVM_HOME=$HOME/.rvm | |
cd $RVM_SOURCE | |
echo "Preparing to execute $RVM_SOURCE/scripts/install" | |
su deployer -c "$RVM_SOURCE/scripts/install --path $RVM_HOME" |
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
Status Code Status Message Symbol | |
1xx Informational | |
100 Continue :continue | |
101 Switching Protocols :switching_protocols | |
102 Processing :processing | |
2xx Success | |
200 OK :ok | |
201 Created :created | |
202 Accepted :accepted |
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
//Simply run your headless jasmine specs in parallel to your daily coffeescript work | |
//Usage: node watch.js | |
var sys = require('sys'); | |
var exec = require('child_process').exec; | |
var watch = require('watch') | |
function puts(error, stdout, stderr) { | |
if(stdout!=undefined){sys.puts(stdout);} if(error!=undefined){sys.puts(error);} if(stderr!=undefined){sys.puts(stderr);} } | |
function headlessJasmineSpecRunner(){ exec("jasmine-headless-webkit -c -j spec/jasmine.yml", puts); } |
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
syntax on | |
call pathogen#infect() | |
filetype off | |
filetype plugin indent on | |
" set nocompatible | |
set relativenumber | |
set et | |
set expandtab | |
set ignorecase |
OlderNewer