Skip to content

Instantly share code, notes, and snippets.

View thesteve0's full-sized avatar

Steven Pousty thesteve0

View GitHub Profile
Google Glass
State of the Map US - http://stateofthemap.us
Single page apps versus frameworks
Traveling and visiting foreign countries
FOSS-4G NA
OSM-Plus - http://osmplus.co
iD, the new OSM editor - http://www.spatiallyadjusted.com/2013/05/07/mapboxs-openstreetmap-editor/
Esri's REST API being an OGC standard - http://lists.osgeo.org/pipermail/discuss/2013-May/011599.html
Renting ArcGIS - http://spatiallyadjusted.com/2013/05/06/arcgis-cloud-is-in-your-future/
Leaflet over OpenLayers - http://acuriousanimal.com/blog/2013/05/05/the-problem-with-openlayers/
@thesteve0
thesteve0 / gist:e081998303ce0100c836
Created June 10, 2014 16:47
Script from the dockercon talk
## ATOMIC DEMO ##
> In git/atomic-vagrant-demo
vagrant up --provider=libvirt
vagrant ssh atomic-0
https://localhost:11001
## GEARD DEMO ##
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="Code-Camp-Start" />
<!-- Angular -->
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.19/angular.min.js"></script>
<!-- Firebase -->
<script src="https://cdn.firebase.com/js/client/1.0.15/firebase.js"></script>
<!-- AngularFire Library -->
<script src="https://cdn.firebase.com/libs/angularfire/0.7.1/angularfire.min.js"></script>
#!/usr/bin/python
import os
import sys
import wsgi
from cherrypy import wsgiserver
#hack to make sure we can load wsgi.py as a module in this class
sys.path.insert(0, os.path.dirname(__file__))
print sys.path
@thesteve0
thesteve0 / onchange.sh
Created March 14, 2016 19:17 — forked from senko/onchange.sh
Watch current directory and execute a command if anything in it changes
#!/bin/bash
#
# Watch current directory (recursively) for file changes, and execute
# a command when a file or directory is created, modified or deleted.
#
# Written by: Senko Rasic <[email protected]>
#
# Requires Linux, bash and inotifywait (from inotify-tools package).
#
# To avoid executing the command multiple times when a sequence of
@thesteve0
thesteve0 / gist:a268541f958bdf6b403e125095742d82
Created April 17, 2016 04:59
sample master file to drive the content
$ cat book.asciidoc
:bookseries: animal
= Getting Started With OpenShift
include::ch00.asciidoc[]
include::ch01.asciidoc[]
include::ch02.asciidoc[]
{
"kind": "List",
"apiVersion": "v1",
"metadata": {},
"items": [
{
"apiVersion": "v1",
"kind": "ServiceAccount",
"metadata": {
"name": "oshinko"
$ minishift start --cpus 3 --memory 12960 --openshift-version v1.5.0-rc.0
Starting local OpenShift cluster using 'kvm' hypervisor...
E0407 20:52:13.169993 8716 start.go:164] Error starting the VM: Error starting stopped host: [Code-1] [Domain-10] internal error: process exited while connecting to monitor: 2017-04-08T03:52:13.097525Z qemu-system-x86_64: -drive file=/home/spousty/.minishift/machines/minishift/minishift.img,format=raw,if=none,id=drive-ide0-0-0,aio=threads: Could not open '/home/spousty/.minishift/machines/minishift/minishift.img': Permission denied. Retrying.
E0407 20:52:13.926516 8716 start.go:164] Error starting the VM: Error starting stopped host: [Code-1] [Domain-10] internal error: qemu unexpectedly closed the monitor: 2017-04-08T03:52:13.638432Z qemu-system-x86_64: -drive file=/home/spousty/.minishift/machines/minishift/minishift.img,format=raw,if=none,id=drive-ide0-0-0,aio=threads: Could not open '/home/spousty/.minishift/machines/minishift/minishift.img': Permission denied. Retryin
Service account has sufficient permissions to view pods in kubernetes (HTTP 200). Clustering will be available.
Missing SSO_URL. Unable to properly configure SSO-enabled applications
Running jboss-eap-7/eap70-openshift image, version 1.4-30
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/eap
JAVA: /usr/lib/jvm/java-1.8.0/bin/java
[INFO] --- thorntail-maven-plugin:1.0.0-SNAPSHOT:package (default) @ thorntail-testsuite-docker-thin-layers ---
[INFO] Processing: thorntail-testsuite-docker-thin-layers-1.0.0-SNAPSHOT
[INFO] Using default Thorntail main()
[INFO] mode: thin
[INFO] format: dir
plan ---> 28 // [io.thorntail.plugins.common.ClasspathEntry@284d916f, io.thorntail.plugins.common.EntryWithPermissions@c0bc7fa, io.thorntail.plugins.common.FileEntry@5b285be8, io.thorntail.plugins.common.FileEntry@593f65e9, io.thorntail.plugins.common.FileEntry@1d3d4148,
io.thorntail.plugins.common.FileEntry@4f5b7102, io.thorntail.plugins.common.FileEntry@56b5841a, io.thorntail.plugins.common.FileEntry@7407a308, io.thorntail.plugins.common.FileEntry@3479bc1, io.thorntail.plugins.common.FileEntry@178029ca, io.thorntail.plugins.common.Fil
eEntry@6d6fea74, io.thorntail.plugins.common.FileEntry@24391b32, io.thorntail.plugins.common.FileEntry@1b9f15e7, io.thorntail.plugins.common.FileEntry@d47a127, io.thorntail.plugins.common.FileEntry@1f69d6b1, io.thorntail