Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| # Change these variables as necessary. | |
| main_package_path = ./cmd/example | |
| binary_name = example | |
| # ==================================================================================== # | |
| # HELPERS | |
| # ==================================================================================== # | |
| ## help: print this help message | |
| .PHONY: help |
| <?php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Facades\DB; | |
| use Illuminate\Support\Str; | |
| class SetModelAttributes extends Command | |
| { |
| #!/usr/bin/env bash | |
| # set -euo pipefail | |
| # IFS=$'\n\t' | |
| function deploy() { | |
| # zero downtime deployment nextjs without vercel | |
| echo "Deploy starting..." | |
| git pull |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| <?php | |
| namespace App\Providers; | |
| use App\Support\Utils\OctaModal; | |
| use App\Support\Utils\OctaResponse; | |
| use Illuminate\Support\Facades\Cache; | |
| use Illuminate\Support\Facades\Session; | |
| use Illuminate\Support\ServiceProvider; | |
| use Inertia\Inertia; |
| #!/bin/sh | |
| set -e | |
| vendor/bin/phpunit | |
| npm run prod | |
| git add . | |
| (git commit -m "Build frontend assets for deployment to production") || true | |
| (git push) || true |
| ffmpeg -i "c:/videos/sample.mp4 | |
| -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 -map 0:v:0 -map 0:a:0 | |
| -c:v libx264 -crf 22 -c:a aac -ar 48000 | |
| -filter:v:0 scale=w=480:h=360 -maxrate:v:0 600k -b:a:0 64k | |
| -filter:v:1 scale=w=640:h=480 -maxrate:v:1 900k -b:a:1 128k | |
| -filter:v:2 scale=w=1280:h=720 -maxrate:v:2 900k -b:a:2 128k | |
| -var_stream_map "v:0,a:0,name:360p v:1,a:1,name:480p v:2,a:2,name:720p" | |
| -preset slow -hls_list_size 0 -threads 0 -f hls -hls_playlist_type event -hls_time 3 | |
| -hls_flags independent_segments -master_pl_name "name-pl.m3u8" | |
| "c:/videos/encoded/name-%v.m3u8" |
Use laravel-sheploy instead. It's more capabale and much eaiser to use.
ssh root@IPadduser gitusermod -aG sudo git| <?php | |
| if(!function_exists('config_path')) | |
| { | |
| /** | |
| * Return the path to config files | |
| * @param null $path | |
| * @return string | |
| */ | |
| function config_path($path=null) |