This file contains hidden or 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
--type-set=clojure=.clj | |
--type-set=snippet=.snippet | |
--type-set=groovy=.groovy | |
--type-set=yml=.yml | |
--type-set=net=.cl | |
--type-set=json=.json | |
--type-set=jsp=.jsp | |
--type-set=jspf=.jspf | |
--type-set=ruby=.rb | |
--type-set=markdown=.md |
This file contains hidden or 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
# /etc/security/limits.conf | |
ubuntu hard memlock 8388608 | |
root hard memlock 8388608 | |
# /etc/pam.d/common-session | |
session required pam_limits.so | |
Note this seems to be working altough ulimit -l still reports 64 |
This file contains hidden or 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
See http://www.raspberrypi.org/phpBB3/viewtopic.php?t=6256 this desribes how to setup wifi for 8192cu based adapters, | |
Note that following http://elinux.org/RPi_edimax_EW-7811Un, looks like the above script does thing differently, | |
The /etc/network/interfaces: | |
iface wlan0 inet dhcp | |
wpa-ssid "ssid" | |
wpa-psk "password" |
This file contains hidden or 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
(ns pallet.crate.redis | |
"Simple redis crate for pallet, | |
with a DSL for configuration" | |
(:require [pallet.parameter :as parameter] | |
[pallet.action.package :as pkg] | |
[pallet.action.user :as user] | |
[pallet.action.directory :as dir] | |
[pallet.action.remote-file :as file] | |
[pallet.action.service :as service])) |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'gmail' | |
def email_scrub_run(status) | |
gmail = Gmail.new('foo', 'bar') | |
gmail.deliver do | |
to "[email protected]" | |
subject "Your scheduled Zfs scrub was just performed " |
This file contains hidden or 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
#!/usr/bin/env ruby | |
require 'gmail' | |
def email_scrub_status(status) | |
gmail = Gmail.new('u', 'pass') | |
gmail.deliver do | |
to "[email protected]" | |
subject "Zfs check result on Host" |
This file contains hidden or 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
GRADLE_APP_BASE_NAME=`basename "$0"` | |
STARTER_MAIN_CLASS=org.gradle.launcher.GradleMain | |
# my ugly extension point | |
CACHE_HOME=/var/lib/jenkins/caches/$JOB_NAME | |
mkdir -p $CACHE_HOME | |
cp /var/lib/jenkins/.gradle/init.gradle $CACHE_HOME | |
exec "$JAVACMD" $JAVA_OPTS $GRADLE_OPTS \ |
This file contains hidden or 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
d-i debian-installer/locale string en_US.UTF-8 | |
d-i debian-installer/splash boolean false | |
d-i console-setup/ask_detect boolean false | |
d-i console-setup/layoutcode string us | |
d-i console-setup/variantcode string | |
# network | |
d-i netcfg/get_nameservers string | |
d-i netcfg/get_ipaddress string | |
d-i netcfg/get_netmask string 255.255.255.0 |
This file contains hidden or 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
# NOTE: | |
# This is just a sourced bash script, so think what you put here. | |
# If you'd like to use $ sign, you must enclose string in '' or escape it. | |
# If you'd like to use some other variable, feel free to use it. | |
# In booleans 1, 'y', 't', 'yes', 'true' and 'on' evaluate as true. | |
# Whether to log progress verbosely, or just print a plain summary at the end. | |
VERBOSE=1 |
This file contains hidden or 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
Tue Jan 18 22:37:21 IST 2011 | |
+ hook_exec pre-umount | |
+ local hooktype fn | |
+ hooktype=pre-umount | |
+ [ -d /etc/udev/uam-hooks/pre-umount ] | |
+ [ -f /etc/udev/uam-hooks/pre-umount/* ] | |
+ debug Starting uam umounter on /dev/sdc1. | |
+ bool 1 | |
+ [ -n ] | |
+ return 0 |