ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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 | |
site=$1; shift | |
hostname=$1; shift | |
mk_file="/opt/omd/sites/$site/etc/check_mk/conf.d/wato/hosts.mk" | |
wato_file="$(dirname $mk_file)/.wato" | |
## exit with code 1 if host exists | |
( |
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
/** | |
* @file concurrent_bitset.hpp | |
* | |
* Implementation of a concurrent @c std::bitset using Intel TBB. | |
* | |
* @author [email protected] | |
* @version $Revision$ | |
*/ | |
/* | |
* Copyright (c) 2011 Riccardo Murri <[email protected]>. All rights reserved. |
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
(defun wrap-region-in (start-text end-text) | |
"Insert START-TEXT at the beginning of the currently active | |
region, and END-TEXT at the end of it." | |
(let ((start (min (point) (mark))) | |
(end (max (point) (mark)))) | |
(save-excursion | |
(goto-char end) | |
(insert end-text) | |
(goto-char start) | |
(insert start-text)))) |
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
(defun LaTeX-transpose-table (start end) | |
(interactive "r") | |
(goto-char start) | |
(let ((last start) | |
(rows (list ())) | |
(nrows 0) | |
(ncols 0) | |
(maxcols 0)) | |
(while (re-search-forward "&\\|\\\\\\\\" end t) | |
(setf (car rows) |