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
noremap <C-h> <C-w>h | |
noremap <C-j> <C-w>j | |
noremap <C-k> <C-w>k | |
noremap <C-l> <C-w>l | |
nnoremap <left> :3wincmd <<cr> | |
nnoremap <right> :3wincmd ><cr> | |
nnoremap <up> :3wincmd +<cr> | |
nnoremap <down> :3wincmd -<cr> |
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
gabebug@Gabe-Work ~/Sites $ git init crlf | |
Initialized empty Git repository in /Users/gabebug/Sites/crlf/.git/ | |
gabebug@Gabe-Work ~/Sites $ cd crlf/ | |
gabebug@Gabe-Work ~/Sites/crlf $ git config core.autocrlf | |
input | |
gabebug@Gabe-Work ~/Sites/crlf $ vim crlf.txt | |
gabebug@Gabe-Work ~/Sites/crlf $ xxd crlf.txt | |
0000000: 610d 0a62 0d0a 630d 0a a..b..c.. | |
gabebug@Gabe-Work ~/Sites/crlf $ git add crlf.txt | |
warning: CRLF will be replaced by LF in crlf.txt. |
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
<html> | |
<body> | |
<h1>Our Navigation</h1> | |
<p>I'm writing an example xhtml document to get converted into markdown!</p> | |
<h2>Examples</h2> | |
<h3>Text formatting</h3> | |
<p>Sometimes with longer <em>paragraphs</em><br/>we just want a new line <strong>immediately</strong>.</p> | |
<div>Divs are block elements too, and people don't always put their text in p tags.</div> | |
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
# http://gembundler.com/deploying.html | |
require 'bundler/capistrano' | |
# http://guides.rubyonrails.org/asset_pipeline.html | |
load 'deploy/assets' | |
# http://beginrescueend.com/integration/capistrano/ | |
# Also add rvm-capistrano to your Gemfile | |
require "rvm/capistrano" # Load RVM's capistrano plugin. | |
set :rvm_type, :system # Copy the exact line. I really mean :system here |
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
#!/bin/sh | |
# MIS Firewall Script v1.0 | |
# | |
# Author: [email protected] | |
# Based on O'reilly Linux Server Hacks, #45 | |
# | |
# Documentation forthcoming | |
# This script must be run after a boot, as iptables does not save its state | |
# | |
#< I. Configuration Options >################################################### |
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
diff -u qmail-1.03/qmail-send.c qmail-1.03-patch/qmail-send.c | |
--- qmail-1.03/qmail-send.c Mon Jun 15 05:53:16 1998 | |
+++ qmail-1.03-patch/qmail-send.c Fri May 7 13:40:17 2004 | |
@@ -159,7 +159,20 @@ | |
if (!stralloc_cat(&rwline,&addr)) return 0; | |
if (!stralloc_0(&rwline)) return 0; | |
- return 2; | |
+ | |
+ /* 2003-08-29 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<true/> | |
<key>Label</key> | |
<string>org.apache.httpd</string> | |
<key>ProgramArguments</key> | |
<array> |
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
<?php | |
function ChitinErrorHandler ($errno, $errstr, $errfile, $errline, $errcontext) { | |
$e = new ErrorException($errstr, 0, $errno, $errfile, $errline); | |
error_log($e); | |
switch ($errno) { | |
case E_STRICT: | |
// Fuck E_STRICT. Seriously. | |
break; | |
case E_NOTICE: |
NewerOlder