Skip to content

Instantly share code, notes, and snippets.

Working on Code

Lucas lucasprogamer

Working on Code
View GitHub Profile
homestead up
homestead ssh
apt-get update
#Additional Packages
apt-get install -y zsh
View babun on cmder
tasks parameters
/icon "%userprofile%\.babun\cygwin\bin\mintty.exe" /dir "%userprofile%"
%userprofile%\.babun\cygwin\bin\mintty.exe /bin/env CHERE_INVOKING=1 /bin/zsh.exe
View Sublime on Windows
Adding Sublime to Your PATH
System Properties -> Advanced System Settings -> Advanced -> Environment Variables
our open cmd and execute sysdm.cpl>
Create a New System Variable
with name SUBLIME
and the value is a folder where you installed sublime
View git save credencials.txt
You can store your credentials using the following command
$ git config credential.helper store
$ git push
Username: <type your username>
Password: <type your password>
View Rebooting VM
First destroy the VM's
vagrant global-status
vagrant destrou 'id-vm'
Second step create a new VM
vagrant box add laravel/homestead
lucasprogamer / Fanpage Invite All People who Like your Posts
Last active Jun 9, 2016
Convidar quem curtiu um post do facebook
View Fanpage Invite All People who Like your Posts
var inputs = document.querySelectorAll('a._42ft._4jy0._4jy3._517h');
for(var i=1; i<inputs.length;i++) {
View .zshrc
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
# Uncomment the following line to use case-sensitive completion.
View estados-cidades.json
"estados": [
"sigla": "AC",
"nome": "Acre",
"cidades": [
"Assis Brasil",
View Sublime Laravel Snippets
Menu->Tools->Developer->New Snipper..
<!-- dd($object) -->
View ngrok install
1 install with homebrew
- brew cask install ngrok
2 try run it
- ngrok http 80