This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected componentWillMount(): void { | |
document.addEventListener('click', this.toggle); | |
} | |
protected componentWillUnmount(): void { | |
document.removeEventListener('click', this.toggle); | |
} | |
private toggle = (event): void => { | |
event.preventDefault(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete local tag | |
git tag -d tagname | |
# Delete remote tag | |
git push origin :tagname | |
# Or | |
git push --delete origin tagname | |
# Set author globally | |
git config --global user.name "Barin Britva" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function deg2rad (angle) { | |
return angle * .017453292519943295; | |
} | |
function distance($lat1,$lng1,$lat2,$lng2) | |
{ | |
$lat1=deg2rad($lat1); | |
$lng1=deg2rad($lng1); | |
$lat2=deg2rad($lat2); | |
$lng2=deg2rad($lng2); |
NewerOlder