Skip to content

Instantly share code, notes, and snippets.

Avatar

Angelos Tzotsos kalxas

View GitHub Profile
View GeoPandas.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kalxas
kalxas / README
Created Jul 23, 2016 — forked from gdamjan/README
Customize ubuntu live image
View README
# first, get the iso from http://releases.ubuntu.com/
# make working dir hierarchy in /tmp (you'll need enough ram for this)
sudo mkdir -p /tmp/custom/{_squash,_work,iso,newiso,newlive,project}
sudo mount -o loop ~/Downloads/ubuntu-15.10-desktop-amd64.iso /tmp/custom/iso
sudo mount -t squashfs /tmp/custom/iso/casper/filesystem.squashfs /tmp/custom/_squash
sudo mount -t overlay overlay -onoatime,lowerdir=/tmp/custom/_squash,upperdir=/tmp/custom/project,workdir=/tmp/custom/_work /tmp/custom/newlive
# customize the live fs with systemd-nspawn (a better chroot)
sudo systemd-nspawn --bind-ro=/etc/resolv.conf:/run/resolvconf/resolv.conf --setenv=RUNLEVEL=1 -D /tmp/custom/newlive
View setup.sh
#!/bin/bash
if [ $# -ne 1 ]; then
cat <<END
Usage: `basename $0` <action>
all: build all components
te: build teamengine
csw3: build ets-cat30
csw2: build ets-csw202
@kalxas
kalxas / pycsw-graduation
Last active Aug 29, 2015
pycsw OSGeo graduation announcement
View pycsw-graduation
Title:
pycsw Graduates OSGeo Incubation
News Date:
15 Mar 2015
Related URL:
pycsw [1]
OSGeo Incubator [2]
@kalxas
kalxas / README.txt
Last active Apr 16, 2021
Data.gov CSW HowTo v2.0
View README.txt
Based on copy of https://gist.github.com/kalxas/5ab6237b4163b0fdc930 on 20 June 2014 12:27 UTC
@kalxas
kalxas / 00-README.rst
Last active Mar 6, 2019
CSW Testing Suite
View 00-README.rst

Testing suite to test CSW endpoints

Instructions

  1. Install the suite:
@kalxas
kalxas / README.md
Last active Aug 29, 2015
INSPIRE validation
View README.md

Inspire Validation using OWSLib

Installation steps

  1. Create virtualenv:

    $ virtualenv owslib_test

@kalxas
kalxas / data-gov-csw-howto.rst
Last active Mar 10, 2021
Data.gov CSW HowTo
View data-gov-csw-howto.rst
View pycsw-all.cfg
[server]
url=http://uat-catalog-fe-data.reisys.com/csw-all
mimetype=application/xml; charset=UTF-8
encoding=UTF-8
language=en-US
maxrecords=10
#loglevel=DEBUG
#logfile=/tmp/pycsw.log
profiles=apiso
View buildliveinchroot.sh
#LiveCD on the commandline
#https://help.ubuntu.com/community/LiveCDCustomization
#DIR=`dirname ${0}`
#VERSION=`cat "$DIR"/../VERSION.txt`
VERSION="6.0beta6"
PACKAGE_NAME="osgeo-live"
ISO_NAME="${PACKAGE_NAME}-${VERSION}"
sudo apt-get install squashfs-tools genisoimage