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
# First do a fresh install of CentOS 5.7 i386, server configuration (no GUI) | |
# This should be performed as root since it's going to be installing a bunch of stuff | |
# --- Update things to make sure we have the latest patches --- | |
# Add EPEL so we can get reasonably recent packages | |
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm | |
# --- Install all the packages --- # | |
yum -y install python-whisper python-carbon graphite-web python-memcached python-ldap httpd memcached |
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 | |
### BEGIN INIT INFO | |
# Provides: statsd | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the statsd node server | |
# Description: starts statsd using nodejs forever |
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
################################################################################ | |
# | |
# CentOS - Graphite/statsD/Cassandra configuration script | |
# | |
################################################################################ | |
# This should be performed as root since it's going to be installing a bunch of stuff | |
########## | |
# Environment specific - only these are expected to change from dev->prod |
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 | |
################################################################################ | |
# | |
# shell script to fix ownership of all files under each entry in SEARCH_PATH | |
# | |
################################################################################ | |
# space seperated list of paths | |
SEARCH_PATHS='/tmp/foo /tmp/bar' |
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 | |
F=$1 | |
shift | |
diff $* $F $F~ |
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 | |
### BEGIN INIT INFO | |
# Provides: statsd | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: control statsd | |
# Description: start/stop/restart statsd using nodejs forever |
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 | |
################################################################################ | |
# | |
# shell script to fix ownership of all files under each entry in SEARCH_PATH | |
# | |
# Change SEARCH_PATH as needed. | |
# NOTE: script has no output if it does no work. | |
# | |
################################################################################ |
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
;;; defvar-maybe.el --- maybe declare variables | |
;;; AUTHOR: Corwin Brust <corwin@bru.st> | |
;;; LICENSE: GPL2 or newer GNU Public License | |
;;; VERSION: 0.2 | |
;;; Commentary: | |
;; | |
;; A drop-in replacement for `defvar' that substities 'setq' during "DEVEL". | |
;; Place the following lines into a package you are hacking on: | |
;; (require 'defvar-maybe) |
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
;;; erc-countusers-mode.el --- display a count of channel users in the mode-string | |
;;; Commentary: | |
;; TODO: return empty string if parted/disconnected | |
;; TODO: add to emacswiki files | |
;;; Code: | |
(define-minor-mode ncm-mode "https://www.emacswiki.org/emacs/ErcModeline | |
Add this to your .emacs to see the number of opped/voiced/normal members of the | |
current channel in the modeline:" nil | |
(:eval |
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
;;; erc-frames-mode.el --- sequence erc setup -*- lexical-bindings:t -*- | |
;; Copyright (C) 2019 Corwin Brust | |
;; Author: Corwin Brust <corwin@bru.st> | |
;; URL: http://dpaste.com/3NFJV60 | |
;; Version: 0.1-pre | |
;; Package-Requires: ((emacs "26.0")) | |
;; Keywords: ERC IRC | |
;; This file is not part of GNU Emacs. |
OlderNewer