Skip to content

Instantly share code, notes, and snippets.

View davidswelt's full-sized avatar

David Reitter davidswelt

  • Google
  • New York, NY
View GitHub Profile
@davidswelt
davidswelt / nfsn.api.sh
Last active March 3, 2019 01:49 — forked from nmschulte/nfsn.api.sh
NearlyFreeSpeech.NET API request "library", in pure shell (requires sha1sum and curl)
#!/usr/bin/env sh
# Copyright (c) 2015 Nathan Schulte
# set LOGIN and API_KEY below --
# see bottom for example use, in this case, checking and updating the default DNS A RR for a domain
# 0: request URI, e.g. '/dns/example.com/listRRs'
# 1..n: parameters
make_request () {
LOGIN=''
@davidswelt
davidswelt / llvm34-fail
Created December 15, 2013 23:49
homebrew llvm34 fails to build
This file has been truncated, but you can view the full file.
Summary:
brew install -v --HEAD llvm34 --with-asan --with-clang
COMPILE: clang_darwin_embedded/soft_static/armv7m: /private/tmp/llvm34-R0CR/projects/compiler-rt/lib/absvdi2.c
/private/tmp/llvm34-R0CR/Release+Asserts/bin/clang -fPIC -arch armv7m -Wall -Werror -Oz -fomit-frame-pointer -ffreestanding -static -mfloat-abi=soft -c -o /private/tmp/llvm34-R0CR/tools/clang/runtime/compiler-rt/clang_darwin_embedded/soft_static/armv7m/SubDir.lib/absvdi2.o /private/tmp/llvm34-R0CR/projects/compiler-rt/lib/absvdi2.c
error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
1 error generated.
make[5]: *** [/private/tmp/llvm34-R0CR/tools/clang/runtime/compiler-rt/clang_darwin_embedded/soft_static/armv6m/SubDir.lib/int_util.o] Error 1
make[5]: *** Waiting for unfinished jobs....
error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'