Skip to content

Instantly share code, notes, and snippets.

View winlin's full-sized avatar

winlin winlin

View GitHub Profile
@winlin
winlin / aptos-oidb-zk-ceremony_attestation.log
Created February 25, 2024 01:16
Attestation for aptos-oidb-zk-ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm winlin-1940790 and I have contributed to the aptos-oidb-zk-ceremony.
The following are my contribution signatures:
Circuit # 1 (main)
Contributor # 57
Contribution Hash: b80f6034 4ebe2750 9a040b28 a909865a
d7a6b0dd ba02094a 90afbd10 a5994a2a
31111c26 4703b5f6 a2101dcc d8843f9c
6f8fdfe9 f384dab3 5b6d8dd6 8d939f4b

Keybase proof

I hereby claim:

  • I am winlin on github.
  • I am winlin (https://keybase.io/winlin) on keybase.
  • I have a public key whose fingerprint is E89C FE15 277C 557A 7D98 5DFF 3647 B226 335B 10F4

To claim this, I am signing this object:

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

#!/bin/sh
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the
# CREATE block and create them in separate commands _after_ all the INSERTs.
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk.
# The mysqldump file is traversed only once.
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite