8000 GitHub - simonlopez/backpack
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

simonlopez/backpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backpack

See the example

A very small website to track down all the places I have ever visited in the world. Just fork the project and add features if you want to !

Actually, you just edit places_log.txt and the address of the new location. The only limitation is one address per line.

Using a git pre-commit hook

Create a post-receive script in your .git/hooks directory like so :

#!/bin/sh
if [ "$(git name-rev --name-only HEAD)" != "master" ]; then
    python geocode.py
fi

Each time you will commits, if something is new in places_log.txt, it will be added into places_gps_log.json.

Note : Don't forget to chmod +x post-receive, or it will not work.

Enjoy ! :)

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
33BE

Languages

  • Python 48.0%
  • CSS 32.6%
  • JavaScript 19.4%
0