Skip to content

Instantly share code, notes, and snippets.

View kalxas's full-sized avatar

Angelos Tzotsos kalxas

View GitHub Profile
Loading
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 July 23, 2016 00:15 — forked from gdamjan/README
Customize ubuntu live image
# 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
@kalxas
kalxas / setup.sh
Last active August 29, 2015 14:22 — forked from tomkralidis/00README.md
#!/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 August 29, 2015 14:16
pycsw OSGeo graduation announcement
Title:
pycsw Graduates OSGeo Incubation
News Date:
15 Mar 2015
Related URL:
pycsw [1]
OSGeo Incubator [2]
@kalxas
kalxas / README.txt
Last active September 14, 2021 10:19
Data.gov CSW HowTo v2.0
Based on copy of https://gist.github.com/kalxas/5ab6237b4163b0fdc930 on 20 June 2014 12:27 UTC
@kalxas
kalxas / 00-README.rst
Last active March 6, 2019 18:48
CSW Testing Suite

Testing suite to test CSW endpoints

Instructions

  1. Install the suite:
@kalxas
kalxas / README.md
Last active November 4, 2021 17:25
INSPIRE validation

Inspire Validation using OWSLib

Installation steps

  1. Create virtualenv:

    $ virtualenv owslib_test

@kalxas
kalxas / data-gov-csw-howto.rst
Last active October 25, 2022 14:23
Data.gov CSW HowTo
@kalxas
kalxas / pycsw-all.cfg
Last active August 29, 2015 13:56
UAT temp
[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
@kalxas
kalxas / buildliveinchroot.sh
Created May 30, 2012 19:23 — forked from wildintellect/buildliveinchroot.sh
OSGeo Live chroot build
#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