Skip to content

Instantly share code, notes, and snippets.

View pzduniak's full-sized avatar

Piotr Zduniak pzduniak

View GitHub Profile
@pzduniak
pzduniak / concourse-kbfs-secrets.yaml
Created January 24, 2021 02:53
Sourcing secrets from Keybase in Concourse using KBFS
resources:
- name: keybase-image
type: registry-image
icon: docker
source:
repository: keybaseio/client
tag: 5.6.0-20201113121711-1a3ba10881
jobs:
- name: source-secrets

Keybase proof

I hereby claim:

  • I am pzduniak on github.
  • I am mielonka2 (https://keybase.io/mielonka2) on keybase.
  • I have a public key ASCqmHfHqLp8Xjj22XPG76cwxHsp1WT1jmwkjMqt19c9mwo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am pzduniak on github.
* I am psdpzdpzpzp (https://keybase.io/psdpzdpzpzp) on keybase.
* I have a public key ASAn1wRo6tNXhDcO4Ioy9tx_G8joHMEcZNYJvBYAACF-dwo
To claim this, I am signing this object:
// Generated by CoffeeScript 2.3.1
var Tail, environment, events, fs,
boundMethodCheck = function(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new Error('Bound instance method accessed before binding'); } };
events = require("events");
fs = require('fs');
environment = process.env['NODE_ENV'] || 'development';
@pzduniak
pzduniak / txt.cfg
Created March 28, 2018 10:45 — forked from sushmitapundir/txt.cfg
syslinux
default install
label autoinstall
menu label ^PortableCloud OS installer
kernel /install/vmlinuz
append file=/cdrom/preseed/ubuntu-server.seed initrd=/install/initrd.gz auto=true debian-installer/allow_unauthenticated_ssl=t$
label install
menu label ^Install Ubuntu Server
kernel /install/vmlinuz
append file=/cdrom/preseed/ubuntu-server.seed vga=788 initrd=/install/initrd.gz quiet ---
label hwe-install
Verifying my Blockstack ID is secured with the address 1GhtAqCuTLk85M6fQmyh1sNoaxcG53v4Em https://explorer.blockstack.org/address/1GhtAqCuTLk85M6fQmyh1sNoaxcG53v4Em
@pzduniak
pzduniak / query.js
Last active August 6, 2016 15:44
oh lord
r.range(365).map(function(day) {
return [
day,
r.time(r.now().year(), r.now().month(), r.now().day(), "+0000").sub(day.mul(86400)).add(28800).add(r(50400).mul(r.random())),
day.do(r.js("(function(x) { x = Math.PI/2 * (364-x)/364; return 1920 + Math.floor((Math.sin(x)+Math.sin(20*x)/20)*6080) })")).mul(r(0.90).add(r.random().mul(0.2))).floor()
]
}).map(function(day) {
return day.add([
day.nth(2).div(day.nth(0).do(r.js("(function(x) { x = Math.PI/2 * (364-x)/364; return 2.9 + Math.floor((Math.sin(x)+Math.cos(20*x)/20)*1.93) })"))).mul(r(0.95).add(r.random().mul(0.1))).floor()
])
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pzduniak
pzduniak / pprof.svg
Last active January 17, 2016 21:57
Performance of pzduniak/argon2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am pzduniak on github.
  • I am pzduniak (https://keybase.io/pzduniak) on keybase.
  • I have a public key whose fingerprint is 1692 E566 B9DD 6B89 AEFD B85D DF60 DCF4 7E1F 2025

To claim this, I am signing this object: