Skip to content

Instantly share code, notes, and snippets.

Avatar
🤓
Deus ex machina

Hugo Jerez hugojerez

🤓
Deus ex machina
View GitHub Profile
@hugojerez
hugojerez / install-docker-compose.sh
Last active Oct 5, 2020 — forked from lmakarov/install-docker-compose.sh
Install docker-compose in boot2docker 1.7.0+
View install-docker-compose.sh
#!/bin.sh
DOCKER_COMPOSE_VERSION=1.6.0
# Download docker-compose to the permanent storage
echo 'Downloading docker-compose to the permanent VM storage...'
sudo mkdir -p /var/lib/boot2docker/bin
sudo curl -sL https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` -o /var/lib/boot2docker/bin/docker-compose
sudo chmod +x /var/lib/boot2docker/bin/docker-compose
sudo ln -sf /var/lib/boot2docker/bin/docker-compose /usr/local/bin/docker-compose
View ASD
3S106
iMac (Early 2006 17-inch):3S106
iMac (Early 2006 20-inch):3S106
MacBookPro (15-inch):3S106
MacBookPro (17-inch):3S106
Mac mini (Early 2006):3S106
MacBook (13-inch):3S106
iMac (Mid 2006 17- inch):3S106
Xserve (Early 2008):3X106
Xserve (Early 2009):3X106
@hugojerez
hugojerez / INSTALLV8JS.md
Created Aug 17, 2019 — forked from koriym/INSTALLV8JS.md
How to install PHP 7.2 and V8Js on Ubuntu
View INSTALLV8JS.md
apt update
apt upgrade
apt-get install python-software-properties
add-apt-repository -y ppa:ondrej/php 
add-apt-repository -y ppa:pinepain/libv8-archived
apt update
apt-get install php7.2 php7.2-curl php7.2-dev php7.2-mbstring php7.2-zip php7.2-mysql libv8-dev
pecl install v8js
echo 'extension=v8js.so' >> /etc/php/7.2/cli/conf.d/20-v8js.ini 
@hugojerez
hugojerez / comunas-regiones.json
Created Apr 24, 2019 — forked from juanbrujo/comunas-regiones.json
Comunas y regiones de chile JSON
View comunas-regiones.json
{
"regiones": [{
"region": "Arica y Parinacota",
"comunas": ["Arica", "Camarones", "Putre", "General Lagos"]
},
{
"region": "Tarapacá",
"comunas": ["Iquique", "Alto Hospicio", "Pozo Almonte", "Camiña", "Colchane", "Huara", "Pica"]
},
{