Skip to content

Instantly share code, notes, and snippets.

@Daeinar
Daeinar / gist:336d88319900ec816b298dc3bd963b7a
Created September 6, 2023 09:21
ZKValidator Validator 0 Metadata
{"claims":[{"timestamp":1693991752,"type":"ACCOUNT","address":"0x2AF540161Cbeb58FdC99b159c76E390598860510"}],"meta":{"address":"0x5c886DA5e3B0e63f979633bDEB2a17bE49f2e829","signature":"0x3cec3e530522415ea2ff6e4845f5a0036958d2a1a9d7fe381ebb977818bc62990e736ad2ff1c1874b65f811ecbce035601eb00ecb50ecca2399c7a69d02663cd00"}}
@Daeinar
Daeinar / gist:e1a20f0356777e77bfab3840742e6a1d
Created September 6, 2023 09:18
ZKValidator Group Metadata
{"claims":[{"domain":"zkvalidator.com","timestamp":1693991039,"type":"DOMAIN"},{"timestamp":1693991524,"type":"ACCOUNT","address":"0x5c886DA5e3B0e63f979633bDEB2a17bE49f2e829"}],"meta":{"address":"0x2AF540161Cbeb58FdC99b159c76E390598860510","signature":"0x75faa41501953623f357154b0111cbefe625e5fd6b7d92fd27953ff030bb708d02749f658e14b7c3862f6fcf55a33032c42dfa2e5b3ebd13c0adaceefa5eb71501"}}
@Daeinar
Daeinar / gist:029a6f15734f5fa4d883a4133f8656e5
Created July 15, 2021 08:47
Plumo phase 2 attestation
@daeinar 0x5d32478f3c55c0865239d4e55134e4338cafb4e3 f57d6096a702f621458364e71eef515a90b5f6a855b2ffbb595d68fabdb450a936d7173913ed718352dcdf3d7997752e9666a7db263073581c6e733f24b599871b
@Daeinar
Daeinar / gist:d72092fc8461be95bf3c17dba3b68145
Last active July 15, 2021 08:48
Plumo phase 1 attestation
@daeinar 0x823b3d45f7ec13a7de9f05f8174ef87a0ff37081 ef5917b1cf2a0ac0d8509c82f430fb7ca2bf69a71fb2af6c51c7fbbe3416174e7fd51e52e151b6e090aab79c6cd7163b6c230de687db91e92eefb48bf5bb9b731c

Keybase proof

I hereby claim:

  • I am Daeinar on github.
  • I am daeinar (https://keybase.io/daeinar) on keybase.
  • I have a public key whose fingerprint is 5AEA B2A7 8DF8 E137 EBB3 89CC A9C8 5CB2 C2B0 1B7E

To claim this, I am signing this object:

@Daeinar
Daeinar / RC4
Last active August 29, 2015 14:08
RC4 stream generation with 135 characters of JavaScript
<html>
<body>
<style>
html { font-family: monospace; }
</style>
<script language="javascript" type="text/javascript">
// RC4 stream generation in 135 chars
X=(S,K,k,c,l,f)=>{Y=(r,i)=>{j=0;for(x in r)t=S[i],j+=t+k[i%l],S[j%f]=t+(S[i]=S[j%f],0),r.push(S[(S[i++]+t)%f]),i%=f};Y(S,0);k=K;Y(K,1)}
@Daeinar
Daeinar / gist:4383663
Created December 26, 2012 22:34
Install pip packages with homebrew
Install pip packages with homebrew:
1. Install Homebrew
http://mxcl.github.com/homebrew/
2. Install the brew-pip package
brew install brew-pip
3. Add Homebrew's pip path to your PYTHONPATH environment variable (you probably should add this to some sort of shell initialization file like ~/.bashrc or ~/.zshrc)
export PYTHONPATH=$(brew --prefix)/lib/python2.7/site-packages
3. Now install any pip pacakges with Homebrew!
brew pip Glances
@Daeinar
Daeinar / gist:3969378
Created October 28, 2012 18:30
Copy remote text file to local system buffer
# From the remote ssh machine run:
cat /dir/file.txt | ssh user@localMachine pbcopy
@Daeinar
Daeinar / vim-cheatsheet.md
Created October 26, 2012 19:45
vim cheatsheet

This cheatsheet will get expanded over time.

Vim Cheatsheet

Spellchecking:

  • zg - add word to list of correct spelled words
  • zw - add word to list of incorrect spelled words
  • zug - remove word from list of correct spelled words
  • zuw - remove word from list of incorrect spelled words