Skip to content

Instantly share code, notes, and snippets.

View rbarros's full-sized avatar

Ramon Barros rbarros

  • Tr4ctor Soluções Inteligentes
  • Brazil
View GitHub Profile
@rbarros
rbarros / .bash_aliases
Created June 23, 2017 13:48
Configuration of the BASH for Arch Linux.
# File: ~/bash_aliases
# Author: Oliver Michels <oliver.michels@gmx.net>
# Desc: Definition of some useful aliases for the bash
# Some common shortcuts for file-/directory commands
alias ls='ls --color=auto'
alias la='ls -a'
alias ll='ls -l'
alias lla='ls -la'
alias l='ls'
@rbarros
rbarros / mysql_secure.sh
Created June 1, 2016 13:49 — forked from enoch85/mysql_secure.sh
Automating mysql_secure_installation for MySQL 5.7
#!/bin/bash
aptitude -y install expect
// Not required in actual script
MYSQL_ROOT_PASSWORD=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 10
#!/usr/bin/sh
# Scipt for installing mcrypt.so extension for PHP 5.3.13 (default PHP for OS X 10.8 Mountain Lion)
mkdir /tmp/gettext
cd /tmp/gettext
curl --location --progress-bar http://br1.php.net/get/php-5.3.29.tar.gz/from/this/mirror | tar -zx
brew update