Skip to content

Instantly share code, notes, and snippets.

View RFV's full-sized avatar

Riaan Francois Venter RFV

View GitHub Profile
@RFV
RFV / Pairing.sol
Created December 20, 2016 23:01
Pairing Library
pragma solidity ^0.4.0;
library Pairing {
struct G1Point {
uint X;
uint Y;
uint Z;
}
struct G2Point {
uint[2] X;
@RFV
RFV / 4clojure029.clj
Created February 18, 2017 01:27
4Clojure #29
#(apply str (re-seq #"[A-Z]" %))
@RFV
RFV / gradient_move.css
Created February 18, 2017 14:13
background gradient for ICOFund
background: linear-gradient(254deg, #4747fb, #000000, #fb0202, #02fb02);
background-size: 800% 800%;
-webkit-animation: AnimationName 16s ease infinite;
-moz-animation: AnimationName 16s ease infinite;
animation: AnimationName 16s ease infinite;
@-webkit-keyframes AnimationName {
0%{background-position:0% 9%}
50%{background-position:100% 92%}
/**
* Base contract that all upgradeable contracts should use.
*
* Contracts implementing this interface are all called using delegatecall from
* a dispatcher. As a result, the _sizes and _dest variables are shared with the
* dispatcher contract, which allows the called contract to update these at will.
*
* _sizes is a map of function signatures to return value sizes. Due to EVM
* limitations, these need to be populated by the target contract, so the
* dispatcher knows how many bytes of data to return from called functions.
@RFV
RFV / keybase.md
Created April 6, 2017 15:22
Keybase verification

Keybase proof

I hereby claim:

  • I am rfventer on github.
  • I am rfventer (https://keybase.io/rfventer) on keybase.
  • I have a public key ASDR2_UY_sgw_8ekmrNPi_yGxDHoZhALroDuVhTNcEevawo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am RFV5s on github.
  • I am rfv5s (https://keybase.io/rfv5s) on keybase.
  • I have a public key whose fingerprint is 65CF A092 8010 C5A0 F344 81BA A899 61BD 1F29 44EE

To claim this, I am signing this object:

@RFV
RFV / keybase.md
Created September 20, 2019 01:31

Keybase proof

I hereby claim:

  • I am rfv5s on github.
  • I am rfv5s (https://keybase.io/rfv5s) on keybase.
  • I have a public key ASBux7UqvC_kzxaHi4l7UEjx4Ha6THeVtWZTBHNze3fHPQo

To claim this, I am signing this object: