Skip to content

Instantly share code, notes, and snippets.

View eeevans's full-sized avatar

Edward Evans eeevans

View GitHub Profile

Keybase proof

I hereby claim:

  • I am eeevans on github.
  • I am eeevans (https://keybase.io/eeevans) on keybase.
  • I have a public key whose fingerprint is RETU RN T HIS. PGP. GET_ FING ERPR INT( ); }

To claim this, I am signing this object:

@eeevans
eeevans / gist:3db44c9afb3e096ab92b
Created April 15, 2015 19:59
boxstarter.minimal.txt
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
Disable-InternetExplorerESC
FROM ubuntu:latest
LABEL version="0.4" description="Mosquitto and OwnTracks Recorder"
MAINTAINER Jan-Piet Mens <jpmens@gmail.com>
RUN apt-get install -y software-properties-common && \
apt-add-repository ppa:mosquitto-dev/mosquitto-ppa && \
apt-get update && \
apt-get install -y \
build-essential \
git-core \
@eeevans
eeevans / jython issues
Created July 27, 2016 17:29
jythonIssues
Traceback (most recent call last):
File "C:\jython2.7.0\Lib\runpy.py", line 161, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\jython2.7.0\Lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\jython2.7.0\Lib\ensurepip\__main__.py", line 4, in <module>
ensurepip._main()
File "C:\jython2.7.0\Lib\ensurepip\__init__.py", line 220, in _main
bootstrap(
File "C:\jython2.7.0\Lib\ensurepip\__init__.py", line 123, in bootstrap
server {
listen 80 default_server;
listen [::]:80 ipv6only=on default_server;
server_name gitlabsvr www.gitlabsvr;
root /var/www;
# Match the box name in location and search for its catalog
# e.g. http://www.example.com/vagrant/devops/ resolves /var/www/vagrant/devops/devops.json
2017-02-22 13:01:37,828 INFO   4 KlondikeService OnStart Using ServerFactory Nowin2017-02-22 13:01:53,950 INFO   4 LucenePackageRepository UpdatePackageCount Refreshing index. Package count: 3942017-02-22 13:02:26,294 INFO   4 KlondikeService OnStart Listening for HTTP requests on address(es): http://*:8080/2017-02-22 13:23:26,288 INFO   4 KlondikeService OnStart Using ServerFactory Nowin2017-02-22 13:23:29,801 INFO   4 LucenePackageRepository UpdatePackageCount Refreshing index. Package count: 3942017-02-22 13:23:40,360 INFO   4 KlondikeService OnStart Listening for HTTP requests on address(es): http://*:8080/2017-02-22 16:23:13,931 INFO   4 KlondikeService OnStart Using ServerFactory Nowin2017-02-22 16:23:22,516 INFO   4 LucenePackageRepository UpdatePackageCount Refreshing index. Package count: 3942017-02-22 16:23:53,952 INFO   4 KlondikeService OnStart Listening for HTTP requests on address(es): http://*:8080/2017-02-22 16:33:37,294 INFO   4 KlondikeService OnStart Using ServerFactory Nowin2017-02-22 16:3
2017-02-22 13:01:37,828 INFO   4 KlondikeService OnStart Using ServerFactory Nowin2017-02-22 13:01:53,950 INFO   4 LucenePackageRepository UpdatePackageCount Refreshing index. Package count: 3942017-02-22 13:02:26,294 INFO   4 KlondikeService OnStart Listening for HTTP requests on address(es): http://*:8080/2017-02-22 13:23:26,288 INFO   4 KlondikeService OnStart Using ServerFactory Nowin2017-02-22 13:23:29,801 INFO   4 LucenePackageRepository UpdatePackageCount Refreshing index. Package count: 3942017-02-22 13:23:40,360 INFO   4 KlondikeService OnStart Listening for HTTP requests on address(es): http://*:8080/2017-02-22 16:23:13,931 INFO   4 KlondikeService OnStart Using ServerFactory Nowin2017-02-22 16:23:22,516 INFO   4 LucenePackageRepository UpdatePackageCount Refreshing index. Package count: 3942017-02-22 16:23:53,952 INFO   4 KlondikeService OnStart Listening for HTTP requests on address(es): http://*:8080/2017-02-22 16:33:37,294 INFO   4 KlondikeService OnStart Using ServerFactory Nowin2017-02-22 16:3
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
Disable-InternetExplorerESC
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
# Basic setup
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
Disable-InternetExplorerESC
@eeevans
eeevans / Output
Created April 13, 2022 20:28
Simple KML file reading
Simple placemark
37.42228990140251, -122.0822035425683, 0
Floating placemark
37.4220033612141, -122.084075, 50
Extruded placemark
37.42156927867553, -122.0857667006183, 50
Roll over this icon
37.42243077405461, -122.0856545755255, 0
Descriptive HTML
No Points