Skip to content

Instantly share code, notes, and snippets.

View kcollasarundell's full-sized avatar
:shipit:
What year is it O.O

Kevin Collas-Arundell kcollasarundell

:shipit:
What year is it O.O
View GitHub Profile
#!upstart
# An example upstart script for running the ghost blog as a daemon with
# logging and process management via upstart
# You will need to set the environment variables noted below to conform to
# your use case, and should change the description.
description "GHOST blog"
package Assign1;
public class PizzaOrder {
//declaring variables
private int id;
private String name;
private String phoneNumber;
private String order;
private String type;
@kcollasarundell
kcollasarundell / yaml.vim
Created March 12, 2012 16:46
Dumb-smart indentation for Yaml (mirror)
" Vim indent file
" Language: Yaml
" Author: Ian Young
if exists("b:did_indent")
finish
endif
"runtime! indent/ruby.vim
"unlet! b:did_indent
let b:did_indent = 1
class drbd::drbd_config {
# require Class[drbd::drbd_install]
# require Class[drbd::drbd_service]
# $drbd_resource = ymllookup('drbd_resource')
$drbd_resource = { data_share1 => { 'node1.local' => ['192.168.222.21','/dev/drbd1'],
'node2.local' => ['192.168.222.22','/dev/drbd1'] },
data_share2 => { 'node1.local' => ['192.168.222.21','/dev/drbd2'],
'node2.local' => ['192.168.222.22','/dev/drbd2'] }
@kcollasarundell
kcollasarundell / selenium.sh
Created August 25, 2011 03:29 — forked from lifeeth/selenium.sh
selenium init.d script for debian
#!/bin/bash
# /etc/init.d/selenium
# debian-compatible selenium-grid startup script.
# Based on jenkins startups
# Praneeth Bodduluri <lifeeth[at]gmail.com>
# update-rc.d -n -f selenium start 90 2 3 4 5 . stop 10 0 1 6 .
### BEGIN INIT INFO
# Provides: selenium-grid
# Required-Start: $remote_fs $syslog $network
# Required-Stop: $remote_fs $syslog $network
@kcollasarundell
kcollasarundell / Bloody Kevin
Created June 20, 2011 00:56 — forked from Symorg/Bloody Kevin
Bloody kevin
ipconfig /all > "%HOMEPATH%\desktop\ip.txt"
start notepad "%HOMEPATH%\desktop\ip.txt"
"Resource/UI/HudMedicCharge.res"
{
"Background"
{
"ControlName" "CTFImagePanel"
"fieldName" "Background"
"wide" "0"
"tall" "0"
"visible" "1"
"enabled" "0"