Skip to content

Instantly share code, notes, and snippets.

View corngood's full-sized avatar

David McFarland corngood

  • Lunenburg, Nova Scotia, Canada
View GitHub Profile
26 packages updated:
archisteamfarm BaGet Boogie btcpayserver depotdownloader discordchatexporter-cli EventStore formula-dotnet github-runner inklecate jackett jellyfin nbxplorer netcoredbg nuget-to-nix omnisharp-roslyn OpenTabletDriver opentracker osu-lazer Pinta ps3-disc-dumper python-language-server ryujinx scarab wasabibackend XIVLauncher
$ nix --experimental-features nix-command build --no-link --keep-going --option build-use-sandbox relaxed -f /home/david/.cache/nixpkgs-review/rev-204c2998506152d0c1d4a744ad1f6dbf51233c33/build.nix
error: builder for '/nix/store/pizq2dx14rks8zi0fqrvq0zajapaa7i2-XIVLauncher-1.0.1.0.drv' failed with exit code 1;
last 9 log lines:
> unpacking sources
> unpacking source archive /nix/store/bfndgxnnspc27343a8qvls222zb5qnd3-source
> source root is source
> patching sources
@corngood
corngood / enable-authenticode.reg
Created December 21, 2017 17:15
registry settings to enable authenticode on win10
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers]
"DefaultLevel"=dword:00040000
"TransparentEnabled"=dword:00000001
"PolicyScope"=dword:00000000
"ExecutableTypes"=hex(7):41,00,44,00,45,00,00,00,41,00,44,00,50,00,00,00,42,00,\
41,00,53,00,00,00,42,00,41,00,54,00,00,00,43,00,48,00,4d,00,00,00,43,00,4d,\
@corngood
corngood / configuration.nix
Created January 23, 2017 00:02
NixOS matrix server using nginx
{ config, pkgs, ... }:
{
imports =
[
/etc/nixos/hardware-configuration.nix
];
nix.buildCores = 0;
@corngood
corngood / ProcessWrapper.cs
Created January 4, 2017 15:53
C# Process wrapper
using System;
using System.Diagnostics;
using System.Linq;
static class Program {
static int Main(string[] args) {
var p = new ProcessStartInfo {
FileName = args[0],
// TODO: quote args
Arguments = String.Join(" ", args.Skip(1).ToArray()),
-- Logs begin at Wed 2016-02-24 19:01:35 AST, end at Tue 2016-08-23 23:37:36 ADT. --
Aug 23 23:32:24 localhost systemd-journald[101]: Runtime journal (/run/log/journal/) is 8.0M, max 800.4M, 792.4M free.
Aug 23 23:32:24 localhost kernel: Linux version 4.7.0-1-cik-debug (david@office-arch) (gcc version 6.1.1 20160802 (GCC) ) #2 SMP PREEMPT Tue Aug 23 20:27:10 ADT 2016
Aug 23 23:32:24 localhost kernel: Command line: BOOT_IMAGE=/vmlinuz-linux-cik-debug root=UUID=3b38ed42-80a8-4725-9270-59a793dce3ee rw rootflags=subvol=root.arch resume=/dev/sda5 zswap.enabled=1 drm.debug=0x3f
Aug 23 23:32:24 localhost kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Aug 23 23:32:24 localhost kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Aug 23 23:32:24 localhost kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Aug 23 23:32:24 localhost kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Aug 23 23:32:24 localhost kernel: x86/fpu: Enabled xstate features 0
@corngood
corngood / gist:f86519aa9f5f1bfcbcd3
Last active February 11, 2016 17:23
cVim config
site '*://*.reddit.com/*' {
unmap j
unmap k
unmap e
unmap h
}
site '*://feedly.com/*' {
unmap j
unmap k