See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/ahmadrio/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
# source: | |
# https://discussions.apple.com/message/32354266#message32354266 | |
sudo mdutil -Ea | |
sudo mdutil -ai off | |
sudo mdutil -ai on |
#!/usr/bin/env php | |
# Store in .git/hooks | |
<?php | |
echo "Step 1. Codestyle... "; | |
exec('docker exec -t spaarplanner-php php-cs-fixer fix --dry-run', $output, $returnCode); | |
if ($returnCode !== 0) { | |
echo "FAILED!" . PHP_EOL; |
{ | |
"apps": [{ | |
"name": "laravel-app", | |
"script": "artisan", | |
"args": ["serve", "--host=0.0.0.0", "--port=3333"], | |
"instances": "1", | |
"wait_ready": true, | |
"autorestart": false, | |
"max_restarts": 1, | |
"interpreter" : "php", |
<?php | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Laravel-admin upload setting | |
|-------------------------------------------------------------------------- | |
| | |
| File system configuration for form upload files and images, including | |
| disk and upload path. | |
| |
git config --global alias.a "! git add . && git status" | |
git config --global alias.aa "! git add . && git add -u . && git status" | |
git config --global alias.ac "! git add . && git commit" | |
git config --global alias.acm "! git add . && git commit -m" | |
git config --global alias.alias "! git config --list | grep 'alias\.' | sed 's/alias\.\([^=]*\)=\(.*\)/\1\ => \2/' | sort" | |
git config --global alias.au "! git add -u . && git status" | |
git config --global alias.c "commit" | |
git config --global alias.ca "commit --amend" | |
git config --global alias.cm "commit -m" | |
git config --global alias.co checkout |
SELECT CONCAT('"', email, '"') FROM email_list; |
#!/bin/sh | |
# SPDX-FileCopyrightText: 2017-2022 SanderTheDragon <sanderthedragon@zoho.com> | |
# | |
# SPDX-License-Identifier: MIT | |
curlExists=$(command -v curl) | |
echo "Testing Postman version" |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis