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://github.com/shadowsocks/shadowsocks-go/blob/master/LICENSE | |
package main | |
type LeakyBuf struct { | |
bufSize int | |
freeList chan []byte | |
} | |
const leakyBufSize = 4096 |
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
class Danmaku { | |
elementQueue = null; | |
fps = 60; | |
trackSize = 8; | |
constructor(view) { | |
this.view = view; | |
this.view.width = 1920; | |
this.view.height = 1080; | |
this.context = view.getContext("2d"); |
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 ( | |
"context" | |
"fmt" | |
"google.golang.org/grpc" | |
"log" | |
"v2ray.com/core" | |
"v2ray.com/core/app/proxyman" | |
"v2ray.com/core/app/proxyman/command" |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mDMEYOb02BYJKwYBBAHaRw8BAQdAQS60RzD6saInTSeNwKq045F/88ar+l1wFhl3 | |
H+njVd60HWthbGx5ZGV2IDxrYWxseWRldkBnbWFpbC5jb20+iJQEExYKADwWIQT9 | |
qXWFT/UcfLfFzEOvhuFdcyBJhwUCYOb02AIbAwULCQgHAgMiAgEGFQoJCAsCBBYC | |
AwECHgcCF4AACgkQr4bhXXMgSYfcOgD+MyhRsWxbu/h3mRpOX+fsFYZn3kL7ok5V | |
/gDbCN8xobsA/0G7lWeb965IafTuIaWpYEuQVEqMQsZ0K7nGAg4i7EYP | |
=4maa | |
-----END PGP PUBLIC KEY BLOCK----- |
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
TypeScript 10 hrs 52 mins ███████▊░░░░░░░░░░░░░ 37.2% | |
Go 7 hrs 57 mins █████▋░░░░░░░░░░░░░░░ 27.2% | |
Rust 3 hrs 17 mins ██▎░░░░░░░░░░░░░░░░░░ 11.3% | |
Python 2 hrs 19 mins █▋░░░░░░░░░░░░░░░░░░░ 8.0% | |
JSON 1 hr 51 mins █▎░░░░░░░░░░░░░░░░░░░ 6.4% |
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
HELLO WORLD |
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
{ | |
"server": “0.0.0.0”, | |
"server_port": 8388, | |
"password": "password", | |
"method": "aes-256-gcm" | |
} |
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 ( | |
"crypto/ecdsa" | |
"fmt" | |
"github.com/ethereum/go-ethereum/common/hexutil" | |
"github.com/ethereum/go-ethereum/crypto" | |
"github.com/sirupsen/logrus" | |
"os" | |
"strings" |
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 subscriber | |
import ( | |
"context" | |
"github.com/ethereum/go-ethereum/core/types" | |
"github.com/ethereum/go-ethereum/ethclient" | |
"github.com/go-redis/redis/v8" | |
"github.com/sirupsen/logrus" | |
"github.com/spf13/cobra" | |
) |
OlderNewer