Skip to content

Instantly share code, notes, and snippets.

View rogeriopradoj's full-sized avatar
😀

Rogerio Prado de Jesus rogeriopradoj

😀
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 22 columns, instead of 13 in line 5.
pais,ano,status_desenvolvimento,expectativa_de_vida,mortalidade_adulta,mortes_infantis,consumo_alcool,percentual_gasto_saude,cobertura_hepatite_b,casos_sarampo,imc_medio,mortes_menores_5_anos,cobertura_polio,gasto_total_saude,cobertura_difteria,mortes_hiv_aids,pib_per_capita,populacao,magreza_10_19_anos,magreza_5_9_anos,indice_composicao_renda,anos_escolaridade
Afeganistão,2015,Em desenvolvimento,65.0,263.0,62,0.01,71.27962362,65.0,1154,19.1,83,6.0,8.16,65.0,0.1,584.25921,33736494.0,17.2,17.3,0.479,10.1
Afeganistão,2014,Em desenvolvimento,59.9,271.0,64,0.01,73.52358168,62.0,492,18.6,86,58.0,8.18,62.0,0.1,612.696514,327582.0,17.5,17.5,0.476,10.0
Afeganistão,2013,Em desenvolvimento,59.9,268.0,66,0.01,73.21924272,64.0,430,18.1,89,62.0,8.13,64.0,0.1,631.744976,31731688.0,17.7,17.7,0.47,9.9
Afeganistão,2012,Em desenvolvimento,59.5,272.0,69,0.01,78.1842153,67.0,2787,17.6,93,67.0,8.52,67.0,0.1,669.959,3696958.0,17.9,18.0,0.463,9.8
Afeganistão,2011,Em desenvolvimento,59.2,275.0,71,0.01,7.097108703,68.0,3013,17.2,97,
@rogeriopradoj
rogeriopradoj / composer.json
Created July 2, 2017 17:07
mail.php - phpmailer + mailhog - send mail via smtp
{
"require": {
"phpmailer/phpmailer": "^5.2"
}
}
@rogeriopradoj
rogeriopradoj / Readme.md
Last active May 22, 2025 08:11 — forked from letroll/Readme.md
bash script to split vcard in multiple chunk

copy vcard_splitter.sh chmod +x vcard_splitter.sh ./vcard_splitter.sh yourFile.vcf insert the number of part you want and tada

@rogeriopradoj
rogeriopradoj / composer.json
Created July 2, 2017 19:38
mail.php - swiftmailer + mailhog - send mail via smtp
{
"require": {
"swiftmailer/swiftmailer": "^6.0"
}
}
@rogeriopradoj
rogeriopradoj / zt_VPN.md
Created February 11, 2022 10:17 — forked from markus2120/zt_VPN.md
Route all traffic with a raspberry pi like a VPN
# My pretty prompt:
# - Truncates the first few dirs in long paths
# - red/green prompt based on return value of previous command
# - inserts git branch name if in a repo
# Developed primarily for debian/ubunu systems
# First, some stuff from the Ubunutu .bashrc
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
@rogeriopradoj
rogeriopradoj / launchctl_man.md
Created August 5, 2023 16:30 — forked from stevekm/launchctl_man.md
macOS OS X login items

[source]

This manual page is for Mac OS X version 10.9

If you are running a different version of Mac OS X, view the documentation locally:

    In Terminal, using the man(1) command

Reading manual pages
@rogeriopradoj
rogeriopradoj / entware zerotier
Created July 27, 2023 05:00 — forked from ssky87/entware zerotier
LibreElec / CoreElec ZeroTier
// install entware
installentware // for coreelec
wget -O - http://bin.entware.net/armv7sf-k3.2/installer/generic.sh | sh // for libreelec rasbperry 3
// update && install zerotier
opkg update
opkg install zerotier
// start the daemon
@rogeriopradoj
rogeriopradoj / autostart.sh
Created July 27, 2023 04:47 — forked from beancurd1/autostart.sh
CoreELEC or LibreELEC autostart.sh to auto start scripts upon reboot
# this located in /storage/.config/autostart.sh on a CoreELEC box, run chmod +x to make it executable
# use nohup to run the script in the backgroud
# nohup /storage/freemyip/updateDynDNS.sh &
# use this to run once off tasks
(
# pause few seconds to wait for network & time services to start
sleep 5
DT=$(date +"%m-%d-%Y, %r")
echo "Box rebooted on $DT, running tasks in autostart.sh" >> /storage/freemyip/DynDNSUpdate.log
@rogeriopradoj
rogeriopradoj / 1.md
Last active January 17, 2023 08:45
Referências para apresentação "Meu primeiro chatbot em PHP com o BotMan.io" no PHPSP + Talks #3 - Novatec - https://www.meetup.com/php-sp/events/239146781/