I hereby claim:
- I am petrosagg on github.
- I am petrosagg (https://keybase.io/petrosagg) on keybase.
- I have a public key ASAXnGBNMuM_F6dk6LZiMowZvaaf_ba8tFJ7jtT2Qb7yvQo
To claim this, I am signing this object:
export SSL_SECRET=mzmzmz | |
mkdir secrets tmp | |
# Create CA | |
openssl req \ | |
-x509 \ | |
-days 36500 \ | |
-newkey rsa:4096 \ | |
-keyout secrets/ca.key \ |
import { Readable } from 'stream' | |
import pg from 'pg' | |
import Cursor from 'pg-cursor' | |
class TailStream extends Readable { | |
constructor(client, text, values) { | |
super({ | |
highWaterMark: 5, | |
objectMode: true | |
}); |
use differential_dataflow::AsCollection; | |
use differential_dataflow::operators::arrange::ArrangeByKey; | |
use timely::dataflow::operators::Input; | |
use differential_dataflow::operators::reduce::ReduceCore; | |
use differential_dataflow::trace::implementations::ord::OrdValSpine as DefaultKeyTrace; | |
fn main() { | |
timely::execute_from_args(std::env::args(), move |worker| { | |
let mut input = timely::dataflow::InputHandle::<_, ((usize, Option<String>), _, _)>::new(); | |
let mut probe = timely::dataflow::ProbeHandle::new(); |
[package] | |
name = "postgres-replication-poc" | |
version = "0.1.0" | |
authors = ["Petros Angelatos <petrosagg@gmail.com>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[dependencies] | |
tokio-postgres = { path = "../rust-postgres/tokio-postgres" } |
Input | Date Style | Parsed | |
---|---|---|---|
January 8, 1999 | ymd | 1999-01-08 | |
1999-01-08 | ymd | 1999-01-08 | |
1999-01-18 | ymd | 1999-01-18 | |
01/02/03 | ymd | 2001-02-03 | |
19990108 | ymd | 1999-01-08 | |
990108 | ymd | 1999-01-08 | |
1999.008 | ymd | 1999-01-08 | |
J2451187 | ymd | 1999-01-08 | |
99-Jan-08 | ymd | 1999-01-08 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
set -o errexit | |
export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket | |
dbus-send \ | |
--system \ | |
--print-reply \ | |
--dest=org.freedesktop.systemd1 \ |
const fs = require('fs') | |
const crypto = require('crypto') | |
// Create 4MB buffer | |
const buf = crypto.randomBytes(4 * 1024 * 1024) | |
const drives = [ | |
'/dev/sda', | |
'/dev/sdb', | |
'/dev/sdc', |
# Schema V1 # | |
user(id, name) | |
-------------- | |
1, petros | |
2, eva | |
themes(id, difficulty, description, theme_data) | |
-------------- | |
1, hard, { stave: ... } |
V = | |
ifeq ($(strip $(V)),) | |
E = @echo | |
Q = @ | |
else | |
E = @echo | |
Q = | |
endif | |
srcdir=../.. |