Skip to content

Instantly share code, notes, and snippets.

View ghuntley's full-sized avatar
:shipit:
happy when he ships

Geoffrey Huntley ghuntley

:shipit:
happy when he ships
View GitHub Profile
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, lib, pkgs, ... }:
let agents = lib.range 1 48;
in
{
imports =

Hi Geoffrey, how’s things with you? I’m looking for a Native Mobile App Developer in Melbourne and my colleague, [redacted] suggested I should run it by you in the hope you can recommend someone to me? In short, the work involves developing beacons/location services for public-facing identity verification software. I’ve also pasted a more detailed brief below for you – it would be great if you could refer some people to me or share amongst your contacts. We’re ideally looking for an immediate start but prepared to wait a while for the right person as well!

Mobile Developer – Android, Kotlin and/or iOS Swift 100% work-from-home Contract until end of June 2022 (with expected extensions aligned to 2023 roadmap)

Create mobile apps and services to assist individuals and businesses in the transition out of lockdown Build and develop native mobile apps essential to the continuing revival of metro and regional Victoria communities Work on large public-facing apps, applying a user-first focus to new features and

@ghuntley
ghuntley / configuration.nix
Last active March 3, 2024 21:12
ghost via docker on nixos with rclone/restic backups
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, lib, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
wpa_supplicant -B -i interface -c <(wpa_passphrase 'SSID' 'key').
ping 1.1.1.1
parted /dev/nvme0n1 -- mklabel gpt
parted /dev/nvme0n1 -- mkpart primary 512MiB -0
parted /dev/nvme0n1 -- mkpart ESP fat32 1MiB 512MiB
parted /dev/nvme0n1 -- set 2 esp on
cryptsetup luksFormat /dev/nvme0n1p1
This file has been truncated, but you can view the full file.
execve("/home/gitpod/dotnet/dotnet", ["dotnet", "build"], 0x7fff98953cb0 /* 81 vars */) = 0
brk(NULL) = 0x5635e0275000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffe56a9be00) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=35864, ...}) = 0
mmap(NULL, 35864, PROT_READ, MAP_PRIVATE, 7, 0) = 0x7f40723f4000
close(7) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\201\0\0\0\0\0\0@\0\0\0\0\0\0\0h\\\2\0\0\0\0\0\0\0\0\0@\08\0\r\0@\0'\0&\0\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0\330\2\0\0\0\0\0\0\330\2\0\0\0\0\0\0\10\0\0\0\0\0\0\0\3\0\0\0\4\0\0\0\20\222\1\0\0\0\0\0\20\222\1\0\0\0\0\0\20\222\1\0\0\0\0\0\34\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0\20\0\0\0\0\0\0\0\1\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0\0\
This file has been truncated, but you can view the full file.
execve("/home/gitpod/dotnet/dotnet", ["dotnet", "build"], 0x7fff092c70f0 /* 81 vars */) = 0
brk(NULL) = 0x558829411000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffff9cce8c0) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=35864, ...}) = 0
mmap(NULL, 35864, PROT_READ, MAP_PRIVATE, 7, 0) = 0x7f66e2d22000
close(7) = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\201\0\0\0\0\0\0@\0\0\0\0\0\0\0h\\\2\0\0\0\0\0\0\0\0\0@\08\0\r\0@\0'\0&\0\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0"..., 832) = 832
apiVersion: troubleshoot.sh/v1beta2
kind: SupportBundle
metadata:
name: copyFromHostBug
spec:
collectors:
- copyFromHost:
collectorName: "copy os-release"
image: busybox:1
hostPath: "/etc"
+++ [0304 00:06:39] Verifying Prerequisites....
+++ [0304 00:06:39] Using Docker for MacOS
+++ [0304 00:06:40] Building Docker image kube-build:build-3680c1abc2-5-v1.16.0-1
+++ [0304 00:06:49] Syncing sources to container
+++ [0304 00:06:52] Running build command...
Generating prerelease lifecycle code for 24 targets
Generating deepcopy code for 226 targets
Generating defaulter code for 88 targets
Generating conversion code for 123 targets
Generating openapi code for KUBE

Install NixOS on Oracle Cloud over Ubuntu 18.04

# install useful tools
sudo apt-get update
sudo apt-get install --no-install-recommends -y nano mc git

# prepare /boot
sudo umount /boot/efi
sudo mv /boot /boot.bak