Skip to content

Instantly share code, notes, and snippets.

View NabiKAZ's full-sized avatar

Nabi KaramAliZadeh NabiKAZ

View GitHub Profile
@NabiKAZ
NabiKAZ / semantic-commit-messages.md
Created October 23, 2023 19:28 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@NabiKAZ
NabiKAZ / DeltaTimer.js
Last active March 5, 2022 02:36
Delta Timing for JavaScript
/**
@author <a href="mailto:aaditmshah@myopera.com">Aadit M Shah</a>
@edited by <a href="mailto:nabikaz@gmail.com">NabiKAZ</a>
@overview Delta Timing for JavaScript.
@copyright 2012
@version 1.0.1
*/
/**
@description Creates a new Delta Timer with start and stop methods.
@NabiKAZ
NabiKAZ / route.php
Last active September 19, 2023 16:09
For show advanced list of files and directories with sort, date, size, icon type,..., Save bellow content code as `route.php` file, and then run this command: `php -S 0.0.0.0:8080 -t . route.php` And then open `http://localhost:8080/` in the browser.
<?php
//@NabiKAZ
//https://gist.github.com/NabiKAZ/91f716faa89aab747317fe09db694be8
//For show advanced list of files and directories with sort, date, size, icon type,...,
//Save bellow content code as route.php file, and then run this command:
// php -S 0.0.0.0:8080 -t . route.php
//And then open http://localhost:8080/ in the browser.
//////////////////////////////////////////////////////////////////
// This block MUST be at the very top of the page!
@ob_start('ob_gzhandler');