Skip to content

Instantly share code, notes, and snippets.

View MiguelGonzalez's full-sized avatar

Miguel MiguelGonzalez

  • Goggo Network
  • Madrid
View GitHub Profile
@MiguelGonzalez
MiguelGonzalez / Instructions.sh
Created December 13, 2018 23:40 — forked from GhazanfarMir/Instructions.sh
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa
@MiguelGonzalez
MiguelGonzalez / transform_oracle_to_mysql.py
Created October 2, 2017 08:01
Transform Oracle export to Mysql
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import sys
import re
# CONSTANTES
PATRON_INSERT = re.compile('insert', re.I)
<style>
pre {outline: 1px solid #ccc; padding: 5px; margin: 5px; }
.string { color: green; }
.number { color: darkorange; }
.boolean { color: blue; }
.null { color: magenta; }
.key { color: red; }
</style>