This is part of a broader set of tools used to make it easier to split one large change into many.
Move these two commands into a user-writable bin
folder (I personally user ~/bin
, but you may prefer /usr/local/bin
or similar).
node_modules | |
dist |
// StateMachine Types and Helpers | |
const opaquenessProof = Symbol.for("Opaqueness Proof"); | |
type Args<T> = T extends (...args: infer Args) => any ? Args : never; | |
type OpaqueResult = { | |
[opaquenessProof]: true; | |
nextState: string; | |
args: any[]; |
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
from typing import Dict, List, Optional | |
from capstone import * | |
import sys | |
from capstone.ppc_const import PPC_INS_XVABSSP | |
sparc_little = Cs(CS_ARCH_SPARC, CS_MODE_V9 | CS_MODE_BIG_ENDIAN) | |
sparc_big = Cs(CS_ARCH_SPARC, CS_MODE_V9 | CS_MODE_BIG_ENDIAN) | |
riscv_little = Cs(CS_ARCH_RISCV, CS_MODE_RISCV32) | |
riscv_big = Cs(CS_ARCH_RISCV, CS_MODE_RISCV32) |
#ifdef GL_ES | |
precision highp float; | |
precision highp int; | |
#endif | |
uniform float time; | |
uniform float dt; | |
uniform vec2 resolution; | |
uniform ivec4 loopback[250]; |
from comet_ml import Experiment | |
import torch | |
import torchvision | |
import torchvision.transforms as T | |
from datatap import Api | |
from datatap.torch import create_dataloader, torch_to_image_annotation | |
from datatap.utils.print_helpers import pprint | |
from datatap.metrics import ConfusionMatrix, PrecisionRecallCurve | |
from datatap.comet import init_experiment, log_validation_proposals |
type Base<T> = | |
T extends (infer V)[] ? { push: (v: V) => void } : | |
{}; | |
export type TransactionObject<T> = | |
T extends string | number | boolean | Function | undefined | null ? T : | |
T extends {} ? { [K in keyof T]: TransactionObject<T[K]> } & Base<T> : never; | |
type TransactionOptions = { | |
commit: () => void; |
from typing import Tuple, Dict, List, TypedDict | |
import copy | |
import struct | |
from functools import cached_property | |
import math | |
from pwnlib.util.packing import flat, u16 | |
def twos_byte(b): | |
b = b & 0xFF | |
if b <= 0x7F: |
from typing import Tuple, Dict, List, TypedDict | |
import copy | |
import struct | |
from functools import cached_property | |
import math | |
from pwnlib.util.packing import flat, u16 | |
def twos_byte(b): | |
b = b & 0xFF | |
if b <= 0x7F: |