- Define how to verify the attestation certificate w3c/webauthn#605
This file contains 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
[custom] | |
;不要随意改变关键字,否则会导致出错 | |
;acl4SSR规则 | |
;去广告:支持 | |
;自动测速:支持 | |
;微软分流:支持 | |
;苹果分流:支持 | |
;增强中国IP段:支持 | |
;增强国外GFW:支持 |
This file contains 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
[ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "name", | |
"outputs": [{ "name": "", "type": "string" }], | |
"payable": false, | |
"stateMutability": "view", | |
"type": "function" | |
}, |
This file contains 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
#!/bin/bash | |
set -eux | |
set -o pipefail | |
export VERSION=1.5.5 | |
wget https://github.com/containerd/containerd/releases/download/v${VERSION}/cri-containerd-cni-${VERSION}-linux-amd64.tar.gz | |
tar --no-overwrite-dir -C / -xzf cri-containerd-cni-${VERSION}-linux-amd64.tar.gz |
This file contains 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
#!/usr/bin/env bash | |
# | |
# iterm2-zmodem | |
# | |
# copyright (c) 2013 by Harald Lapp <harald@octris.org> | |
# | |
# AppleScript portion from: | |
# http://stackoverflow.com/questions/4309087/cancel-button-on-osascript-in-a-bash-script | |
# licensed under cc-wiki with attribution required |
This file contains 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 main | |
import ( | |
"encoding/json" | |
"os" | |
) | |
func main() { | |
stream := make(chan int, 1) |
This file contains 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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
interface IERC20 { | |
function symbol() external view returns (string memory); | |
function name() external view returns (string memory); | |
function decimals() external view returns (uint8); |
This file contains 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
/** | |
*Submitted for verification at Etherscan.io on 2020-09-16 | |
*/ | |
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity =0.6.11; | |
/** | |
* @dev Interface of the ERC20 standard as defined in the EIP. | |
*/ |
This file contains 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 { ApiPromise, WsProvider, Keyring } from "@polkadot/api"; | |
import { expandMetadata } from "@polkadot/metadata"; | |
import { stringCamelCase, u8aToHex } from "@polkadot/util"; | |
import { | |
blake2AsHex, | |
cryptoWaitReady, | |
encodeAddress, | |
} from "@polkadot/util-crypto"; | |
import type { SignerPayloadJSON, AnyJson } from "@polkadot/types/types"; |
This file contains 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
#!/usr/bin/env bash | |
set -eux | |
set -o pipefail | |
# Add Docker's official GPG key: | |
apt-get update -y | |
apt-get install ca-certificates curl jq -y | |
install -m 0755 -d /etc/apt/keyrings | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc |
NewerOlder