Feed

A consolidated stream of my writing and activity, powered by RSS/Atom.

RSS

Latest Items

  • Using Git in Rails production server workflow
    Blogger·

    In my projects I use Git as part of the deployment process. When I'm developing a new app and it's ready for production first I setup a non-bare repo in the Rails project itself: benoror@macmini:~/simpleapp $ git init benoror@macmini:~/simpleapp $ git add . benoror@macmini:~/simpleapp $ git commit -a -m "First commit"Then I just zip and copy the project to the production server. After extract it I clone it as a bare repo: benoror@dreamhost:~ $ git clone --bare simpleapp simpleapp.gitThis bare repo will act as the main repo (who said central?). Then I just add a remote origin in my computer:benoror@macmini:~/simpleapp $ git remote add origin ssh://benoror@production.com/~/simpleapp.gitI assume you already copied your SSH keys and credentials. The workflow is as follows: 1. When I make changes in my computer just commit and push:benoror@macmini:~/simpleapp $ git push origin master2. Then I log into my production server and pull changes in the non-bare repo:<span class="Apple-style-span" style="...

    Continue reading...
  • Elementary-Mod AUR Package
    Blogger·
    I just uploaded a PKGBUILD for this great GTK theme to AUR.
    *It only works with patched package nautilus-elementary.
  • Github vs Gitorious
    Blogger·
    Github is a service I've been using for a while to host my projects/configurations/*. It's truly excellent, and I could write a whole post about it. However, it has one flaw: its free plan doesn't allow for private repos.
    I completely understand why they do this since they promote OSS, and in fact, I applaud them for it, as they currently have thousands of open-source projects that have gotten me out of a tight spot on more than one occasion.
    However, there are times when it's necessary to maintain some privacy. Since the project I'm working on is at an advanced stage, I decided I couldn't risk it, so I decided to try Gitorious.
    At first glance, it has a very similar interface and handling to Github, even with a more detailed design. I'll let you know in the coming weeks how it worked out for me...
  • Sync your dotfiles with GitHub
    Blogger·

    I'm tired of trying to keep my config files homogeneous between my linux-notebook and my mac mini, so I decided to store them in 'the cloud'. I chose GitHub because I'm learning Git and it has a neat web interface. Step 1Create dotfiles dir in my linux notebook, as the most recent configs reside there benoror@gateway:~$ mkdir ~/dotfilesbenoror@gateway:~$ mkdir ~/dotfilesbenoror@gateway:~$ mv .bashrc ~/dotfiles/benoror@gateway:~$ mv .vimrc ~/dotfiles/benoror@gateway:~$ mv .vim ~/dotfiles/(... ... ...)benoror@gateway:~$ mv .ssh...

    Continue reading...
  • Segunda Entrega Robot en OpenGL
    Blogger·
    Para la segunda entrega del robot en OpenGL tuvimos que agregar muchas mas features:
    Iluminación ambienteIluminación con color en movimientoMateriales (Usamos Oro, Bronce y Plata)ReflexionesPrimitiva creada desde ceroPara verlo en `wire mode` se usa la tecla 'W'. Para aumentar o disminuir la cantidad de triangulos de la primitiva se usa la tecla 'A' y 'a'.
    * Como el servicio pastebin caduca a los pocos días en esta ocasion no publicaré el codigo hasta encontrar otro servicio similar con mejores prestaciones. Si saben de alguno no duden en comentarme. Si quieres el código con gusto se los proporcionare personalmente.

Generated at Sep 21, 2026, 10:24 PM

Try:""