- no upfront installation/agents on remote/slave machines - ssh should be enough
- application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
- configuration templating
- environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
- deployment process run from Jenkins
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/bash | |
# Shamelessly taken from http://mjwall.com/blog/2013/10/04/how-i-use-emacs/ | |
# simple script to shutdown the running Emacs daemon | |
# emacsclient options for reference | |
# -a Alternate editor, runs bin/false in this case | |
# -e eval the script |
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
# /usr/local/etc/smb4.conf | |
# Samba 4.1 Configuration file | |
[global] | |
# SPECIFIC SETTINGS FOR THIS MACHINE | |
netbios name = ZNAS1 | |
# Basic settings | |
workgroup = MYDOMAIN | |
realm = MYDOMAIN.local |
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
[root@rescue ~]# kldload zfs | |
[root@rescue ~]# sysctl kern.geom.label.gptid.enable=0 | |
kern.geom.label.gptid.enable: 1 -> 0 | |
[root@rescue ~]# gpart destroy -F nvd0 | |
nvd0 destroyed | |
[root@rescue ~]# gpart destroy -F nvd1 | |
nvd1 destroyed | |
# Getting "gpart: arg0 'nvdN': Invalid argument" is alright as it means that there was no partition table on the disk anyway. | |
[root@rescue ~]# gpart create -s gpt nvd0 |
-
For convenience, download this entire gist with
git clone https://gist.github.com/4455067.git
-
Get Eggdrop 1.8 [from Git][egggit] or [from CVS][eggcvs]. Compile and install.
The
preinit-server
patch was [merged into Eggdrop 1.8][commit] recently, so you do not need to patch it manually anymore. -
From your Eggdrop config,
source
the scripts and set the SASL information.
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/sh -x | |
START_DIR=$CWD | |
SHARE_DIR=/backup001/chem/home/chem/src/mfsbsd | |
KEYBOARD=dvorak | |
WANT_PHORONIX_TEST_SUITE=4.4.1 # set it to no to disable | |
# catch error from my own error function even in subshell. | |
err_handler () | |
{ | |
rc=$? |
The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
NewerOlder