Skip to content

Instantly share code, notes, and snippets.

View shashinvision's full-sized avatar

Felipe M. shashinvision

View GitHub Profile
@Klerith
Klerith / instalaciones-node.md
Created January 26, 2021 22:39
Instalaciones recomendadas y obligatorias para seguir el curso de Node
@kolosek
kolosek / asterisk.sh
Last active July 24, 2024 14:02 — forked from linuxoracledev/asterisk.sh
Install Asterisk 16 LTS on Ubuntu 18.04 / 16.04 & Debian 10/9
#Update system & reboot
sudo apt update && sudo apt -y upgrade
sudo reboot
#Install Asterisk 16 LTS dependencies
sudo apt -y install git curl wget libnewt-dev libssl-dev libncurses5-dev subversion libsqlite3-dev build-essential libjansson-dev libxml2-dev uuid-dev
#Add universe repository and install subversio
sudo add-apt-repository universe
sudo apt update && sudo apt -y install subversion
@Raulebc
Raulebc / MySQL:regiones-provincias-comunas-chile.sql
Last active July 18, 2024 03:18
MySQL-Chile:regiones-provincias-comunas
Script comunas, regiones, provincias Junio 2022
DROP TABLE IF EXISTS `comunas`;
CREATE TABLE `comunas` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`comuna` varchar(64) NOT NULL,
`provincia_id` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=346 DEFAULT CHARSET=utf8;
@Klerith
Klerith / parse-jwt.js
Created March 15, 2018 15:07
Parse - JWT - Obtener Payload y fecha de creación y expiración
function parseJwt (token) {
var base64Url = token.split('.')[1];
var base64 = base64Url.replace('-', '+').replace('_', '/');
return JSON.parse(window.atob(base64));
};
@juanbrujo
juanbrujo / comunas-regiones.json
Last active July 8, 2024 15:00 — forked from sergiohidalgo/comunas-regiones-chile.json
Comunas y regiones de chile 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"]
},

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: