Title: Project & Development Manager
Reports to: Zcash Community Grants (ZCG)
Engagement: Independent contractor (not employed by any grantee)
Location: Remote
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
| 45 europe | |
| 47 asia | |
| 54 africa | |
| 23 n/america | |
| 12 s/america | |
| 14 oceania |
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
| use anyhow::Result; | |
| use halo2_proofs::{circuit::{SimpleFloorPlanner, Value}, dev::MockProver, pasta::Fp, plonk::{Advice, Circuit, Column, Instance}}; | |
| use orchard::{assign_free_advice, keys::{FullViewingKey, SpendingKey}, note::{NoteCommitment, RandomSeed, Rho}, value::NoteValue, AddChip, AddConfig, Address, EccChip, EccConfig, Note, OrchardFixedBases}; | |
| use halo2_gadgets::{ecc::Point, utilities::lookup_range_check::LookupRangeCheckConfig}; | |
| use halo2_gadgets::poseidon::{Pow5Chip as PoseidonChip, Pow5Config as PoseidonConfig}; | |
| use group::Curve; | |
| #[derive(Default)] | |
| struct NFCircuit { | |
| nk: Value<Fp>, |
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
| rustup toolchain install 1.47 | |
| pacman -S ocaml opam base-devel postgresql jemalloc rsync libsodium go | |
| yay libsodium-static | |
| git submodule update --init --recursive | |
| make setup-opam | |
| eval `opam config env` | |
| make build |
If you get a validation loop, check that the jwt cookie could be set:
- Look for a
no jwtmessage, - Check the Set-Cookie LassoCookie,
- in particular, Domain should be set, if not set it in the config
If you get an error 'no username in jwt', make sure that the open id provider gave an email in the response to /userinfo In Hydra, it is returned in the id_token by the consent endpoint. For reference, check okta
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
| d_apt = template '/etc/apt/sources.list.d/d-apt.list' do | |
| source 'd-apt.list.erb' | |
| notifies :run, 'execute[update-d-home]', :immediately | |
| end | |
| execute 'update-d-home' do | |
| command 'apt-get update && apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && apt-get update' | |
| only_if { d_apt.updated_by_last_action? } | |
| end |
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
| case class MyData(id: String, d: Int) | |
| object MyData { | |
| implicit def dataMarshaller: ToEntityMarshaller[MyData] = { | |
| Marshaller.StringMarshaller.wrap(MediaTypes.`application/vnd.api+json`)(data => { | |
| val jo = JsObject("data" -> | |
| JsObject("type" -> JsString("dashboard"), "id" -> JsString(data.id), | |
| "attributes" -> JsObject("exposure" -> JsNumber(data.d))) | |
| ) | |
| jo.compactPrint |
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
| import scalaz._ | |
| case class Valuation(realized: BigDecimal, unrealized: BigDecimal) { | |
| def addR(r: BigDecimal) = this copy (realized = this.realized+r) | |
| def addU(u: BigDecimal) = this copy (unrealized = this.unrealized+u) | |
| } | |
| object Valuation { | |
| def apply() = new Valuation(0, 0) | |
| } |
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
| var http = require('http'), | |
| httpProxy = require('http-proxy'), | |
| express = require('express'); | |
| // create a server | |
| var app = express(); | |
| var proxy = httpProxy.createProxyServer({ target: 'http://localhost:8080', ws: true }); | |
| var server = require('http').createServer(app); | |
| // proxy HTTP GET / POST |
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
| libtool unzip pax hg ed texinfo bison flex cvs automake autoconf gcc cmake svn gcc-c++ epel-release yasm wget xz xz-devel bzip2 patch lzma |
NewerOlder