Skip to content

Instantly share code, notes, and snippets.

View FabioBeneditto's full-sized avatar
📸
#mototerapia é vida

Fabio Beneditto FabioBeneditto

📸
#mototerapia é vida
View GitHub Profile
@da-n
da-n / gist:9998623
Created April 5, 2014 22:01
Rename a tag in git

Rename a git tag old to new:

git tag new old
git tag -d old
git push origin :refs/tags/old
git push --tags

The colon in the push command removes the tag from the remote repository. If you don't do this, git will create the old tag on your machine when you pull.

-- source http://stackoverflow.com/a/5719854/695454

@asessa
asessa / gist:bf389070d76aaaf3987b
Created June 7, 2015 23:33
node-html-pdf header/footer test
var pdf = require('html-pdf');
var options = {
'format': 'A4',
'border': '1cm',
'header': {
'height':'5cm'
},
'footer': {
'footer': '5cm'
@odan
odan / xampp_php7_xdebug.md
Last active February 25, 2025 20:49
Installing Xdebug for XAMPP
@eminetto
eminetto / VagaBackendCoderockr.md
Last active May 15, 2017 17:27
Vaga desenvolvedor Backend Coderockr

Requisitos

  • Conhecimentos avançados em Orientação a Objetos
  • Conhecimentos avançados em linguagens de programação para backend como PHP, Python, Go
  • Conhecimentos em algum framework como Zend Framework, Zend Expressive, Silex, Django, Symfony ou similares
  • Conhecimentos em ORMs como Doctrine 2 (entidades, relacionamentos, consultas)
  • Conhecimentos avançados em testes unitários
  • Conhecimentos em banco de dados como MySQL e PostgreSQL
  • Conhecimentos em Git (branches, Pull Requests)
  • Inglês técnico, pelo menos para leitura
@vinicius73
vinicius73 / post.md
Created November 22, 2016 12:26
["LÓGICA DE PROGRAMAÇÃO" É BOBAGEM, e explicarei porquê.]

#["LÓGICA DE PROGRAMAÇÃO" É BOBAGEM, e explicarei porquê.]

Se preparem que o texto é longo.

Várias vezes chegam novatos aqui perguntando como começar, e a galera diz "estuda lógica primeiro, depois vai pra linguagem X". Vivo dizendo que é bobagem. Ontem, em particular, falei isso, e vieram várias pessoas por inbox me perguntar porquê (e uma pra me xingar, achando que falei por arrogância).

Pra facilitar, eu vou escrever uma boa explicação de porquê "lógica de programação" é furada, doa a quem doer, e postar na APDA e no fórum da EnergyLabs (para futuras referências, porque esse assunto vai voltar, ctz).

@hewerthomn
hewerthomn / install_oci8_ubuntu_16.04_php7.1.md
Created February 22, 2017 14:45
How to install OCI8 on Ubuntu 16.04 and PHP 7.1
@lbssousa
lbssousa / Vagrantfile
Last active March 8, 2019 16:36
Configurando uma máquina virtual minimalista do Ubuntu 16.04 no VirtualBox para Internet Banking da Caixa Econômica Federal
# -*- mode: ruby -*-
# vi: set ft=ruby :
$script = <<ENDSCRIPT
Home="/home/ubuntu"
# Altere os valores abaixo de acordo com o seu banco
Modulo="GBPCEFwr64.deb"
UrlModulo="https://cloud.gastecnologia.com.br/cef/warsaw/install/${Modulo}"
UrlBanco="http://www.caixa.gov.br"
@Patola
Patola / Vagrantfile
Last active October 21, 2020 15:39 — forked from lbssousa/Vagrantfile
Configurando uma máquina virtual minimalista do Ubuntu 16.04 no VirtualBox para Internet Banking da Caixa Econômica Federal
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Requer o plugin vagrant-vbguest. Se necessário, instale-o com o comando
#
# vagrant plugin install vagrant-vbguest
#
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.provider "virtualbox" do |vb|
@aravindkumarsvg
aravindkumarsvg / set-prompt.ps1
Last active April 30, 2024 23:14
Sets the git branch name in the powershell prompt like git bash
# Add this function to the Profile script
# Use the following command to generate the Profile script
#
# $profileTest = Test-Path $PROFILE
# if ($profileTest -eq $FALSE) {
# New-Item $PROFILE -Type File
# }
#
# OR
#