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
# Migrating my old .gitconfig blog post from 2007 to here so I can update it easier. | |
# Original URL: | |
# http://geek.susanpotter.net/2007/11/my-gitconfig.html | |
[user] | |
name = Susan Potter # make sure you change this | |
email = me@susanpotter.net # make sure you change this | |
[color] | |
diff = auto | |
status = auto | |
branch = auto |
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
[supo@XXXX ~/YYYY]% jekyll --pygments | |
WARNING: Could not read configuration. Using defaults (and options). | |
Invalid configuration - ~/YYYY/_config.yml | |
RVMROOT/lib/ruby/1.9.1/time.rb:263:in `parse': no time information in "" (ArgumentError) | |
from RVMROOT/gems/jekyll-0.6.2/lib/jekyll/site.rb:31:in `reset' | |
from RVMROOT/gems/jekyll-0.6.2/lib/jekyll/site.rb:26:in `initialize' | |
from RVMROOT/gems/jekyll-0.6.2/bin/jekyll:124:in `new' | |
from RVMROOT/gems/jekyll-0.6.2/bin/jekyll:124:in `<top (required)>' | |
from RVMROOT/bin/jekyll:19:in `load' | |
from RVMROOT/bin/jekyll:19:in `<main>' |
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
" Author: Susan Potter | |
" Using ~/.vim/supo as placeholder initialization VimScripts location. | |
" Didn't want to use ~/.vim/init in case init had or starts to have special meaning for Vim plugins or loading. | |
source $HOME/.vim/supo/global.vim | |
source $HOME/.vim/supo/functions.vim |
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
# in your application code | |
require 'twitter' | |
module MyAppNamespace::Twitter4RTimeoutMixin | |
def self.included(base) | |
base.send(:include, InstanceMethods) | |
base.class_eval do | |
# assumes you already depend on ActiveSupport, | |
# but you can mimick with alias_method and more cruft code | |
alias_method_chain :rest_consumer, :timeout |
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
redmine: | |
config: /webapps/redmine/current/config/mongrel_cluster.yml |
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/bin/env bash | |
# Assumes: git-hg is in your PATH. | |
# Customize defaults for your needs | |
BASE_DIR=${HOME}/code | |
PROJECT_DIR=zotonic | |
HG_REPO_URL=https://zotonic.googlecode.com/hg/ | |
GIT_REPO_URL=git@github.com:mbbx6spp/zotonic.git |
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/bin/env bash | |
# Appears to fix the following errors when running slaptest: | |
# bdb_db_open: database "dc=yourdomain,dc=local": db_open(/var/lib/ldap/id2entry.bdb) failed: No such file or directory (2). | |
# backend_startup_one (type=bdb, suffix="dc=yourdomain,dc=local"): bi_db_open failed! (2) | |
# Assumes you have customized the following configuration files: | |
# - /etc/openldap/slapd.conf | |
# - /etc/openldap/ldap.conf |
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
%define _base node | |
Name: %{_base}js | |
Version: 0.4.2 | |
Release: 1%{?dist} | |
Summary: Evented I/O for V8 Javascript. | |
Packager: Susan Potter <susan@managedopensource.com> | |
Vendor: http://nodejs.org | |
Group: Development/Libraries | |
License: MIT License |
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/bin/env bash | |
CURL=$(which curl) | |
NPM_DIR=${HOME}/.npmjs | |
mkdir -p ${NPM_DIR}/{bin,share/man,packages} | |
cat >>${HOME}/.npmrc <<NPMRC | |
root = ${NPM_DIR}/packages | |
binroot = ${NPM_DIR}/bin | |
manroot = ${NPM_DIR}/share/man |