I hereby claim:
- I am gonzih on github.
- I am gonzih (https://keybase.io/gonzih) on keybase.
- I have a public key ASDuSCBmos0345fAhkjGxVRvU8p40Ikp8RGA5wu5UxdTLQo
To claim this, I am signing this object:
| const std = @import("std"); | |
| const testing = std.testing; | |
| const assert = std.debug.assert; | |
| pub const Runner = struct { | |
| const Self = @This(); | |
| const VTable = struct { add: *const fn (*anyopaque, *usize) void }; | |
| vtable: *const VTable, | |
| ptr: *anyopaque, |
| sudo qemu-system-x86_64 \ | |
| -kernel arch/x86_64/boot/bzImage \ | |
| -initrd ramdisk.img \ | |
| -display none \ | |
| -serial stdio \ | |
| -append "root=/dev/vda console=ttyS0 nokaslr" \ | |
| -drive format=raw,file=/home/gnzh/mydev/linsicles/buildroot/output/images/rootfs.ext4,if=virtio |
| extern crate libspartan; | |
| extern crate merlin; | |
| use libspartan::{Instance, SNARKGens, SNARK}; | |
| use merlin::Transcript; | |
| use std::io::prelude::*; | |
| // read file into Transcript | |
| fn file_transcript(filename: &str) -> Transcript { | |
| let mut transcript = Transcript::new(b"spartan"); | |
| let mut file = std::fs::File::open(filename).unwrap(); |
| let | |
| pkgs = import <nixpkgs> {}; | |
| in pkgs.clangStdenv.mkDerivation rec { | |
| name = "unreal-engine-build"; | |
| # UE4_LINUX_USE_LIBCXX = "0"; | |
| UE_USE_SYSTEM_MONO = "1"; | |
| # SDL_VIDEO_X11_VISUALID = ""; | |
| common = with pkgs; [ |
| type Links = Vec<String>; | |
| type Proxies = Vec<String>; | |
| #[derive(Clone, Debug)] | |
| struct Opts { | |
| links: Option<Links>, | |
| proxies: Option<Proxies>, | |
| } | |
| impl Opts { |
| { config, pkgs, ... }: | |
| let | |
| secrets = import /opt/nix/secrets.nix; | |
| externalInterface = "enp2s0"; | |
| internalInterface = "wg0"; | |
| externalPort = 51820; | |
| externalNetMask = "10.200.200.1/24"; | |
| in | |
| { |
I hereby claim:
To claim this, I am signing this object:
| *filter | |
| :INPUT DROP [0:0] | |
| :FORWARD DROP [0:0] | |
| :OUTPUT DROP [0:10] | |
| -A FORWARD -i tun+ -j ACCEPT | |
| -A FORWARD -j DROP | |
| -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT | |
| -A INPUT -i lo -j ACCEPT | |
| -A INPUT -i tun+ -j ACCEPT |
| pkgname=cudnn9 | |
| pkgver=7 | |
| pkgrel=4 | |
| pkgdesc="NVIDIA CUDA Deep Neural Network library (version 9)" | |
| arch=('x86_64') | |
| url="https://developer.nvidia.com/cuDNN" | |
| license=('proprietary') | |
| depends=('cuda-sdk') | |
| source=("http://files.fast.ai/files/cudnn-9.1-linux-x64-v7.tgz") | |
| sha512sums=('7eadb64a3d5e49aec2761e6f7dc0295c1d356910b114eed450c47081fc81b6e3b7748f3a4153f6a9d957691e3689cd52823bfa12816b1950dfc8794d6f332749') |