Keybase proof
I hereby claim:
- I am naps62 on github.
- I am naps62 (https://keybase.io/naps62) on keybase.
- I have a public key ASCgeJAumr5xLBTtCR3h6Q1FSxG9FlM1QUs9sKqAvW6Y9Qo
To claim this, I am signing this object:
pragma solidity ^0.8.13; | |
import "forge-std/Script.sol"; | |
interface UniV3 { | |
struct ExactInputParams { | |
bytes path; | |
address recipient; | |
uint256 amountIn; | |
uint256 amountOutMinimum; |
name: Test contracts (foundry) | |
on: | |
push: | |
branches: | |
- master | |
- foundry | |
tags: | |
- "*" | |
pull_request: |
set positional-arguments | |
build_dir := "./build" | |
all: | |
just compile Hello | |
# TODO add other circuits | |
# | |
# Circom compilation |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
/// @title Voting with delegation. | |
contract Ballot { | |
// This declares a new complex type which will | |
// be used for variables later. | |
// It will represent a single voter. | |
struct Voter { | |
uint weight; // weight is accumulated by delegation | |
bool voted; // if true, that person already voted |
let g:focused = 0 | |
function! Focus() | |
let g:focused = 1 - g:focused | |
if g:focused == 1 | |
let b:coc_suggest_disable = 1 | |
:Goyo 120 | |
:Limelight | |
:Voom markdown | |
:exe "normal \<C-w>\<C-w>" |
%{ | |
configs: [ | |
%{ | |
name: "default", | |
strict: true, | |
color: true, | |
checks: [ | |
# Consistency | |
{Credo.Check.Consistency.MultiAliasImportRequireUse, false}, |
const toTxHash = (value) => { | |
if (typeof value === "string") { | |
// this is probably a tx hash already | |
return value; | |
} else if (typeof value.receipt === "object") { | |
// this is probably a tx object | |
return value.receipt.transactionHash; | |
} else { | |
throw "Unsupported tx type: " + value; | |
} |
I hereby claim:
To claim this, I am signing this object:
# spec/support/webpack.rb | |
module WebpackTestBuild | |
TS_FILE = Rails.root.join("tmp", "webpack-spec-timestamp") | |
class << self | |
attr_accessor :already_built | |
end | |
def self.run_webpack | |
puts "running webpack-test" |
# Install ARCH Linux with encrypted file-system and UEFI | |
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
# Download the archiso image from https://www.archlinux.org/ | |
# Copy to a usb-drive | |
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
# Set swedish keymap |