Skip to content

Instantly share code, notes, and snippets.

View henriqueutsch's full-sized avatar

Henrique Utsch henriqueutsch

View GitHub Profile
youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=zjKOmkrs6_Q&list=PLN_pi2niJPgS1uK9K1zmzpw0z8aFhBpn0
http://lista.mercadolivre.com.br/pochete-viagem-passaporte#D[A:pochete-viagem-passaporte]
http://www.trekkingbrasil.com/deuter-transport-cover-capa-para-transporte-da-mochila/
http://mochilaotrips.com/o-que-levar-na-mochila-em-uma-viagem-de-um-ano/
http://mochilaotrips.com/o-que-levar-na-mochila/
http://www.extremos.com.br/noticias/110321-Bem-Estar-Mochilas-devem-ter-ate-10-porcento-do-nosso-peso/
http://mochilaotrips.com/mochila-ou-mala/
http://www.numberoneviagens.com.br/blog/dicas-imperdiveis-para-arrumar-a-mala-ao-fazer-intercambio-e-outras-viagens/
http://www.tabonfils.com/lugares-seguro-para-transportar-um-passaporte-e-carteira-em-sua-pessoa/
http://projetoviravolta.com/dicas-para-viajar-o-mundo/o-que-levar-na-mochila/
https://github.com/ember-fastboot/ember-cli-fastboot/issues/46
http://stackoverflow.com/questions/13725236/rails-ipv6-server
rails s -b ::
http://[::]:3000
#Real Time Download Upload
#sudo apt-get install sysstat
#sudo apt-get install gawk
dynamic.12.name=net_download
dynamic.12.source=sudo sar -n DEV 1 1 | grep eth0 | tail -n 1 | gawk '{print $5/1024}' | awk '{printf "%.2f\n", $1}'
#dynamic.12.regexp=(.*)
dynamic.12.postprocess=
dynamic.12.rrd=DERIVE
dynamic.12.max=0
+======================================================================================================+
|Relação de trabalho |CLT | MEI |Simples Nacional |Autonomo |
+======================================================================================================+
|Encargos |11% de INSS + IR|R$53,00 |6% do faturamento |11% de INSS + IR + 5% de ISS|
+======================================================================================================+
|R$ 2.500 |R$ 299,08 |R$53,00 |R$ 150 |R$ 424,08 |
+======================================================================================================+
|R$ 5.000 |R$ 904,39 |R$53,00 |R$ 300 |R$ 1.154,39 |
+======================================================================================================+
|R$ 10.000 |R$ 2.294,53 |R$53,00 |R$ 600 |R$ 2
@henriqueutsch
henriqueutsch / hosts
Created August 3, 2017 17:21
Raspberry Ansible
#This is the Host File.
[raspberry]
192.168.1.147 ansible_ssh_user=pi ansible_ssh_pass=raspberry
@henriqueutsch
henriqueutsch / mountdrivers.sh
Last active July 31, 2018 04:33
Mount Driver
#sudo nano /etc/init.d/mountdrivers.sh
if [[ ! -z `mount | grep "on /media/TimeMachine type hfsplus (ro,"` ]]
then
echo "Reparando disco /media/TimeMachine em /dev/sda1"
sudo umount -l /dev/sda1
sudo fsck.hfsplus -drfy /dev/sda1
sudo mount -a
echo `mount | grep "on /media/TimeMachine type hfsplus (rw,"`
else
echo "Drive /media/TimeMachine montado corretamente"
@henriqueutsch
henriqueutsch / AppleVolumes.default
Last active October 19, 2017 21:32
Arquivos Configuração
#sudo nano /etc/netatalk/AppleVolumes.default
# Netatalk 2.x afp volume cofiguration
/media/TimeMachine "Time Machine" allow:pi,henriqueutsch perm:0770 cnidscheme:cdb options:usedots,upriv,tm
/media/Backup "Backup" allow:pi,henriqueutsch perm:0770 option:upriv
/media/Drive5T "Dive5T" allow:pi,henriqueutsch perm:0770 option:upriv
@henriqueutsch
henriqueutsch / Imprimir.rb
Last active December 6, 2017 03:52
Resumo Geral
#Podemos usar
puts "Imprime algo com puts"
puts 'Imprime algo com puts'
print "Imprime algo com print"
print 'Imprime algo com print'
p "Imprime algo com p"
p 'Imprime algo com p'
#Diferenças
puts => adds a new line to the end of each argument if there is not one already.