Instantly share code, notes, and snippets.

View configuration.nix
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
# use zfs from current master instead of nixos bundled versoin
./zfs-master.nix
];
View vscodeliveshare.nix
{ stdenv, vscode-utils, autoPatchelfHook,
/*icu, curl, lttng-ust,*/ libX11, gnome3,
utillinux, openssl, icu, zlib, curl, lttng-ust, libsecret, libkrb5,
gcc, libunwind, binutils
}:
let
runtimeVersion = "2.1.1";
runtimeHash = "6985b9f6844d51ba1197c3f52aabc7291bb15bc1";
runtime = fetchTarball {
url = "https://download.microsoft.com/download/9/3/E/93ED35C8-57B9-4D50-AE32-0330111B38E8/dotnet-runtime-${runtimeVersion}-linux-x64.tar.gz";
View keybase.md

Keybase proof

I hereby claim:

  • I am phryneas on github.
  • I am phryneas (https://keybase.io/phryneas) on keybase.
  • I have a public key whose fingerprint is 8331 9323 EF6D 1C7E 8835 59A1 D8C4 AE56 B76C 94DD

To claim this, I am signing this object:

View package.json
{
"name": "demo-redux",
"version": "1.0.0",
"description": "",
"main": "thunk.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
View !PassB on NixOS - README.md
View BgCallExample.js
/**
* @property {boolean} synchronousCalls
* @property {string} instanceName
*/
class BgCallExample {
/**
* @param {boolean} synchronousCalls
* @param {string} instanceName
*/
View reclaimWindows10.ps1
##########
# Tweaked Win10 Initial Setup Script
# Primary Author: Disassembler <disassembler@dasm.cz>
# Original Version: 1.4, 2016-01-16
# Tweaked based on personal preferences for @alirobe 2016-03-23 - v1.4.1
# NOTE: MAKE SURE YOU READ THIS SCRIPT CAREFULLY BEFORE RUNNING IT + ADJUST COMMENTING AS APPROPRIATE
# This script will reboot your machine when completed.
##########
# Ask for elevated permissions if required
View keybase.md

Keybase proof

I hereby claim:

  • I am phryneas on github.
  • I am phryneas (https://keybase.io/phryneas) on keybase.
  • I have a public key ASAT-im6hheMKc7nriVshoD0OYx_8Ktg-x90l3IeVNGtWAo

To claim this, I am signing this object:

View shellscan.sh
#!/usr/bin/zsh
#improvements are greatly welcome:
terms=( )
terms=( $terms "exec" )
terms=( $terms "eval" )
terms=( $terms "passthru" )
terms=( $terms "shell_exec" )
terms=( $terms "system" )
terms=( $terms "pcntl_exec" )
View 00-README.md

this is a short run-down of setting up dnssec, openpgpkey, dane and sshfp records if you already have a working bind installation

if you need a secondary DNS server that supports DNSSEC (the chances are high if you are not hosting two DNS servers yourself), take a look at https://freedns.afraid.org/ - it's free for basic usage (which is absolutely enough) and works like a charm!