A Tor Proxy in a Raspberry Pi

Sun 29 March 2015 Category DevOps

tor

In this tutorial, I walk through all the steps to set up a Tor proxy in a Raspberry Pi (Model B). This work was based on some of the tutorials from Adafruit.

Setting Up a Raspberry Pi

Installing an Operating System in the SD card

You can either install NOOBS ...

more ...

Deploying a Flask App at Heroku

Sat 21 March 2015 Category DevOps

antisocial

I was playing with Flask, and I wrote my own Anti-Social Network.

Heroku platform is very flexible, and it supports several programming languages. To deploy an application to Heroku, use Git to push the application to Heroku’s server.

Running in a Production Server

Heroku does not provide a web ...

more ...

Functional Python Stuff Super Quick

Sun 01 March 2015 Category DevOps

Python has First Class Functions

def create_adder(x):
    def adder(y):
        return x + y
    return adder

Such that:

>>> add_10 = create_adder(10)
>>> add_10(3)  
13

Python has Anonymous Functions

(lambda x: x > 2)(3)   # => True

Python has Built-in Higher Order Functions

map(add_10, [1, 2, 3])   # => [11, 12, 13]
filter(lambda ...
more ...

Getting started with LAMP and CodeIgniter

Tue 25 February 2014 Category DevOps

LAMP is an acronym for a model of web service solution stacks: Linux, the Apache HTTP Server, the MySQL relational database management system, and the PHP programming language.

Building a MySQL Database

We will use a web interface to access data in our database:

  • Login with your root login/password ...

more ...

JavaScript: Crash Course

Sat 15 February 2014 Category DevOps

Installing & Setting up

JavaScript (JS) is a dynamic computer programming language. Install Google Dev Tools to proceed.

JavaScript 101

To include your example.js in an HTML page (usually placed right before will guarantee that elements are defined when the script is executed):

<script src="/path/to/example.js"></script ...
more ...

Grub Configuration

Wed 29 January 2014 Category DevOps

Understanding MBR and EFI

BIOS/MBR is an older partition table type also referred to as Legacy mode. Nowadays, UEFI is in most of the new computer (especially those that came with W8 or W8.1 pre-installed). UEFI always use the gpt partition table type.

To find out each one ...

more ...