Skip to content

Instantly share code, notes, and snippets.

View afiefsky's full-sized avatar

Afief afiefsky

View GitHub Profile
@afiefsky
afiefsky / conventional-commits-cheatsheet.md
Created January 8, 2025 07:22 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@afiefsky
afiefsky / mamp_conf.md
Last active August 30, 2019 11:36
MAMP Configuration Snippet

MAMP Configurations Snippet

CLI Login

/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot

Or

mysqld -u root -p
@skyzha
skyzha / Debug Query.txt
Last active August 16, 2019 04:08
I used this when have problems selecting data from pivot table
\DB::enableQueryLog();
$all = TrainingDetail::event()
->with(['student' => function($query) use($request) {
$query->where('myb_fullname', 'LIKE', '%'.$request->search.'%');
$query->groupBy('id');
}])
->with(['teacher' => function($query) use($request) {
$query->where('myb_fullname', 'LIKE', '%'.$request->search.'%');
$query->groupBy('id');
}])
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active April 17, 2025 08:05
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@ankurk91
ankurk91 / 1-elementary-os-apps.md
Last active November 1, 2024 15:07
elementary OS 5.1 Hera

elementaryOS Apps and Configs

⚠️ No longer maintained! ⚠️

This guide has been updated for elementaryOS v5.0+.

Enbale PPA support

sudo apt-get update
sudo apt-get -y install software-properties-common
@seyhunak
seyhunak / git-flow.md
Last active May 9, 2022 12:13
Git Flow - Cheatsheet

Git-Flow

Initialize a Repository for git-flow

git flow init -d

(Omit -d if you want to select values other than the defaults.)

Features

@vitorbritto
vitorbritto / rm_mysql.md
Last active April 6, 2025 09:16
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

    brew remove mysql
    
@roachhd
roachhd / README.md
Last active January 14, 2025 17:05
Teach Kids Programming

Teach kids programming 🆒

2 min read

![][4]

A collection of resources

I've been gathering the best resources to teach children & teens programming — books, environments, apps, courseware and games.