Skip to content

Instantly share code, notes, and snippets.

Avatar
🕶️
Working on Code

Lucas lucasprogamer

🕶️
Working on Code
View GitHub Profile
@Senhordim
Senhordim / ui.datepicker-pt-BR.js
Created Dec 28, 2013
Tradução datepicker pt-BR
View ui.datepicker-pt-BR.js
/* Brazilian initialisation for the jQuery UI date picker plugin. */
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
jQuery(function($){
$.datepicker.regional['pt-BR'] = {
closeText: 'Fechar',
prevText: '<Anterior',
nextText: 'Próximo>',
currentText: 'Hoje',
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
@3runoDesign
3runoDesign / Procfile
Last active Sep 22, 2017
Deploy Heroku [Laravel 5.2.*]
View Procfile
web: sh app_boot.sh
worker: php artisan queue:listen
View install_zsh.sh
#!/bin/bash
homestead up
homestead ssh
apt-get update
#Additional Packages
apt-get install -y zsh
@wosephjeber
wosephjeber / ngrok-installation.md
Last active Apr 13, 2021
Installing ngrok on Mac
View ngrok-installation.md

Installing ngrok on OSX

For Homebrew v2.6.x and below:

brew cask install ngrok

For Homebrew v2.7.x and above:

View estados-cidades.json
{
"estados": [
{
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Acrelândia",
"Assis Brasil",
"Brasiléia",
"Bujari",
@EyMaddis
EyMaddis / whatsapp-send-in-current-chat.js
Created Nov 4, 2016
Sending messages programmatically on web.whatsapp.com
View whatsapp-send-in-current-chat.js
// this allows to send arbitrary messages. The chat conversation you want to send messages to has to be open.
// just run this in the JS console
// http://stackoverflow.com/a/39165137/1249001
function findReactComponent(dom) {
for (var key in dom)
if (key.startsWith("__reactInternalInstance$")) {
var compInternals = dom[key]._currentElement;
var compWrapper = compInternals._owner;
var comp = compWrapper._instance;
@adambene
adambene / index.html
Created Dec 5, 2016
Custom File Upload Button With Pure CSS
View index.html
<div class="upload-btn-wrapper">
<button class="btn">Upload a file</button>
<input type="file" name="myfile" />
</div>
View set-robot-git-ftp.md

.git-ftp-ignore | Conteúdo abaixo

bower_components/* node_modules/*

.git-ftp-include | Conteúdo abaixo

vendor/:composer.lock

Dentro da pasta .git, checar arquivo config