Hi, my name’s Andrew and I’m a programmer. I code mostly in Ruby and Rails, but I try to play around with other stuff every once in a while. I’m a dedicated Vim user and I’ve created a bunch of Vim plugins. You can find me as “AndrewRadev” on github and on twitter.
In this blog, I write about my programming-related experiences. So far, most of the articles seem to be about Vim. I hope I’ll be able to think of other good topics to blog about in the future.
Here are a few of my more interesting projects:
- daily_sites is a small website I use to manage my everyday reading list.
- simple_gl tries to provide a nicer OpenGL interface for ruby. Apart from using underscored methods, it also contains a few classes to help with getting something simple up and running on the screen. A fun project. Terribly incomplete, though.
- vimrunner is a ruby library that lets you spawn a vim instance and control it. This could be useful for integration tests for vim plugins and it’s actually being used for CI in some of my own plugins and Paul Mucur’s runspec.vim.
- image-processing is an implementation of a bunch of simple image processing algorithms in ruby, using the chunky_png library. It’s mostly an exercise, though I’d love to improve them and actually figure out a good use for them.
- digits is a university project in C that attempts to recognize a digit from a given image. It’s very limited, but it was an interesting exercise in image recognition.
- randfiles is a small tool that takes a list of directories and generates a random selection of files, optionally limiting them by size or by count. Inspired by this tweet.
- waiting-on-rails runs
railscommand, while also playing some relaxing elevator music.
And some Vim plugins, if you’re into that:
- splitjoin lets you switch between multiline and single-line versions of the same code.
- linediff lets you diff blocks of code instead of files.
- inline_edit makes it easier to edit code that’s embedded in other code, like script tags within HTML.
- switch changes code in predetermined ways depending on what is currently under the cursor.
- sideways moves items in lists (argument lists, arrays) to the left and to the right.
- whitespaste attempts to adjust blank lines automatically when pasting.
If you’re a Vim user, you might also like to look around my Vimfiles.