[CF-I] Configure your staging machine with Node.js and NGINX

nodejs

If you're one of those critical readers, you might be asking yourself: what the   hell is [CF-I]. Well, I'm a Control Freak and I'm trying to compile a series of blogposts where I can keep track and explain to myself how I solved problems that weface daily in the backend world.

If you want to cut the crap and skip the brief explanation you can find my NGINX Config files on this Github repository.

Continue reading “[CF-I] Configure your staging machine with Node.js and NGINX”

DIY Smart Television with RaspberryPi and Node.js

Image By http://korben.info/

Hardware Components:

Software Stack:

  • Raspbian – a fork of Debian designed for the Raspberry Pi 
  • Node.js
  • Chromium Browser
  • OMX-player
  • Youtube-dl – Youtube video downloader
  • Quo.js – Cross-platform swipe gestures library
  • HTML5, CSS3 transitions, Javascript, and Moustache as a template engine
  • Youtube API

End-result:

raspberrypi_tv_google_tv
Raspberry Pi TV with its special remote controller

Outline

  • Installing software and packages.
  • Basic shellcode
  • Server-side scripting: Node.js, Express.js, and Socket.io
  • Client-side scripting: Dashboard and remote mobile-app

Continue reading “DIY Smart Television with RaspberryPi and Node.js”