Skip to content

Instantly share code, notes, and snippets.

# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.scope = :box
else
puts "_Info_: Plugin '''vagrant-cachier''' is not installed."
@royopa
royopa / after_install_ubuntu
Last active August 29, 2015 14:02
After install Ubuntu
Sublime Text
------------
http://www.sublimetext.com/3
Oracle Virtual Box
------------------
https://www.virtualbox.org/wiki/Downloads
Dropbox
-------
@royopa
royopa / bison
Last active August 29, 2015 14:03
Instalar versão 2.7 bison para que o ./configure funcione
I installed last pkgs of bison (2.7.1) and libbison-dev (2.7.1) from Saucy and it worked like a charm.
wget http://launchpadlibrarian.net/140087283/libbison-dev_2.7.1.dfsg-1_amd64.deb
wget http://launchpadlibrarian.net/140087282/bison_2.7.1.dfsg-1_amd64.deb
sudo dpkg -i libbison-dev_2.7.1.dfsg-1_amd64.deb
sudo dpkg -i bison_2.7.1.dfsg-1_amd64.deb
Done.
source
#!/usr/bin/env python
import argparse
import re
import os
import subprocess
try:
import json
except ImportError:
import simplejson as json
#!/bin/bash
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install git subversion php5-cli php-pear sublime-text-installer php5-sqlite
mkdir ~/translation_fest
cd ~/translation_fest
git clone https://git.php.net/repository/phd.git
@royopa
royopa / migration52.patch
Created December 25, 2014 22:22
Patch pt_BR/appendices/migration52.xml
Index: migration52.xml
===================================================================
--- migration52.xml (revision 335367)
+++ migration52.xml (working copy)
@@ -1,73 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
+<!-- EN-Revision: 335367 Maintainer: none Status: ready -->
+<!-- CREDITS: [email protected], [email protected], __royopa, [email protected] -->
<appendix xml:id="migration52" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@royopa
royopa / reserved.patch
Last active August 29, 2015 14:12
[DOC-PT-BR] Updating appendices/reserved.xml - Rodrigo Prado de Jesus <[email protected]>
Index: reserved.xml
===================================================================
--- reserved.xml (revision 335473)
+++ reserved.xml (working copy)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 332349 Maintainer: none Status: wip --><!-- CREDITS: ae, thiago, AlexAntonio -->
+<!-- EN-Revision: 332349 Maintainer: none Status: ready --><!-- CREDITS: ae, thiago, AlexAntonio, [email protected] -->
<appendix xml:id="reserved" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@royopa
royopa / sessions.patch
Last active August 29, 2015 14:12
[DOC-PT-BR] Updating features/sessions.xml - Rodrigo Prado de Jesus <[email protected]>
Index: sessions.xml
===================================================================
--- sessions.xml (revision 335473)
+++ sessions.xml (working copy)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 297028 Maintainer: narigone Status: ready --><!-- CREDITS: pauloelr -->
+<!-- EN-Revision: 297028 Maintainer: narigone Status: ready --><!-- CREDITS: pauloelr, [email protected] -->
<chapter xml:id="features.sessions" xmlns="http://docbook.org/ns/docbook">
<title>Sessões</title>
@royopa
royopa / splittext.patch
Last active August 29, 2015 14:12
Updating /reference/dom/domtext/splittext.xml - Rodrigo Prado de Jesus <[email protected]>
Index: splittext.xml
===================================================================
--- splittext.xml (revision 335473)
+++ splittext.xml (working copy)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 322382 Maintainer: thiago Status: ready -->
+<!-- EN-Revision: 322382 Maintainer: thiago Status: ready --><!-- CREDITS: [email protected] -->
<refentry xml:id='domtext.splittext' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@royopa
royopa / trigger-error.patch
Created December 30, 2014 11:07
Updating reference/errorfunc/functions/trigger-error.xml - Rodrigo Prado de Jesus <[email protected]>
Index: trigger-error.xml
===================================================================
--- trigger-error.xml (revision 335479)
+++ trigger-error.xml (working copy)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 331617 Maintainer: fernandoc Status: revision -->
+<!-- EN-Revision: 331617 Maintainer: fernandoc Status: ready --><!-- CREDITS: [email protected] -->
<refentry xml:id="function.trigger-error" xmlns="http://docbook.org/ns/docbook">
<refnamediv>