Skip to content

Instantly share code, notes, and snippets.

@khoffrath
khoffrath / macapp.go
Created June 15, 2024 13:58 — forked from mholt/macapp.go
Distribute your Go program (or any single binary) as a native macOS application
// Package main is a sample macOS-app-bundling program to demonstrate how to
// automate the process described in this tutorial:
//
// https://medium.com/@mattholt/packaging-a-go-application-for-macos-f7084b00f6b5
//
// Bundling the .app is the first thing it does, and creating the DMG is the
// second. Making the DMG is optional, and is only done if you provide
// the template DMG file, which you have to create beforehand.
//
// Example use:
@khoffrath
khoffrath / Propaganda
Created February 7, 2015 15:53
Propaganda
US
==
Map
---
http://i.imgur.com/vkmCT0X.jpg
CN
==
@khoffrath
khoffrath / Lumphini Garden
Created February 7, 2015 15:51
Lumphini Garden
US
==
Map
---
http://i.imgur.com/cmAhrW6.jpg
CN
==
@khoffrath
khoffrath / Operation Firestorm Large
Created February 7, 2015 15:46
Operation Firestorm
US
==
Map
---
http://i.imgur.com/XWV2BOC.jpg
Assets
------
@khoffrath
khoffrath / Gulf of Oman Large
Last active August 29, 2015 14:14
Gulf of Oman
US
==
Map
--
http://i.imgur.com/6tQL1bA.jpg
Assets
------
curl -i -H "Content-Type: application/json; charset=UTF-8" --request POST --data u"{'tag': u'Äüößäname'}" http://localhost:5000/