Skip to content

Instantly share code, notes, and snippets.

View ivanrosolen's full-sized avatar
:octocat:
....

Ivan Rosolen ivanrosolen

:octocat:
....
  • Stone
  • São Paulo, Brasil
View GitHub Profile
@ivanrosolen
ivanrosolen / lets_encrypt_nginx.txt
Last active January 4, 2017 21:08
Let's Encrypt + Nginx
apt-get update
apt-get install nginx
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto
@ivanrosolen
ivanrosolen / vagaphp.md
Last active July 19, 2021 19:21
Vaga Dev PHP Pleno/Sênior

Descrição da vaga

Estamos com vagas para backend aqui na Arizona

Temos uma stack bem variada e gostamos de pensar fora da caixa, utilizando coisas inovadoras para facilitar o dia-a-dia.

Local

Presencial ou Remoto, Zona Sul, São Paulo - Rua Castro Verde, 98

@ivanrosolen
ivanrosolen / how_to_phpt.md
Last active December 26, 2024 21:30
How To PHPT

How To PHPT

First, let's set up the 'enviroment'.

  • Clone this repo

git clone https://github.com/herdphp/docker-phpqa.git

  • Go to the created folder or the one you especified
<canvas id="board" width="400" height="400"></canvas>
<script>
"use strict";
var board = "";
var context = "";
var x_velocity = 0;
var y_velocity = 0;
@ivanrosolen
ivanrosolen / gist:f8d0a09c27ba4c86fc4e119e5f0501e9
Created July 27, 2017 03:39
Enable things on docker build
docker-compose rm --all && docker-compose pull && docker-compose build --no-cache && docker-compose up -d --force-recreate
@ivanrosolen
ivanrosolen / migration.sh
Created September 7, 2017 06:25
Simple SH migration
#!/bin/bash
echo "Host:"
read db_host
echo "User:"
read db_user
echo "Password:"
read db_pwd
@ivanrosolen
ivanrosolen / set_time.md
Created September 24, 2017 16:22
Hora EC2

timedatectl list-timezones timedatectl set-timezone XXXXX timedatectl

dpkg-reconfigure tzdata apt-get install ntp

@ivanrosolen
ivanrosolen / diff
Created October 23, 2017 10:14
Diff dirs
diff -r dir1 dir2 | grep dir1 | awk '{print $4}' > difference1.txt
@ivanrosolen
ivanrosolen / list_docker_php.sh
Created November 30, 2017 20:25
List all docker php tags
wget -q https://registry.hub.docker.com/v1/repositories/php/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}'
@ivanrosolen
ivanrosolen / tcl_var
Created December 20, 2017 19:26
Set Twist Var
proc ivan { } {
global TwistTable
set TwistTable(Variables,Ivan) "lerolero"
return 1
}