Skip to content

Instantly share code, notes, and snippets.

View nirabpudasaini's full-sized avatar

Nirab Pudasaini nirabpudasaini

View GitHub Profile
import webapp2
import cgi
form="""
<form method="post">
What is your birthday?
<br>
<label>Month <input type="text" name="month" value="%(month)s">
</label>
@nirabpudasaini
nirabpudasaini / osmtools.md
Created June 12, 2014 05:55
PPA for useful OpenStreetMap tools

This PPA will give you lot of useful packages to work with OpenStreetMap and has all the tools necessary to run your own OSM tileserver.

To install the PPA you can use the following commands

  • sudo apt-get install software-properties-common (if you dont have the add-apt-repository package)
  • sudo add-apt-repository ppa:kakrueger/openstreetmap
  • sudo apt-get update

You can find the details about the repo at https://launchpad.net/~kakrueger/+archive/openstreetmap

@nirabpudasaini
nirabpudasaini / nepal_extractbb_selection
Created May 27, 2014 04:39
BB bike extract nepal selection
http://extract.bbbike.org/?sw_lng=79.948&sw_lat=26.297&ne_lng=88.266&ne_lat=30.53&format=mapsforge-osm.zip&coords=80.415%2C28.497|81.095%2C28.172|82.08%2C27.702|83.26%2C27.247|83.682%2C27.372|84.301%2C27.322|84.779%2C26.855|85.508%2C26.625|86.367%2C26.387|87.095%2C26.306|88.113%2C26.297|88.266%2C26.716|88.156%2C27.309|88.266%2C27.905|87.813%2C28.011|87.262%2C27.943|86.892%2C28.156|86.335%2C28.137|85.783%2C28.457|85.383%2C28.447|85.183%2C28.737|84.588%2C28.879|84.224%2C29.327|83.608%2C29.424|82.848%2C29.893|81.956%2C30.53|81.174%2C30.454|80.437%2C29.969|79.948%2C28.826&layers=0B000000T&city=Nepal-2014-May-26