Skip to content

Instantly share code, notes, and snippets.

Avatar
👻
in the shell

Ryan R Sundberg sundbry

👻
in the shell
View GitHub Profile
@sundbry
sundbry / guix-bootstrap.sh
Last active Feb 5, 2021
Guix Rescue CD Install
View guix-bootstrap.sh
#!/bin/sh
# Bare metal Guix bootstrap program from a livecd (SystemRescueCd) shell.
GUIX_TARBALL="https://ftp.gnu.org/gnu/guix/guix-binary-1.2.0.x86_64-linux.tar.xz"
BUSYBOX_BINARY="https://busybox.net/downloads/binaries/1.31.0-i686-uclibc/busybox"
GUIX_MAX_JOBS=4
BOOT_SIZE="2M"
: ${SWAP_SIZE:="4096M"}
ROOT_AUTHORIZED_KEYS=$(cat <<EOF
View keybase.md

Keybase proof

I hereby claim:

  • I am sundbry on github.
  • I am sundbry (https://keybase.io/sundbry) on keybase.
  • I have a public key ASCdBroxNjS1fXNJLmX9qRCmBMkg1LURe6fFAhygqoxuOQo

To claim this, I am signing this object:

@sundbry
sundbry / github-gist-in-iframe.html
Last active Sep 3, 2021
Embed a Github Ggist in an iframe (without <script> tags in your document)
View github-gist-in-iframe.html
<iframe frameborder=0
style="min-width: 200px; width: 60%; height: 460px;"
scrolling="no"
seamless="seamless"
srcdoc='<html><body><style type="text/css">.gist .gist-data { height: 400px; }</style><script src="https://gist.github.com/sundbry/5e0507d93d4c89023b2ba5f39f27f722.js"></script></body></html>'
></iframe>
@sundbry
sundbry / cljs-metro-transformer.js
Last active Feb 1, 2019 — forked from austinbirch/cljs-metro-transformer.js
Transform compiled Clojurescript code for React Native/Metro (Updated for RN 0.58)
View cljs-metro-transformer.js
/**
* Copyright (c) 2015-present, Facebook, Inc.
* Copyright (c) 2018 Arctype Corp.
*
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of the facebook/react source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*