Skip to content

Instantly share code, notes, and snippets.

Working on Code

Lucas lucasprogamer

Working on Code
View GitHub Profile

.git-ftp-ignore | Conteúdo abaixo

bower_components/* node_modules/*

.git-ftp-include | Conteúdo abaixo


Dentro da pasta .git, checar arquivo config

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" />
EyMaddis / whatsapp-send-in-current-chat.js
Created Nov 4, 2016
Sending messages programmatically on
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
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;
View estados-cidades.json
"estados": [
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Assis Brasil",
wosephjeber /
Last active Nov 23, 2020
Installing ngrok on Mac

Installing ngrok on OSX

brew cask install ngrok

Using ngrok

The easiest way to use ngrok to tunnel into your localhost is if your local project is running on a specific port (e.g. not using named vhosts). You just run ngrok http [port number].

You can quickly boot up a local webserver using ruby. cd into the project's root directory and run ruby -run -e httpd . -p [port number].

homestead up
homestead ssh
apt-get update
#Additional Packages
apt-get install -y zsh
3runoDesign / Procfile
Last active Sep 22, 2017
Deploy Heroku [Laravel 5.2.*]
View Procfile
web: sh
worker: php artisan queue:listen
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 ( */
$.datepicker.regional['pt-BR'] = {
closeText: 'Fechar',
prevText: '&#x3c;Anterior',
nextText: 'Pr&oacute;ximo&#x3e;',
currentText: 'Hoje',
monthNames: ['Janeiro','Fevereiro','Mar&ccedil;o','Abril','Maio','Junho',
You can’t perform that action at this time.