Skip to content

Instantly share code, notes, and snippets.

Avatar
😀

Rogerio Prado de Jesus rogeriopradoj

😀
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am rogeriopradoj on github.
  • I am rogeriopradoj (https://keybase.io/rogeriopradoj) on keybase.
  • I have a public key whose fingerprint is CDD2 FCA1 3495 D656 D21D C738 0C41 53AC 984C 37E5

To claim this, I am signing this object:

View phpsp.org.br-integrity.csv
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 10.
"Status","URL","Appears on","Link Text"
"200 no error","http://phpsp.org.br","739 occurrences over more than one page",""
"200 no error","http://phpsp.org.br/index.php/category/artigos","269 occurrences over more than one page",""
"200 no error","http://phpsp.org.br/index.php/category/artigos/des-sobrinhacao","254 occurrences over more than one page",""
"200 no error","http://phpsp.org.br/index.php/category/comunidade","255 occurrences over more than one page",""
"200 no error","http://phpsp.org.br/index.php/category/comunidade/artigos-de-convidados","256 occurrences over more than one page",""
"200 no error","http://phpsp.org.br/index.php/category/comunidade/blogs","282 occurrences over more than one page",""
"500 internal server error","http://phpsp.org.br/index.php/category/cursos","256 occurrences over more than one page",""
"500 internal server error","http://phpsp.org.br/index.php/category/cursos/mao-na-massa","247 occurrences over more than one page",""
"500 internal server error","http://phpsp.org.br/
@rogeriopradoj
rogeriopradoj / Vagrantfile
Last active Aug 29, 2015
phpsp-test-fest-2014 #phpsp #phptestfest
View Vagrantfile
# -*- 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."
@rogeriopradoj
rogeriopradoj / 1.md
Last active Aug 29, 2015
PHPSP + TestFest, PHPSP+TestFest , #phpspMaisTestFest - referências - foundation
View 1.md
@rogeriopradoj
rogeriopradoj / composer.json
Last active Aug 29, 2015
CodeIgniter + Composer + PHP 5.2 ou PHP 5.3
View composer.json
{
"require": {
"rogeriopradoj/codeigniter": "*",
"xrstf/composer-php52": "*"
},
"require-dev": {
"phpunit/phpunit": "*",
"squizlabs/php_codesniffer": "*"
},
"scripts": {
View bison
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
sudo apt-get install libxml2-dev
@rogeriopradoj
rogeriopradoj / 1.sh
Created Jul 6, 2014
php-build bison mcrypt boxen mac os x (1.sh: ok command; 2.sh: not ok command; 3.log: error message when trying to use 2.sh)
View 1.sh
$ CONFIGURE_OPTS="--with-mcrypt=/opt/boxen/homebrew/opt/mcrypt" php-build -i development --pear 5.5.14 ~/.phpenv/versions/5.5.14 ; say php-build acabou
View phpsp-testfest-pull-requests.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
#;contributor;branch_PHPSP;branch_contributor;number_of_tests;pull_request_title
2;caferrari;PHPSP:master;caferrari:tests-imagepalettetotruecolor;4;"GD: imagepalettetotruecolor tests"
3;mauriciovieira;PHPSP:master;mauriciovieira:xmlwriter;4;"xmlwriter new tests"
4;marcelod;PHPSP:master;marcelod:master;3;"tests image gd"
5;sobreirami;PHPSP:master;sobreirami:ReflectionExtension;2;"Feedback Validating function ReflectionExtension"
6;pokemaobr;PHPSP:master;pokemaobr:master;20;"teste basico da funcao timezone_version_get"
7;royopa;PHPSP:master;royopa:master;38;"added various tests for XSLTProcessor and one test for iconv extension"
8;pedromanoel;PHPSP:master;pedromanoel:readline_read_history-error;1;"Readline read history error"
9;marcosptf;PHPSP:master;marcosptf:phpspTestMarcosptf;5;"Phpsp test marcosptf"
@rogeriopradoj
rogeriopradoj / .gitattributes
Last active Aug 29, 2015
consertar line endings git windows
View .gitattributes
# Auto detect text files and perform LF normalization
* text eol=lf
# Faz com que arquivos gerados pelo SQL Server sejam tratados como texto
*.DTS sql diff
*.JOB sql diff
*.PRC sql diff
*.TAB sql diff
*.TRG sql diff
*.VIW sql diff
@rogeriopradoj
rogeriopradoj / 1.md
Last active Aug 29, 2015
syncing PHPSP/php-src fork (PHPSP as origin, php as upstream) #phpspMaisTestFest
View 1.md
$ wget http://git.io/OrBwYg \
--output-document=/tmp/sync_phpsp_php-src_fork.sh \
--no-check-certificate

$ chmod +x /tmp/sync_phpsp_php-src_fork.sh

$ /tmp/sync_phpsp_php-src_fork.sh

#############################
You can’t perform that action at this time.