SKIPPERKONGEN

  • Archives
  • Best of GitHub
    • Quine Relay
    • Stacksort
  • My Stuff
    • My Javascript demos
    • Download geodata
  • Tricks
    • AWS Tricks
    • Datasets
    • Encoding Tricks
    • Geo Tricks
    • Git tricks
    • Linux Tricks
    • Neo4j tricks
    • NumPy & Pandas Tricks
    • PHP tricks
    • Python Tricks
    • Skipper Tips
    • SQL Snippets
  • Fetching static JSON files cross site with jQuery.

    Say you have a static JSON file sitting on a web server, e.g. mystaticfiles.com/hello.json on Amazon S3 or a CDN. For the sake of argument, let’s imagine that it’s a configuration file. The contents of the file looks like this: {“message”: “Hello, world!”}

    September 16, 2011
  • Reprojecting shapefiles with ogr2ogr

    If you have an ESRI Shapefile (.shp) that you want to reproject, you can use ogr2ogr ogr2ogr -t_srs newfile.shp oldfile.shp The EPSG code could be for instance epsg:28532.

    September 13, 2011
  • Creating a word cloud from PDF documents

    Warning: This is not the hardest way to create a word cloud from pdf-documents, but it’s up there. Say you have directory containing pdf documents: $ ls a.pdf b.pdf c.pdf …

    September 7, 2011
  • Easy two column layout in latex

    Include the packages. The blindtext package is just an easy way to type Lorem ipsum etc. \usepackage{multicol} \usepackage{blindtext} Make a two column section of a page. \begin{multicols}{2}[\textbf{Example for a two column text}] \blindtext \end{multicols}

    August 14, 2011
  • Run OpenSolaris in your OS with VirtualBox

    The following recipe should work for any OS. Download and install VirtualBox Download OpenSolaris image Start VM If you want to try an other image than OpenSolaris, you can find many others images (CentOS, FreeBSD, etc) here: http://virtualboxes.org/images/

    August 11, 2011
  • If only more people wrote like Lamport

    I’m half way through the Part-time parliament on Paxos article by Leslie Lamport. It is an article that describes a three-phase consensus protocol by telling a story of a (fictional) parliement on the greek island of Paxos, complete with fat priests, busy businessmen, and a vivid description of the parliament hall. The story illustrates how […]

    August 3, 2011
  • Show system info on a Mac

    SYSTEM_PROFILER Show a very long list of details about your machine and kernel (verbose output) system_profiler

    July 29, 2011
  • How to monitor system stuff on Mac

    Found this nice post on good commands to know appart from the obvious top Basically they are top and vm_stat 5

    July 28, 2011
  • Finding the most quoted main author using linux command line

    I have a text file containing article references. It looks like this – Miller HJ (2004) Tobler’s First Law and spatial analysis. Ann Assoc Am Geogr 94:284–289. – Onsrud H, ed (2007) Research and Theory in Advanced Spatial Data Infrastructure Concepts (ESRI Press, Redlands, CA). – Egenhofer M (2002) Toward the geospatial semantic web. Advances […]

    July 21, 2011
  • Sticking bicycle paths in CouchDB

    In this installment of How To Stick Anything In CouchDB, I’ll take some bicycle path data released by the municipality of Copenhagen and stick them in CouchDB. As always I’m working in Terminal under Mac OS X. Bicycle paths in Copenhagen, served live by CouchDB: Your browser does not support IFRAME The data is in […]

    July 20, 2011
←Previous Page
1 … 21 22 23 24 25
Next Page→

SKIPPERKONGEN

Proudly powered by WordPress