That was awkward...

via hirl

May 24th, 2011

Fiddling with my vim statusline

This:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function! FileSize()  
let bytes = getfsize(expand("%:p"))  
if bytes <= 0  
return ""  
endif  
if bytes < 1024  
return bytes  
else  
return (bytes / 1024) . "k"  
endif  
endfunction

set statusline=%1* "color to user mode 1  
set statusline+=%<%t%w%h%m%r "tail of current file and its flags  
set statusline+= [%{strlen(&fenc)?&fenc:'none'}/ "file encoding /  
set statusline+=%{&ff}/ "file format /  
set statusline+=%Y] "file type  
set statusline+= [%{getcwd()}] "cwd() ;-)  
set statusline+= %{FileSize()}  
set statusline+=%= "align the rest to right  
set statusline+=%-7.(%l of %L [%p%%] - Col: %c%V%) "Current line, percentage of size, column  
set laststatus=2

Gives me this:

Incidentally, the erlang brush for SyntaxHighlighter is the closest for vim config files.

Apr 18th, 2011

Probability

Today's XKCD is sad...

Apr 4th, 2011

Can't Be A War

@ggreenwald it’s amusing that it’s okay to say "war on drugs" and "war on poverty" but once the military is involved it sure can’t be a war

via WWdT.

Apr 2nd, 2011

The Real Story Behind Bob Parson's Elephant Shoot

I dislike the needless killing of animals as much of the next person. It's worth understanding the context before doing things like boycotting a business on moral grounds based solely on one source of information.

Incidentally, I don't use GoDaddy as my registrar or web host because I hate their hosting tools, not because I think their commercials or CEO are morally repugnant.

Apr 1st, 2011

Maybe It's Just Me

Paul seems to be clear in Romans 12 about how we as Christians should respond to unbelievers or those outside of the faith. (v.17) Repay NO ONE evil for evil, but give thought to do what is HONORABLE in the sight of ALL! (ESV) So was burning the Koran somehow honorable to all?

Or am I missing something?

+1 for DD.

Apr 1st, 2011

Man Camp Notes

This is entirely for my future reference.

Don Davis was the speaker at Man Camp at Camp Berea this past year. What follows are his high-level notes for all of his talks:

It's Time to Man UP! (1 Kings 2:2)

Friday Night: 1. Honesty

Men, it's time to take off the mask.

Four Steps to Freedom:

  1. Confession (Matthew 16:13-16)
  2. Commitment (John 6:60-69)
  3. Connection (Luke 22:31-35;54-62)
  4. Conversion (Acts 3:19)

Saturday Morning: 2. Humility

Live a new life.

Romans 6:4

  • Don't go back. (Romans 6:6)
  • Don't hold on. (Romans 6:12)
  • Don't give in. (Romans 6:13)

Romans 12:1-2

  1. Presentation (1 Corinthians 6:19)
  2. Separation (2 Corinthians 6:14,17)
  3. Transformation (Colossians 3:16)
  4. Demonstration (Matthew 5:16)

Saturday night: 3. Hungry (Matthew 5:6)

Back to the basics

2 questions every man must ask God:

  1. Who are you Lord? (Acts 22:8)
  2. What do you want me to do Lord? (Acts 22:10)

One question God asks every man:

  1. What are you waiting for? (Acts 22:16)

Sunday Morning: 4. Hedges (Genesis 4:1-7)

Don't trade future blessings for temporary pleasures.

  • Be sure to Guard your heart. (Proverbs 4:23)

How? Four step process:

  1. Watch your mouth. (James 3)
  2. Control your eyes. (Matthew 6:22)
  3. Protect your walk. (Colossians 1:10)
  4. Be consistent. (Matthew 5:37)
Mar 31st, 2011

Losing Our Way

NY Times via WWdT

Mar 28th, 2011

Kippo

Kippo is a medium interaction SSH honeypot designed to log brute force attacks and, most importantly, the entire shell interaction performed by the attacker.

via One Thing Well

Mar 23rd, 2011

Trekkie Note WIN

via wins.failblog

Mar 22nd, 2011
lol