Skip to content

Instantly share code, notes, and snippets.

View yorch's full-sized avatar

Jorge Barnaby yorch

  • SentinelOne
  • Miami, FL
View GitHub Profile
@yorch
yorch / server-setup.sh
Last active June 26, 2020 03:41
Ubuntu server setup (14.04+)
#!/bin/bash
# Timezone
timedatectl set-timezone America/New_York
# Locales
locale-gen en_US.UTF-8
locale-gen en_CA.UTF-8
apt-get update
@yorch
yorch / renamer.go
Created September 16, 2018 13:27 — forked from eko/renamer.go
Photo renamer in Golang based on EXIF format
package main
import (
"errors"
"flag"
"fmt"
"github.com/rwcarlsen/goexif/exif"
"os"
"path"
"path/filepath"
@yorch
yorch / ispconfig-migration.sh
Created March 7, 2014 12:39
ISPConfig 3 script to move installation from one server to another
#!/bin/bash
# Migrate ISPConfig 3 installation from one server to another
# This script should run on the final/destination ISPConfig 3 server
# You must first install the same ISPConfig on the destination server
# and make sure to create all the users from the previous installation
# (ISPConfig creates users for each client and web page)
# Tested on ISPConfig version 3.0.5.3
# Created by Jorge Barnaby (@jbarnaby) - March 2014
# EDIT YOUR PREVIOUS ISPCONFIG SERVER HERE