yum -y update
yum -y install epel-release screen zip unzip git curl wget vim
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
## PHP | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt update | |
sudo apt install php8.2-cli php8.2-dev php8.2-pgsql php8.2-sqlite3 php8.2-gd php8.2-imagick \ | |
php8.2-curl php8.2-imap php8.2-mysql php8.2-mbstring php8.2-xml php8.2-zip \ | |
php8.2-bcmath php8.2-soap php8.2-intl php8.2-readline php8.2-ldap php8.2-msgpack \ | |
php8.2-igbinary php8.2-redis php8.2-memcache php8.2-pcov php8.2-xdebug |
This is adapted from Angular's commit convention.
Messages must be matched by the following regex:
/^(revert: )?(feat|fix|docs|dx|style|refactor|perf|test|workflow|build|ci|chore|types|wip)(\(.+\))?: .{1,50}/
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
#!/usr/bin/env bash | |
# default branch name of git repository | |
$BRANCH="main" | |
set -e | |
# ensure current directory is root of repository. | |
if [ ! -f artisan ] | |
then |
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
[ | |
/** | |
* Panels | |
**/ | |
{ | |
"key": "cmd+k cmd+e", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "cmd+k cmd+g", |
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
<?php | |
$finder = PhpCsFixer\Finder::create() | |
->notPath('storage/*') | |
->name('*.php') | |
->notName('*.blade.php') | |
->ignoreDotFiles(true) | |
->ignoreVCS(true) | |
; |
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
<?php | |
namespace App\Http\Controllers; | |
use Illuminate\Contracts\Auth\Authenticatable; | |
use Illuminate\Foundation\Auth\Access\AuthorizesRequests; | |
use Illuminate\Foundation\Bus\DispatchesJobs; | |
use Illuminate\Foundation\Validation\ValidatesRequests; | |
use Illuminate\Http\JsonResponse; | |
use Illuminate\Routing\Controller as BaseController; |
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
<scheme name="Nord" version="142" parent_scheme="Darcula"> | |
<metaInfo> | |
<property name="created">2021-08-20T10:56:55</property> | |
<property name="ide">PhpStorm</property> | |
<property name="ideVersion">2021.2.0.0</property> | |
<property name="modified">2021-08-20T10:56:59</property> | |
<property name="originalScheme">_@user_Nord</property> | |
</metaInfo> | |
<colors> | |
<option name="ANNOTATIONS_COLOR" value="d8dee9" /> |
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
{ | |
/** | |
* Better Defaults | |
**/ | |
"editor.copyWithSyntaxHighlighting": false, | |
"editor.cursorSmoothCaretAnimation": true, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"editor.emptySelectionClipboard": false, | |
"workbench.editor.enablePreview": false, | |
"window.newWindowDimensions": "inherit", |
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
function phpv() { | |
valet stop | |
brew unlink [email protected] php | |
brew link --force --overwrite $1 | |
brew services start $1 | |
composer global update | |
rm -f ~/.config/valet/valet.sock | |
valet install | |
} |
NewerOlder