Skip to content

Instantly share code, notes, and snippets.

View jon3laze's full-sized avatar
🎯
Focusing

Jon jon3laze

🎯
Focusing
View GitHub Profile
@jon3laze
jon3laze / SUPPORTED_LANGUAGES.md
Created February 18, 2025 21:09
Markdown Code Blocks - Supported Languages

Supported Languages

The table below shows the full list of languages (and corresponding classes/aliases) for markdown codeblocks.

Language Aliases
1C 1c
4D 4d
ABAP sap-abap, abap
@jon3laze
jon3laze / deploy.sh
Last active May 25, 2023 21:31
Procedure for pushing laravel project to prod
php artisan down
git pull
composer install
php artisan migrate
sudo service php8.1-fpm reload
@jon3laze
jon3laze / picnorm.sh
Last active February 17, 2023 14:28
Script to normalize picture file types (convert webp and normalize jpeg/jfif)
# picnorm - normalize picture files by converting webp -> png and jpeg/jfif -> jpg
function picnorm() {
echo "picnorm - normalizing file types"
# set folder to working directory
folder=$(pwd)
# use find to list all files and extensions
extensions=$(find "$folder" -type f | awk -F '.' '{print $NF}' | sort)
# print file type count
echo "Starting count: "
@jon3laze
jon3laze / laravel-pull.sh
Last active August 22, 2024 21:56
Laravel Project Init
###############
#Clone project
###############
git clone <project>
cd <project>
###############################
#Install Composer dependencies
###############################
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"caret_extra_bottom": 5,
"caret_extra_top": 5,
"caret_extra_width": 1,
"caret_style": "phase",
"close_windows_when_empty": false,
"color_scheme": "Packages/Monokai - Spacegray/Monokai - Spacegray.tmTheme",
"copy_with_empty_selection": false,
@jon3laze
jon3laze / readme.md
Created November 7, 2019 09:31
Laravel Initial project setup

New Project

Install Laravel

Terminal

laravel new {project-name}

Configure Homestead

Homestead.yaml

@jon3laze
jon3laze / _federal595a.scss
Created October 22, 2018 10:41
This is a collection of Federal Standard Colors.
// Color system
//
// This is a collection of Federal Standard Colors
// Information retrieved from https://www.e-paint.co.uk/Federal_standard_595_colour_chart.asp
//
// The L* a* b* (together with the corresponding HLC, RGB and CYMK) values are based on the average of various measurements using various spectrophotometers using D65 light with a standard observer according to CIE 1964 which may be updated or modified by any other relevant available information.
// They are not necessarily the L* a* b* figures intended by any standard and should therefore only be used as a guide.
// The colours depicted are also for guidance only. The displayed colour will depend on your monitor, browser and angle of the screen and pearl or metallic colours cannot be shown adequately. The finished colour, therefore, may not be as shown here.
// The sRGS conversion system used is IEC 61966:2-1 D50 adapted which may differ from other conversions.
@jon3laze
jon3laze / .bash_aliases
Last active February 5, 2019 07:48
My bash aliases file
## System cleanup ##
alias clean='sudo apt-get autoclean --yes && sudo apt-get clean --yes && sudo apt-get autoremove --yes'
## Update ##
alias update='sudo apt update --yes'
## Upgrade ##
alias upgrade='sudo apt upgrade --yes'
## Make directory and parents ##