Skip to content

Instantly share code, notes, and snippets.

@blockpane
blockpane / build.sh
Last active February 8, 2024 22:52
Build, package, sign, image, sign again, notarize, and staple a fyne.io app for MacOS
#!/bin/bash
# builds a fyne macos app, signs it, creates a .dmg, signs that, and then requests notarization.
# ... stapling the notarization should wait until the request is approved which can take a minute ...
#
# Pre-reqs:
# Install the full xcode package
# Install the fyne command line tool
# Create a certificate request, send to apple developer site, and import the resulting certificate
# Create an application password in appleid.apple.com tied to the app's name in the keychain
@hwdsl2
hwdsl2 / .MOVED.md
Last active April 10, 2025 04:32
IPsec VPN Server Auto Setup Script for Ubuntu and Debian
@creationix
creationix / output.log
Created May 8, 2013 22:02
Working version of generator async code sample. Using node from https://github.com/andywingo/node/tree/v8-3.19
tim@touchsmart:~/Code$ nvm use v0.11.2-generators
Now using node v0.11.2-generators
tim@touchsmart:~/Code$ node --harmony testgen.js
<Buffer 76 61 72 20 66 73 20 3d 20 72 65 71 75 69 72 65 28 27 66 73 27 29 3b 0a 66 75 6e 63 74 69 6f 6e 20 72 65 61 64 46 69 6c 65 28 70 61 74 68 2c 20 65 6e 63 ...>
Sleeping for 2000ms...
Done