- Download latest Miniconda for Python 2.7
https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
-
Open terminal
-
Change to download folder location
#!/bin/sh | |
# Can be snapshot or release | |
DEFAULTREVISION=release | |
# Pull out latest snapshot version | |
REVISION=${1-$DEFAULTREVISION} | |
REGEX="(?<=$REVISION\": \").*?[^\\\\](?=\")" | |
VERSION=`curl -silent "http://s3.amazonaws.com/Minecraft.Download/versions/versions.json" | grep -Po "$REGEX"` | |
if [ "$VERSION" = "" ]; then | |
echo "Invalid Version"; exit |
""" | |
De/construct ubnt discovery packets | |
references: | |
- https://github.com/nitefood/python-ubnt-discovery | |
- https://gist.github.com/trhura/5998584 | |
""" | |
from base64 import b64decode, b64encode | |
from enum import IntEnum |
https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
Open terminal
Change to download folder location
#!/usr/bin/env bash | |
# | |
# NixOS install script synthesized from: | |
# | |
# - Erase Your Darlings (https://grahamc.com/blog/erase-your-darlings) | |
# - ZFS Datasets for NixOS (https://grahamc.com/blog/nixos-on-zfs) | |
# - NixOS Manual (https://nixos.org/nixos/manual/) | |
# - Original gist by @nuxeh (https://gist.github.com/nuxeh/35fb0eca2af4b305052ca11fe2521159) | |
# |
This confused me, so I'm documenting my workaround, which is probably not the correct workaround, but it seemed to work (leaving non-persistent state, lol).
When in a shell with mix and clang provided via nix, the file_system package fails to build the mac_listener binary via clang, with the error (reproduced in a shell):
$ clang -framework CoreFoundation -framework CoreServices -Wno-deprecated-declarations c_src/mac/*.c -o priv/mac_listener
In file included from c_src/mac/cli.c:2:
In file included from c_src/mac/cli.h:4: