Skip to content

Instantly share code, notes, and snippets.

View rogeriopradoj's full-sized avatar
😀

Rogerio Prado de Jesus rogeriopradoj

😀
View GitHub Profile
00*=/http/bases/00*
phl_*=/http/bases/phl_*
LOG*=/http/www/phl82/log/LOG*
actab=/http/bases/actab
uctab=/http/bases/uctab
menu*=/http/www/phl82/html/menu*
cabe*=/http/www/phl82/html/cabe*
mens*=/http/www/phl82/html/mens*
rest*=/http/www/phl82/html/rest*
inde*=/http/www/phl82/html/inde*
@rogeriopradoj
rogeriopradoj / Erro404
Created April 12, 2012 00:15
Vagrantfile e duodraco.pp
// Tentando acessar o endereço http://duodraco.local
Not Found
The requested URL /usr/lib/cgi-bin/php5.external/index.php was not found on this server.
Apache/2.2.20 (Ubuntu) Server at duodraco.local Port 80
@rogeriopradoj
rogeriopradoj / gist:2405270
Created April 17, 2012 10:54 — forked from jordanbrock/gist:2404532
Vagrantfile for openphoto server
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "vagrant-oneiric"
config.vm.provision :chef_solo do |chef|
chef.binary_path = "/path/to/chef/binary/"
chef.cookbooks_path = "/path/to/chef/cookbooks"
@rogeriopradoj
rogeriopradoj / javascript.js
Created April 19, 2012 21:16
Javascript onload?
(function() {
// code here
})();
@rogeriopradoj
rogeriopradoj / gist:3768444
Created September 23, 2012 01:18
Vagrant: O que, Por que e Como - Passo 2
$ gem install vagrant
@rogeriopradoj
rogeriopradoj / gist:3768450
Created September 23, 2012 01:20
Vagrant: O que, Por que e Como - Passo 1
PATH=$PATH:/Applications/VirtualBox.app/Contents/MacOS/
export PATH
@rogeriopradoj
rogeriopradoj / gist:3768740
Created September 23, 2012 03:30
Vagrant: O que, Por que e Como - Passo 3 - 1
mkdir -p ~/Vagrant/test
cd ~/Vagrant/test
@rogeriopradoj
rogeriopradoj / gist:3768743
Created September 23, 2012 03:32
Vagrant: O que, Por que e Como - Passo 3 - 2
vagrant box add precise32 http://files.vagrantup.com/precise32.box
@rogeriopradoj
rogeriopradoj / gist:3768748
Created September 23, 2012 03:34
Vagrant: O que, Por que e Como - Passo 3 - 3
vagrant init precise32
vagrant up
@rogeriopradoj
rogeriopradoj / gist:3768750
Created September 23, 2012 03:35
Vagrant: O que, Por que e Como - Passo 3 - 4
vagrant ssh