Hostapd on CentOS 6
Here's how I got hostapd working on my CentOS 6 box. This article (if you could call it that) is just a running commentary. I wrote it while figuring things out, so all the silly issues I encountered are included here. Yes, I could write this properly so that ...
VIM: Open multiple files at once in separate tabs
When I use vim, sometimes I like to open multiple files, each in its own tab. To do this, use the -p option:
[jason@jasonmaur.com]$ vim -p file1 file2
I love the -p option but don't like typing it, so I added the following to my .bashrc file ...
VIM: Remember cursor position
For those who like how vim under CentOS remembers the previous cursor position when you open a file, here's the relevant code from /etc/vimrc. Just put it in your ~/.vimrc file:
if has("autocmd")
augroup redhat
"When editing a file, always jump to the last cursor position
autocmd ...
Arch Linux: Open files directly from Chromium in i3 or Awesome
These instructions are for i3 without using a desktop environment like gnome or KDE. My problem was that I would download a file in Chromium, and when I tried to open it, it would open the file in firefox before being opened in the appropriate application. Here's the solution ...
Awesome WM widget tooltip example
I thought I'd post a simple example of how to set up a custom tooltip for a widget in Awesome.
This example will add an icon to a wibox, and when the user hovers over it, that machine's internal and external IP addresses will be shown. To do ...
An Example of Troubleshooting in Arch Linux
I recently had a rather obscure problem with my Intel 5100 wireless card in Arch Linux. I doubt you had the same problem--this post is meant to illustrate the thought process (or lack thereof) while troubleshooting a random issue in Arch Linux.
The Problem
I went about a month without ...
Awesome WM widgets configuration
I've been using Awesome WM for about six months, and I love it. The hard part was configuring everything--especially the widgets. Before using Awesome, I'd never seen nor heard of lua--the scripting language that awesome uses for its configuration files--but I am a programmer by trade, so it ...