Reverting last commits with Git

April 5, 2014  |  No Comments

So I have been working this week in some stuff, and suddenly I realized that the 3 last commits that I had done were totally mistaken, and should have never happened. The problem here is that I had already pushed long ago the commits to the main server, and it was possible that many people […]

Continue reading »

Accessing Apache logs in Ubuntu

February 15, 2014  |  No Comments

Today I wanted to read the logs of Apache2 in my Ubuntu Server, but I found this problem: my_username@localhost: /var/log $ cd apache2 Permission denied I couldn’t understand why this happened, since I never had any problem to do this in my other computer, running Ubuntu Desktop. Listing it I found that the folder belongs […]

Continue reading »

Removing Nginx completely from Ubuntu

February 11, 2014  |  No Comments

Tonight I tried to make a clean installation of Nginx in my Virtual Private Server, which is running Ubuntu 12.04, so I ran: sudo apt-get purge nginx To my surprise, after running this command the folder /etc/nginx still existed with all its content intact. This was weird because purge (as opposed to remove) should remove […]

Continue reading »

Web components: A shim (or was it pollyfill?) for Shadow DOM

November 23, 2013  |  No Comments

I have started to play around with Web Components lately. Sounds quite promising. While I was tinkering with Shadow DOM, I realized the support for the function “createShadowRoot” is quite poor, and it comes with vendor prefixes at times. Then I was reminded of the RequestAnimationFrame Pollyfill, and I thought of doing it one myself. […]

Continue reading »

Updating a forked Git repository

September 4, 2013  |  2 Comments

Maybe you have found an interesting project in GitHub and have decided to contribute to it. So you have gone and forked it, download a local copy of your fork, commit the changes and done a pull request to the original repository so that everyone can take benefit of your changes. Congratulations. You are awesome. […]

Continue reading »