Skip to content

Instantly share code, notes, and snippets.

View ljaraque's full-sized avatar

Luis Jaraquemada ljaraque

View GitHub Profile
@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:

@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 / 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 / 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 / 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 / jenkins-docker-flask.md
Created August 9, 2018 04:21
Jenkins-Docker-Flask
@ljaraque
ljaraque / tensorflow-gpu-ubuntu.md
Last active March 12, 2022 10:32
Install tensorflow-gpu in ubuntu

Install tensorflow-gpu1.8 in ubuntu18.04 with CUDA9.2, cuDNN7.2.1 and NVIDIA Driver 396

ljaraque@yahoo.com

Overview

This is a summary of the process I lived in order to enable my system with CUDA9.2, cuDNN7.2.1, Tensorflow1.8 and NVIDIA GEFORCE GTX860M GPU. You can just skip the steps marked with FAILED. I decided to keep them there in order to be useful for others who tried those paths too.

FAILED (Next section is successfull) Install NVIDIA driver (FAILED, THIS WILL INSTALL DRIVER 390 which is not compatible with CUDA9.2):

ubuntu-drivers devices
@ljaraque
ljaraque / jenkins_cheatsheet.md
Last active October 10, 2018 22:01
Jenkins Cheatsheet

Jenkins Cheatsheet

ljaraque@yahoo.com

1. Installing Jenkins

first install java:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer