/app
├── /Application
| ├── /Exceptions
| ├── /Middlewares
| ├── /Providers
| ├── /Requests
├── /Domain
| ├── /MyDomainA
| | ├── /Contracts
MIT License | |
Copyright (c) 2018 Noel Bundick | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
"controller_mappings" | |
{ | |
"version" "3" | |
"title" "GW2 Total Control by CoryOp v1" | |
"description" "#SettingsController_AutosaveDescription" | |
"creator" "76561198141443709" | |
"controller_type" "controller_steamcontroller_gordon" | |
"group" | |
{ | |
"id" "0" |
<?php | |
function array_diff_assoc_recursive($array1, $array2) { | |
$difference=array(); | |
foreach($array1 as $key => $value) { | |
if( is_array($value) ) { | |
if( !isset($array2[$key]) || !is_array($array2[$key]) ) { | |
$difference[$key] = $value; | |
} else { | |
$new_diff = array_diff_assoc_recursive($value, $array2[$key]); |
1- Adicionar a variável de ambiente CMDER_ROOT com o caminho para C:\laragon\bin\cmder (local do cmder no computador)
2- Abrir o phpstorm, ir em File (Menu) > Settings > Tools > Terminal e alterar o caminho padrão "cmd.exe" para:
"cmd.exe" /k ""%CMDER_ROOT%\vendor\init.bat""
3- Pode acontecer de a variável CMDER_ROOT não estar pronta, você pode precisar reiniciar sua máquina.
#!/usr/bin/env bash | |
# Upgrade an Amazon Linux EC2 to PHP 7.3 | |
# | |
# Last tested w/ PHP 7.2 AWS Linux version 2.8.5 | |
# | |
# Must be ran as sudo: | |
# sudo bash upgrade-php7.sh | |
# | |
# Can be added to ./.ebextensions/20_php.config like so: | |
# container_commands: |
Isso permite que a aba com o laravel no navegador seja automaticamente atualizada a cada arquivo modificado no projeto. Ou seja, cada vez que você editar um arquivo no Visual Code, ao salvar esse arquivo o resultado será refletido automaticamente na aba do chrome.
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple
) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic
module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Older Keychron keyboards (those not based on QMK) use the hid_apple
driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.
################### | |
##### SOURCES ##### | |
################### | |
##### Aliases ##### | |
## Git | |
export GH_HOST=github.com | |
function clone { [[ -z "$1" ]] && echo "Error: Missing repo name parameter" && return 2; local git_org=$(basename $(pwd)); echo "Cloning [$git_org/$1] ..."; git clone "git@$GH_HOST:$git_org/$1.git"; } |
- Download MailHog: https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_windows_amd64.exe
- Move it to `C:\laragon\usr\bin\MailHog.exe
- Open Laragon's Procfile (Menu > Laragon > Procfile) and add these lines: MailHog: MailHog.exe autorun MailHog Admin: http://localhost:8025 autorun
- Stop Laragon
- Close/Edit completely
- Start Laragon