Quantcast
Channel: Lucas Caton - English posts
Browsing all 66 articles
Browse latest View live

My dotfiles

Finally I created a repository with my dotfiles. Dotfiles are configurations files, usually with their names beginning with a dot (hidden files) and located in your home directory (~/). The repository...

View Article


RSpec profiling

In order to find out the slowest specs, just add to .rspec file: --profile RSpec will show the top 10 slowest examples!

View Article


Image may be NSFW.
Clik here to view.

Replacing “Selenium” with “Poltergeist”

My friend @pellegrino give me an awesome tip: to replace “Selenium” with “Poltergeist”. For those who don’t know, Poltergeist is a PhantomJS driver for Capybara. I’ve done it in some projects and it...

View Article

Pair programming with tmux

Server: tmux -2 -S /tmp/pair new-session -s PairProgramming chmod 777 /tmp/pair Client: tmux -2 -S /tmp/pair attach-session -t PairProgramming

View Article

How to test ElasticSearch in a Rails application

Since I started using ElasticSearch in my Rails applications, I had a problem to create separate indexes for the automated tests. The problem is: there is no way to create more than one database in...

View Article


Image may be NSFW.
Clik here to view.

New blog layout

I finally changed the layout of my blog. This theme is more clean, I hope you all enjoy.

View Article

Image may be NSFW.
Clik here to view.

An easy way to split windows in Vim

There are several ways to split windows in Vim. This one is what I prefer:

View Article

Image may be NSFW.
Clik here to view.

A simple way to deploy your Rails applications

Sometimes I prefer to use a simpler way to deploy my Rails applications instead of install and configure some complex tool (eg.: capistrano). A very simple way to do this is creating a shell script...

View Article


Getting root permissions on a file inside of Vim

Sometimes you open a file that you need root permissions to save it. When it happen, you can close and reopen the Vim (with sudo) or you also can do: :w !sudo tee % Thanks to @dlisboa for the tip.

View Article


Image may be NSFW.
Clik here to view.

Hellо, I am a compiler

I copied this little text from a comment on the Stackoverflow website. I really enjoyed it ;) Hellо, I am a compiler. I just scanned thousands of lines of code while you were reading this sentence. I...

View Article

Interesting script written in Ruby: “The Globe”

Minutes ago I received this link from some friends. It’s very interesting (and crazy). Create an empty ruby file, paste this content and save as a.rb. v=0000;eval$s=%q~d=%!^Lcf<LK8,...

View Article

Agile methodologies for software development

Yesterday, I wrote my first blog post on the NetEngine blog: http://netengine.com.au/blog/agile_methodologies_for_software_development/ I hope you enjoy it.

View Article

How to improve your software development team’s communication

I’ve just written another post on the NetEngine’s blog: http://netengine.com.au/blog/how-to-improve-your-software-development-team-s-communication/ I hope you enjoy it.

View Article


Image may be NSFW.
Clik here to view.

Have a Rails 2 app? You can run it on the newest Ruby!

Do you have a legacy Rails application which is still running on Rails 2? There are several reasons to migrate your application to new Rails versions, like to improve the security, to be able to use a...

View Article

Image may be NSFW.
Clik here to view.

An awesome Wiki built with Ruby and Rails!

I’ve been worked on a small (but awesome) open-source project. I’m talking about ruby_wiki – a simple wiki built with Ruby on Rails: https://github.com/lucascaton/ruby_wiki As I said before – it’s...

View Article


Image may be NSFW.
Clik here to view.

What do I have in the OS X’s menu bar?

Application Description Type Caffeine Prevent your Mac from automatically going to sleep, dimming the screen or starting screen savers Free ColorSnapper Color picker Paid 1Password Password manager...

View Article

How to use command line on Mac OS X

A friend of mine (who came from Windows world) have bought a Mac recently and he asked me how to use command line on Mac OS X: My answer was: 1) 99% of commands are identical in Linux. This is good...

View Article


Image may be NSFW.
Clik here to view.

CampJS 2014 – the best nerd event I ever attended

A few days ago I was in CampJS, the best nerd event I ever attended. This is the official website (which is pretty nice by the way): http://campjs.com/. Why it was the best in my opinion: It happened...

View Article

Measuring and improving your Rails app quality

I’ve just written a blog post on the NetEngine’s blog: http://netengine.com.au/blog/measuring-and-improving-your-rails-app-quality/ I hope you enjoy it.

View Article

Ruby on Rails Tutorial: Learn From Scratch

Udemy created a Ruby on Rails tutorial (text-and image based), easy to search for quick answers, and super helpful for anyone: as a base for learning or as a reference guide. Go check it out!...

View Article
Browsing all 66 articles
Browse latest View live