Image

That was awkward…

That was awkward…

via hirl.

Posted in uncategorized | Comments Off
Aside

Fiddling with my vim statusline

This:

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.

Posted in code, how-to | Tagged , | Comments Off
Link

Probability

Today’s XKCD is sad…

Posted in uncategorized | Comments Off
Quote

Can’t Be A War

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
@Diraccone

via WWdT.

Posted in uncategorized | Comments Off
Quote

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?
Don Davis

+1 for DD.

Posted in uncategorized | Comments Off
Link

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.
Posted in uncategorized | Comments Off
Link

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” (Acts 22)

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)
Posted in geek life | Comments Off
Link

Losing Our Way

via WWdT

Posted in uncategorized | Comments Off
Link

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

Posted in links, software notes | Tagged , , | Comments Off
Image

Trekkie Note WIN

Trekkie Note WIN

via wins.failblog.

Posted in uncategorized | Comments Off