Skip to content

Instantly share code, notes, and snippets.

View dhogborg's full-sized avatar

David Högborg dhogborg

  • Raymond Solar AB
  • Gothenburg, Sweden
View GitHub Profile
@dhogborg
dhogborg / keybase.md
Created October 18, 2016 07:10
Keybase identity proof

Keybase proof

I hereby claim:

  • I am dhogborg on github.
  • I am dhogborg (https://keybase.io/dhogborg) on keybase.
  • I have a public key ASC1lT44Rn_SbwCFScXzdobal-6V0sEiRYAIbjORSBeEoAo

To claim this, I am signing this object:

@dhogborg
dhogborg / gist:87fd3add5e7b5da8b77e8b0a22c54df1
Last active August 22, 2016 14:41
Boken ”Livet med kvantfysiska glasögon”
@dhogborg
dhogborg / playground.swift
Last active December 3, 2015 14:28
Cryptic swiftc error
/**
## Cryptic swiftc error
This bit of code is flawed, and the swift compiler gives a really unhelpful
error message.
XCode and Playgrounds thinks this is valid code. Not until swiftc
try to compile it the error is discovered. And at that point it's
not clear where the error is located as XCode does not give any
more information than the comment below.
*/
#!/bin/zsh
ai_help()
{
echo "appicons [platform] [input-file] [output-dir]"
echo ""
echo "Default output directory is Icons/ or res/ depending on platform"
echo "For android output, specify path to res/ folder."
echo ""
echo "[platform] can be either 'ios' or 'android'"