Skip to content

Instantly share code, notes, and snippets.

View jippi's full-sized avatar

Christian Winther jippi

View GitHub Profile
#!/bin/bash
#
# based on https://gist.github.com/brauliobo/d3692d3ac5eb8b00e863
# our version handle spaces and other chars we use in the launch configuration
#
BOLD="\e[1m"
RESET="\e[0m"
GREEN="\e[32m"
@jippi
jippi / gist:1827525
Created February 14, 2012 15:21 — forked from sebbdk/gist:1827515
<?php
echo $this->element('Crud/form', array(
'model' => 'FaxekondiVideo',
'columns' => array(
'name',
'description' => array('type' => 'textarea'),
1) 'video_asset_file_id' => array('element' => array('admin_form_selector', array('settings' => array('image' => false)), array('plugin' => 'Hest')))
if ($config['element']) {
echo call_user_func_array(array($this, 'element'), $config['element']);
}
@jippi
jippi / rc.d
Created July 5, 2011 19:58 — forked from vvuksan/gist:988765
Logstash Init script
update-rc.d logstash-shipper defaults
update-rc.d logstash-reader defaults