Skip to content

Instantly share code, notes, and snippets.

View RicardoWEBSiTE's full-sized avatar
👨‍💻

Ricardo Nascimento RicardoWEBSiTE

👨‍💻
View GitHub Profile
@RicardoWEBSiTE
RicardoWEBSiTE / gist:4248343
Created December 10, 2012 04:12 — forked from saetia/gist:1623487
Clean Install – Mountain Lion OS X 10.8
@RicardoWEBSiTE
RicardoWEBSiTE / st2.sh
Created February 11, 2014 20:16
Sync installed packages & preferences across machines with Dropbox
#!/bin/bash
echo -n "Sublime Text 2 or 3? "
read version
echo "Removing file system packages"
rm -r ~/Library/Application\ Support/Sublime\ Text\ $version/Installed\ Packages
rm -r ~/Library/Application\ Support/Sublime\ Text\ $version/Packages
rm -r ~/Library/Application\ Support/Sublime\ Text\ $version/Pristine\ Packages
@RicardoWEBSiTE
RicardoWEBSiTE / vagrantstrap.sh
Created February 5, 2014 21:47
Vagrant Bootstrapping Ubuntu Precise 32bit for Laravel 4, Apache 2.2.22, PHP 5.4, MySQL 5.5 , Vim, cURL, Git, Composer, pip, HTTPie
#!/usr/bin/env bash
# Configurable variables
database='vagrant'
username='vagrant'
password='vagrant'
echo ''
echo ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
echo ' Bootstrapping Ubuntu Precise 32bit for Laravel 4'
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Configure your Laravel 4 project for this virtual machine
#
# 1- Add this environment in your project's start.php file:
#
# bootstrap/start.php:
# $env = $app->detectEnvironment(array(
# 'vagrant' => array('vagrant-laravel4')