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
#include <stdio.h> | |
#include <stdint.h> | |
#include <sys/mman.h> | |
int main() | |
{ | |
mprotect((void *)((unsigned long)main & (~0xfff)), 4096, | |
PROT_EXEC|PROT_WRITE); | |
{ // gcc and clang puts the "0:", "1:" etc labels below at different places | |
char *p; |
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
CFLAGS := -Wall -Og | |
PROGRAMS := fork-exec-memset vfork-exec-memset | |
.PHONY: all | |
all: $(PROGRAMS) | |
.PHONY: test | |
test: all | |
./test-fork-exec-memset |
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
# openssl speed -elapsed -evp aes-128-gcm | |
You have chosen to measure elapsed time instead of user CPU time. | |
Doing aes-128-gcm for 3s on 16 size blocks: 55740342 aes-128-gcm's in 3.00s | |
Doing aes-128-gcm for 3s on 64 size blocks: 36792402 aes-128-gcm's in 3.00s | |
Doing aes-128-gcm for 3s on 256 size blocks: 19513330 aes-128-gcm's in 3.00s | |
Doing aes-128-gcm for 3s on 1024 size blocks: 6431553 aes-128-gcm's in 3.00s | |
Doing aes-128-gcm for 3s on 8192 size blocks: 943229 aes-128-gcm's in 3.00s | |
Doing aes-128-gcm for 3s on 16384 size blocks: 478375 aes-128-gcm's in 3.00s | |
OpenSSL 1.1.1c 28 May 2019 | |
built on: Wed May 29 17:53:30 2019 UTC |
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
BRN30055CC52E61.local |
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
Thunder 测试网资讯 | |
1. RPC 网址 | |
https://testnet-rpc.thundercore.com | |
wss://testnet-ws.thundercore.com | |
2. 区块浏览器 | |
https://scan-testnet.thundercore.com | |
3. 发钱水龙头 Faucet |
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
https://drill-migration.s3-ap-northeast-1.amazonaws.com/drill-migration.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
https://thundercore-chain-data-us-east-1.s3.amazonaws.com/latest |
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
/* vim: ts=2:sw=2:et | |
* | |
* Use this file to configure your truffle project. It's seeded with some | |
* common settings for different networks and features like migrations, | |
* compilation and testing. Uncomment the ones you need or modify | |
* them to suit your project as necessary. | |
* | |
* More information about configuration can be found at: | |
* | |
* truffleframework.com/docs/advanced/configuration |
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
pragma solidity >=0.4.21 <0.6.0; | |
contract Migrations { | |
address public owner; | |
uint public last_completed_migration; | |
constructor() public { | |
owner = msg.sender; | |
} |
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 network | |
import ( | |
"bufio" | |
"crypto/ecdsa" | |
"crypto/elliptic" | |
"crypto/rand" | |
"crypto/tls" | |
"crypto/x509" | |
"crypto/x509/pkix" |
NewerOlder