Posts
-
Setting up Sublime Text Editor for Ruby on Rails
In this post I’ll go over how I set up Sublime Text Editor for Ruby on Rails development.
Sublime Text Editor is a popular proprietary text editor that runs on Windows, Linux and Mac OS. It’s highly customizeable, with many user-developed plugins that tweak various parts of the interface.
-
Concurrency is beautiful with the Go programming language
Golang is a general programming language designed specifically for scalable and distributed systems. One of its largest advantages is that concurrent programming is constructed as a natural part of the language, so it is able to present a far simpler approach than many other languages.
-
(Linux) Setting up Ruby on Rails using RVM
In this post I’ll go over how to install Ruby on Rails on Linux using Ruby Version Manager, or RVM.
RVM simplifies maintaining one or more independent Ruby environments, which can be helpful for development and testing. You can run builds on multiple gemsets this way, and if you so choose you can set up self-contained environments for each project.
-
Ruby on Rails not so slow on Unix
I’ve been starting to work in Ruby on Rails, and the Rails experience seems to be much smoother on Linux than on Windows.
More tools work out of the box, and there are significant performance improvements. Search for “rails slow on windows” and you’ll find many results, with the most common suggestion being to move to Unix.
For instance, test builds that take a few seconds to run on Linux often take up to a minute on Windows. The difference for general Ruby tasks is supposedly closer to 70% - 100% faster on Linux than on Windows. (http://programmingzen.com/2009/08/10/how-much-faster-is-ruby-on-linux/)
-
Upgrading to Debian Testing
Last time I went over Debian’s releases and reasons to either upgrade to Debian Testing or remain on Debian Stable.
In this post I’ll go through the steps I took to upgrade to the current Debian Testing release.
-
Debian releases and deciding to upgrade
Debian Stable, or just “stable”, is the default release for new Debian installs, with “testing” and “unstable” being the next releases along the development pipeline.
Debian Stable is the rock-solid release with few major changes going in and slightly older supported packages, while many downstream distributions like Ubuntu pull from Debian Testing, which gets more action throughout the year.
-
Creating Git aliases
A few months ago a friend introduced me to Git aliases, and I’ve come to enjoy using them enough to set them up on every workspace I use.
Aliases are customizable shortcuts for full or partial commands, allowing the user to enter something like “git ci” instead of “git commit -m”.
git ci 'User can edit display name'git commit -m 'User can edit display name' -
(Debian) Setting environment variables
In this post we’ll set up environment variables for Debian, using Golang as an example.
I’d like to be able to run Go programs easily from terminal, and also have Golang environment variables accessible from applications such as Sublime Text Editor.
Environment variables can be set globally (/etc) or for individual users (~ is a shortcut to the current user’s home directory). I’ll set up these environment variables for my user.
subscribe via RSS