This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
homestead up | |
homestead ssh | |
apt-get update | |
#Additional Packages | |
apt-get install -y zsh | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Settings>startups>tasks> | |
tasks parameters | |
/icon "%userprofile%\.babun\cygwin\bin\mintty.exe" /dir "%userprofile%" | |
commands | |
%userprofile%\.babun\cygwin\bin\mintty.exe /bin/env CHERE_INVOKING=1 /bin/zsh.exe | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://scotch.io/tutorials/open-sublime-text-from-the-command-line-using-subl-exe-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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can store your credentials using the following command | |
$ git config credential.helper store | |
$ git push http://example.com/repo.git | |
Username: <type your username> | |
Password: <type your password> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First destroy the VM's | |
vagrant global-status | |
vagrant destrou 'id-vm' | |
Second step create a new VM | |
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var inputs = document.querySelectorAll('a._42ft._4jy0._4jy3._517h'); | |
for(var i=1; i<inputs.length;i++) { | |
inputs[i].click(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. | |
ZSH_THEME="agnoster" | |
# Uncomment the following line to use case-sensitive completion. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"estados": [ | |
{ | |
"sigla": "AC", | |
"nome": "Acre", | |
"cidades": [ | |
"Acrelândia", | |
"Assis Brasil", | |
"Brasiléia", | |
"Bujari", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Menu->Tools->Developer->New Snipper.. | |
<!-- dd($object) --> | |
<snippet> | |
<tabTrigger>dd</tabTrigger> | |
<content><![CDATA[ | |
dd(${1:this}); | |
]]></content> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 install with homebrew | |
- brew cask install ngrok | |
2 try run it | |
- ngrok http 80 |
OlderNewer