Skip to content

Instantly share code, notes, and snippets.

View hellokaton's full-sized avatar
:shipit:
Focusing on work

見える hellokaton

:shipit:
Focusing on work
View GitHub Profile
@hellokaton
hellokaton / aria2_oneindex.md
Last active May 1, 2024 04:42
Aria2 + OneIndex 自动上传打造离线网盘

Aria2 + OneIndex 自动上传打造离线网盘

5ba334a75cd12

1. 安装 Nginx + PHP

yum -y install wget screen curl python git
wget http://mirrors.linuxeye.com/lnmp-full.tar.gz
tar xzf lnmp-full.tar.gz
@hellokaton
hellokaton / README.md
Last active March 29, 2024 02:33
Go 的信号处理和优雅退出

每个平台的信号定义或许有些不同。下面列出了POSIX中定义的信号。 Linux 使用34-64信号用作实时系统中。 命令man 7 signal提供了官方的信号介绍。

在POSIX.1-1990标准中定义的信号列表

ShadowsocksR 协议插件文档


概要

用于方便地产生各种协议接口。实现为在原来的协议外套一层编码和解码接口,不但可以伪装成其它协议流量,还可以把原协议转换为其它协议进行兼容或完善(但目前接口功能还没有写完,目前还在测试完善中),需要服务端与客户端配置相同的协议插件。插件共分为两类,包括混淆插件和协议定义插件。

现有插件介绍

1.混淆插件

@hellokaton
hellokaton / character.md
Last active November 4, 2023 02:13
HTML字符实体(Character Entities),转义字符串(Escape Sequence)
<title>常用HTML转义字符,html转义符,JavaScript转义符,html转义字符表,HTML语言特殊字符对照表(ISO Latin-1字符集) - 来源:嘻嘻网 114.xixik.com</title>
@hellokaton
hellokaton / jekyll-guide.md
Created September 19, 2018 09:30
Jekyll 中的配置和模板语法

Jekyll 中的配置和模板语法

配置

文件介绍

_config.yml

Jekyll 的全局配置文件。
比如网站的名字,网站的域名,网站的链接格式等等。

@hellokaton
hellokaton / .Cloud.md
Last active July 23, 2023 05:28 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@hellokaton
hellokaton / ImageUtil.java
Created February 6, 2018 07:34
图片压缩工具类
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
@hellokaton
hellokaton / App.tsx
Last active June 13, 2022 09:53
chakra + swiper 示例
import * as React from "react"
import {
ChakraProvider,
theme,
} from "@chakra-ui/react"
// Import Swiper React components
import { Swiper, SwiperSlide } from "swiper/react";
// Import Swiper styles
@hellokaton
hellokaton / App.tsx
Created June 13, 2022 07:59
chakra + react-responsive-carousel 示例
import * as React from "react"
import {
ChakraProvider,
theme,
} from "@chakra-ui/react"
import Item from "./Item";
import "react-responsive-carousel/lib/styles/carousel.min.css";
import { Carousel } from 'react-responsive-carousel';
@hellokaton
hellokaton / install_chevereto.md
Last active November 7, 2021 12:50
自建图床 chevereto

在 VPS 上搭建自己的图床,这次我们使用 chevereto 这个程序。你需要在服务器上有 Nginx、PHP、MySQL,我们使用一键安装包进行安装。

安装 LNMP

yum -y install wget screen curl python git
wget http://mirrors.linuxeye.com/lnmp-full.tar.gz
tar xzf lnmp-full.tar.gz
cd lnmp
screen -S lnmp