Skip to content

Instantly share code, notes, and snippets.

@ErFUN-KH
ErFUN-KH / v2ray-fragment.sh
Created September 23, 2023 16:43
v2ray + ws + cloudflare + fragment
bash <(curl -sL https://bit.ly/realityez)
{
"log": {
"loglevel": "warning",
"access": "/var/log/xray/access.log",
"error": "/var/log/xray/error.log"
},
"inbounds": [{
"port": 10000,
"protocol": "vmess",
"settings": {
@ErFUN-KH
ErFUN-KH / VLESS-XTLS-uTLS-REALITY.json
Last active September 8, 2024 18:49
VLESS-XTLS-uTLS-REALITY
{
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"ip": [
@ErFUN-KH
ErFUN-KH / swap.sh
Last active March 19, 2023 18:50
Create 4GB swap memory
#!/bin/bash
touch /var/swap.img && \
chmod 600 /var/swap.img && \
dd if=/dev/zero of=/var/swap.img bs=1024k count=4000 && \
mkswap /var/swap.img && \
swapon /var/swap.img && \
echo "/var/swap.img none swap sw 0 0" >> /etc/fstab && \
ulimit -n 51200
syntax = "proto3";
package my.date;
message Date {
// Year of date. Must be from 1 to 9999, or 0 if specifying a date without
// a year.
int32 year = 1;
// Month of year. Must be from 1 to 12.
syntax = "proto3";
message Date {
// Year of date. Must be from 1 to 9999, or 0 if specifying a date without
// a year.
int32 year = 1;
// Month of year. Must be from 1 to 12.
int32 month = 2;
// The syntax for this file is proto3
syntax = "proto3";
/* Person is used to identify users
* across our system */
message Person {
// the age as of the person's creation
int32 age = 1;
// the first name as documented in the signup form
string first_name = 2;
// The syntax for this file is proto3
syntax = "proto3";
/* Person is used to identify users
* across our system */
message Person {
// the age as of the person's creation
int32 age = 1;
// the first name as documented in the signup form
string first_name = 2;
// The syntax for this file is proto3
syntax = "proto3";
/* Person is used to identify users
* across our system */
message Person {
// the age as of the person's creation
int32 age = 1;
// the first name as documented in the signup form
string first_name = 2;
syntax = "proto3";
message Person {
int32 age = 1;
string first_name = 2;
string last_name = 3;
bytes small_picture = 4;
bool is_profile_verified = 5;
float height = 6;