Skip to content

Instantly share code, notes, and snippets.

Avatar

Luis Jaraquemada ljaraque

View GitHub Profile
View introduccion_a_postgres.md

Introducción a Postgres

1. Instalación Postgres

Debemos crear el script install_postgres_12.sh con el siguiente contenido:

# Ref: https://www.postgresql.org/download/linux/ubuntu/
# Create the file repository configuration:
@ljaraque
ljaraque / jenkins_cheatsheet.md
Last active Oct 10, 2018
Jenkins Cheatsheet
View jenkins_cheatsheet.md

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
@ljaraque
ljaraque / tensorflow-gpu-ubuntu.md
Last active Apr 20, 2020
Install tensorflow-gpu in ubuntu
View tensorflow-gpu-ubuntu.md

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
View jenkins-docker-flask.md
@ljaraque
ljaraque / embedded_linux_yocto.md
Last active Jul 16, 2018
Creating Embedded Linux Distributions with YOCTO Project
View embedded_linux_yocto.md

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 Jul 3, 2018
Starting up with Silex Microframework
View silex_microframework.md

Starting up with Silex Microframework

1. System Steup:

Install the right php:

Install PHP7.1.

@ljaraque
ljaraque / rsync_basics.md
Created Jun 25, 2018
RSYNC for auto incremental remote backups
View rsync_basics.md

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 Jun 25, 2018
Compiling Python Code
View compiling_python.md

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
You can’t perform that action at this time.