herval:

hey! that’s MY phone!

Mine as well… hahaha!

    herval:

    hey! that’s MY phone!

    Mine as well… hahaha!

    (Source: notenoughhours)

    Ruby 1.9.2 and Rails 2.3.11: ArgumentError (invalid byte sequence in US-ASCII)

    Yeah, it was already discussed a lot, but I really missed the conversation.

    After adding all that code (# encoding: UTF-8) on the headers of each file of the project I was still getting the same error. 

    After digging a bit about it, I’ve found this blog that explains to just create an initializer with this content:

    Encoding.default_external = 'UTF-8'

    And right after a restart the app should work, and in my case, worked!

    Issues with Mac OS X Lion and Maven (M2_HOME)

    Starting with the environment configuration over here, I’ve got a lot of issues, but one took so many time to be fixed, that I’ve decided to create this blog post to help some of the dudes around there with the same problem.

    Basically, after cloning the project, installed the JSDK and opened it with IntelliJ, I’ve couldn’t make Maven tasks work. The error was this one:

    Error running test-compile: No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system

    I’ve looked lots of places to try fix it, and also got some help from a friend, but what fixed this issue was:

    1. Adding the M2_HOME inside my .bashrc to be used when inside Terminal (iTerm in my case);
    2. Opening ~/.MacOSX/environment.plist with the plist editor (open ~/.MacOSX/environment.plist) and adding this new key M2_HOME and its value /usr/share/maven.
    3. To avoid a unnecessary restart: launchctl setenv M2_HOME /usr/share/maven.

    Good luck and if none of these steps work, follow these sites:

    It’s time for Open Source!

    I’ve decided to invest more time in myself. Doing what I’m doing in daily basis, but focusing on things that I can improve. And I think it’s only possible, if I have some other devs checking what I’m creating.

    The last 2 weekends I focused on freelance works, doing the things in the right way, using the new frameworks/gems versions and also checking the better way to create some kind of stuff that was already internalized by myself.

    I’m also starting a project in Java, to develop myself in some basic aspects of programming that I’m not so familiar. It would be definitively a good way to improve some weak aspects from my developer career.

    That is it, I’ll update here some of the evolutions and also about what I’m thinking in leave for a while, only during the weekends at least, the dynamic language world!

    Nice way to keep some of my usb cables organized (Taken with instagram)

    Nice way to keep some of my usb cables organized (Taken with instagram)

    How to tweet from @AlfredApp 0.9.9

    Hey guys, 

    With the last version of @AlfredApp, extensions are much easier to share and create. So now, instead of creating a new tutorial about it, I’ll just show you how to install console_tweet and provide a link to download the extension.

    Screencast about console_tweet installation: http://www.screenr.com/p7xs.

    To make the extension work again, remove the old one and install this one.

    That’s it, much simpler and easy now.

    UPDATE: If you don’t have Xcode installed, you can install only GCC using this package for Lion or this other package for Snow Leopard.

    UPDATE 2: I’m not using Lion yet, but @jdfwarrior is and tested with GCC only and worked fine. 

    UPDATE 3: If you are not using RVM, or don’t know what RVM is, you need to install GCC (or Xcode) and execute the gem install command using “sudo”, like here: sudo gem install console_tweet

    Taken with instagram

    Taken with instagram

    startupquote:

Creativity is the sudden cessation of stupidity.
- Edwin Land

    startupquote:

    Creativity is the sudden cessation of stupidity.

    - Edwin Land

    Yey! It’s here! (Taken with instagram)

    Yey! It’s here! (Taken with instagram)

    Working with Rails ⋅  GitHub ⋅  Twitter (English) ⋅  Twitter (Portuguese) ⋅  Linked In ⋅  Facebook ⋅  Powered by tumblr
    Fork me on GitHub