See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
<?php | |
/* | |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
parameters | |
--level=psr2 --verbose fix $FileDir$/$FileName$ | |
working directory | |
$ProjectFileDir$ |
#!/bin/sh | |
git filter-branch --env-filter ' | |
OLD_EMAIL="[email protected]" | |
CORRECT_NAME="Your Correct Name" | |
CORRECT_EMAIL="[email protected]" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
then |
git checkout lightweight | |
git tag -d lightweight | |
GIT_COMMITTER_DATE="$(git show --format=%aD | head -1)" git tag annotated -m 'lightweight to annotated' | |
git push origin :refs/tags/lightweight | |
git push --tags |
git config --global alias.plog "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" |
<router-outlet></router-outlet> | |
<ng-http-loader [entryComponent]="awesomeComponent" ></ng-http-loader> |
<router-outlet></router-outlet> | |
<ng-http-loader [entryComponent]="matSpinner"></ng-http-loader> | |
#!/bin/bash | |
set -x | |
service pihole-FTL stop | |
rm /etc/pihole/pihole-FTL.db | |
rm /var/log/pihole* | |
service pihole-FTL start |
# from : https://forum.libreelec.tv/thread/5074-wifi-issues-on-rpi-3-poor-speed-and-latency-solution/#codeLine_1_3e8919 | |
# first install the 'network tools' add-on from the kodi repository then create a /storage/.config/autostart.sh file with | |
# this as the contents. | |
# then reboot the pi. runnning 'iwconfig' should now show the power-management as being off. | |
# mpalourdio : in LE 9+, iw is already installed at /usr/sbin/iw | |
# just create an autostart.sh and add : | |
/usr/sbin/iw wlan0 set power_save off |