Skip to content

Instantly share code, notes, and snippets.

View ljaraque's full-sized avatar

Luis Jaraquemada ljaraque

View GitHub Profile
@ljaraque
ljaraque / embedded_linux_yocto.md
Last active July 16, 2018 06:28
Creating Embedded Linux Distributions with YOCTO Project

Creating Embedded Linux Distributions with YOCTO Project

ljaraque@yahoo.com

1. Introduction

This guide is developed and tested using Ubuntu 16.04 as a host computer.

2. Installing Dependencies

@ljaraque
ljaraque / silex_microframework.md
Last active July 3, 2018 03:58
Starting up with Silex Microframework

Starting up with Silex Microframework

1. System Steup:

Install the right php:

Install PHP7.1.

@ljaraque
ljaraque / rsync_basics.md
Created June 25, 2018 01:42
RSYNC for auto incremental remote backups

Incremental file unidirectional sync with Rsync via SSH Without Password

Reference: http://www.thegeekstuff.com/2011/07/rsync-over-ssh-without-password/

1. Installation of Rsync.

$ sudo apt-get install rsync

2. ssh-keygen generates keys.

Setup ssh so that it doesn’t ask for password when performing ssh. Use ssh-keygen on local machine to generate public and private keys.

@ljaraque
ljaraque / compiling_python.md
Created June 25, 2018 01:35
Compiling Python Code

Compiling Python Code


###1. Compile to .pyo

To compile python code it is necessary to rung the following command over the python script:

python -OO -m py_compile script.py
@ljaraque
ljaraque / docker_cheatsheet.md
Last active September 7, 2018 02:03
Docker Cheatsheet

Docker Cheatsheet

ljaraque@yahoo.com

1. Docker Basics

list all docker running containers:
docker ps

list all docker containers running and stopped: