This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// HVM3 Core: single-thread, polarized, LAM/APP & DUP/SUP only | |
// Based on: https://gist.github.com/VictorTaelin/2aba162f2b04478dc53e5615f482db7b | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdatomic.h> | |
#include <string.h> | |
#include <time.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div#main>div:first-child>div:has(>div+div#center_col) div:has(div[jscontroller]>div[jsname]>div>h1+div[jscontroller]>div[jsmodel]) > div:first-child { | |
/* remove AI answers box */ | |
display: none; | |
} | |
div#search div[data-async-context] > div:nth-child(2) div:has(video, [aria-label*="Play on Google"]) { | |
/* remove videos section */ | |
display: none !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
this bot assumes you've already enabled borrowing on compound.finance, | |
that you already approved transfers on behalf of DAI and USDC | |
(can do here https://chiragkhatri.me/compound-liquidator), and that you have | |
DAI and USDC on your Ether address, while having nothing lent or borrowed yet. | |
Author: Jarett Dunn [email protected] | |
*/ | |
let request = require('request-promise') | |
const CoinbasePro = require('coinbase-pro'); | |
const publicClient = new CoinbasePro.PublicClient(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE PolyKinds #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE UndecidableInstances #-} | |
{-# LANGUAGE UnsaturatedTypeFamilies #-} | |
import GHC.TypeLits | |
import Prelude hiding (Functor, Semigroup) | |
type Main = (Fizz <> Buzz) <$> (0 `To` 100) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Category where | |
open import Agda.Primitive public | |
using (Level ; _⊔_ ; lzero ; lsuc) | |
open import Agda.Builtin.Equality public | |
using (_≡_ ; refl) | |
record Category ℓ ℓ′ : Set (lsuc (ℓ ⊔ ℓ′)) where |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Coffee | |
* | |
* Just a very simple example of deploying a contract at a vanity address | |
* across several chains. | |
* | |
* See: https://blog.ricmoo.com/contract-addresses-549074919ec8 | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package akka.tutorial.first.java; | |
import akka.actor.ActorRef; | |
import akka.actor.UntypedActor; | |
import akka.actor.UntypedActorFactory; | |
import akka.actor.ActorSystem; | |
import akka.actor.Props; | |
public class Hello { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The Witness Algorithm: Privacy Protection in a Fully Transparent System | |
By **Vlad Gluhovsky** and **Gavin Wood** | |
# Introduction | |
Being based upon a quasi-Turing-complete (quasi because it's actually bounded) virtual machine, Ethereum is an extremely versatile system. However one of its greatest strengths---universal auditability---seems to lead to a fatal flaw, namely an inescapable lack of privacy. Here we demonstrate an algorithm in order to prove that this is not the case. | |
The algorithm could be used to make an Ethereum contract which, given two sets of addresses sources, `src`, and destinations, `dest`, will guarantee exactly one of two possible eventualities: | |
- For each address in `src`, the controller of that address controls a corresponding address in `dest` (though the two cannot be related *a priori*). |