philosophy
Universal Causal Language
An experimental language that attempts to express causality across code, language, law, music, and biology
philosophy
An experimental language that attempts to express causality across code, language, law, music, and biology
raspberry-pi
A few months ago, I was inspired by this post on Reddit, titled: Food items should have QR codes that instruct the microwave exactly what to do. Like high for 2 minutes, let stand 1 minute, medium 1 minutes.. I thought this was a pretty cool idea, and that it
ruby
Whenever I'm looking at backtraces, logs, or failing tests in the terminal, I often need to open one of those files in my text editor. It was previously a semi-arduous process that involved highlighting, copying, pasting and the return key. Now, all I need to do is double-click
ruby
Note: This post is for people who use the terminal to run Rails generators. It probably won't interest you if your editor has a plugin to run them. After running a Rails generator, you'll often need to edit the generated files in your text editor. Rails
ruby
Every Rails developer has probably seen the following error: Could not find <gem> in any of the sources Run `bundle install` to install missing gems. This happens if you or someone else adds a gem to your Gemfile, or if a gem version is updated in Gemfile.lock,
rails
capistrano_colors has been merged into capistrano. If you update capistrano to version 2.13.5, you will no longer need to include capistrano_colors in your Gemfile. Don't forget to also remove require 'capistrano_colors' from config/deploy.rb. If you've been using
linux
I'm saving a little space in my terminal by replacing my username and group (ndbroadbent) with a single symbol. I'm doing this in my prompt, as well as in the output of ls commands: (My laptop's hostname is also represented by a symbol.) For
ruby
A day in the life of a Rails developer will usually involve a few git pulls, bundle installs, and switching between different projects. I thought it would be great if my projects could be automatically kept up-to-date, so that I don't have to spend too much time updating
ruby
Update: I've updated the build status checking script, because updating all branches was taking too long (over 20 minutes.) Now it performs frequent updates for the current branch, and only periodic updates for all branches. Travis CI is a distributed continuous integration service for the open source community,
ruby
I'm currently doing a lot of work on an open source Ruby on Rails project called Fat Free CRM. The code is hosted on github, and we are using the amazing continuous integration service provided by Travis CI. Find out more about Travis CI here. We've
bundler
TL;DR: bundle install != gem install Maybe you want to update haml to the latest version. You tried to run bundle install haml, but now some really weird stuff is happening. Bundler decided to install all of your gems from scratch into a ./haml folder. Even when you try bundle
ruby
I wanted the LCD screen on my apartment door to display a message on certain days, such as birthdays, Christmas, and Easter. I didn't realize how hard it was to calculate which day Easter Sunday is... def easter(year) c=year/100 n=year-19*(year/19) k=(c-17)