See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
import React, { useRef } from "react" | |
import { createPortal } from "react-dom" | |
export const IFrame = ({ | |
children, | |
title, | |
...props | |
}: HTMLAttributes<HTMLIFrameElement> & { | |
children: React.ReactNode | |
}) => { |
<?php | |
use Illuminate\Foundation\Inspiring; | |
use Illuminate\Support\Facades\Artisan; | |
use Illuminate\Support\Facades\DB; | |
// inspire with random qoutes | |
Artisan::command('inspire', function () { | |
$this->comment(Inspiring::quote()); | |
})->purpose('Display an inspiring quote'); |
<?php | |
namespace App\Helpers; | |
class DataHelper implements \ArrayAccess | |
{ | |
/** | |
* Where the data is stored | |
* | |
* @var array |
#!/usr/bin/env bash | |
# | |
# Nginx - new server block | |
# Functions | |
ok() { echo -e '\e[32m'$1'\e[m'; } # Green | |
die() { | |
echo -e '\e[1;31m'$1'\e[m' | |
exit 1 | |
} |
(function(callback) { | |
var hidden = "hidden"; | |
// Standards: | |
if (hidden in document) | |
document.addEventListener("visibilitychange", onchange); | |
else if ((hidden = "mozHidden") in document) | |
document.addEventListener("mozvisibilitychange", onchange); | |
else if ((hidden = "webkitHidden") in document) | |
document.addEventListener("webkitvisibilitychange", onchange); |
<?php | |
namespace App\Helpers\Import; | |
/** | |
* WordPress exported XML Parser class for managing parsing of XML files. | |
* This class is cloned from the link below with partially modified. | |
* https://github.com/wecodemore/wp-importer | |
*/ | |
class WpParser |
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.
The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
Most sections are broken up into two parts:
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
<?php | |
return [ | |
"Bagerhat"=>[ | |
"BagerhatSadar", | |
"Chitalmari", | |
"Fakirhat", | |
"Kachua", | |
"Mollahat", | |
"Mongla", |