Recent Posts
23 Jun 2013
Using git on a shared hosting
As most of the shared hosting companies out there mine doesn’t grants you root access, that’s ok, but it does gives you SSH access using a weird control panel where you need to enter you current IP and then they let you in. Said that I wanted to use git on that server, to then simply do a git pull origin staging
and get all the fancy thing I’m working on to the stating server.
To do so we need:
- SSH access
- Git installed (without root access compiling one won’t be easy/feasible)
- A published repo. I’ve done it with Github and Bitbucket’s
Too easy to be true
First attempt:
As you can see this is simple chiming you don’t have any certificates or you don’t have access to the path specified, at this point you may want to get in touch with your hosting support guy… or you can disable the check for SSL certificates, after all you are accessing a ‘public’ repo for read-only proposes.
The DIY way
Need to grab the https address of the repo to clone and then on the server do the following:
That worked for me and I hope it saves you some time.
20 Jun 2013
Making a simple web data monitor with Arduino + NodeJs
The idea behind this project was to have some almost-real-time website information available at glance on of my desk in a sort of a really simplified dashboard. At it turned out pretty straight forward using NodeJs to fetch the website and do all the data parsing needed and then sending the data thru USB to an Arduino board with a LCD shield on it.
17 Jun 2013
Hello Jekyll
Hey, this is my first post on this site, my new blog. The last one, well… was kind of abandoned but that’s history. Now I’m writing on my brand new shining jekyll powered static blog, and it’s hosted on Github so that makes it double special. Yay!!