This file contains 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
/** | |
* parseGoogleMapsAddressComponents | |
* | |
* Converts the addressComponents sent by GoogleMaps into a clean object | |
* The precision value allows to know what is the precision level of the address (one point per component) | |
* Ex: If the street number is available, then the precision value would be 6. | |
* | |
* @param addressComponents | |
* @returns object | |
*/ |
This file contains 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
#!/bin/sh | |
# Setup : https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook | |
today=$(date +%d-%m-%Y) | |
log_file_name=”git-commits-$today.txt” | |
log_dir=”$HOME/Desktop” | |
log_file_path=”$log_dir/$log_file_name” | |
remote=$(git config — get remote.origin.url) |
NewerOlder