Skip to content

Instantly share code, notes, and snippets.

View phoenixlzx's full-sized avatar
🙃
Alive.

Phoenix Nemo phoenixlzx

🙃
Alive.
View GitHub Profile
@phoenixlzx
phoenixlzx / nt.md
Last active October 3, 2023 03:38
Project NyaaTracker

NyaaTracker is an open and free bittorrent tracker for everyone.

Usage

Simply add one of the following tracker address to your torrent file and all set:

  • http://t.nyaatracker.com:80/announce
  • udp://t.nyaatracker.com:80/announce

Features

301 https://github.com/zxdrive/imouto.host
@phoenixlzx
phoenixlzx / deploy-jeyll-on-vps.md
Created January 26, 2016 02:41
Deploy Jekyll on VPS using git-hook

Install dependencies

$ apt-get install git nginx # or using any other package manager and web server

Create directories and repositories:

cd $HOME
@phoenixlzx
phoenixlzx / sniproxy.conf
Last active November 23, 2018 11:26
SNIProxy configuration
# sniproxy example configuration file
# lines that start with # are comments
# lines with only white space are ignored
user daemon
# PID file
pidfile /var/run/sniproxy.pid
resolver {
@phoenixlzx
phoenixlzx / install-dsm-6-on-proxmox-5.md
Created April 29, 2018 12:58 — forked from Neonox31/install-dsm-6-on-proxmox-5.md
Install DSM 6.X on Proxmox 5.0.X

DRAFT

Prerequisites

Procedure

  • Create the proxmox VM as the following :
  • OS Type : Linux 4.x

Origin: https://www.ikde.org/discuss/how-to-translate-kde/

7、翻译

以下内容比较零散,作为指导和参考。

中英混合:中英混合时在英文两侧加入空格。

标点:常见使用全角的标点都使用全角,括号使用半角,并在括号周围留空格,例外包括括号后紧跟其他标点,或者是为了快捷键字符的括号。引号无论内容是单引号还是双引号,优先使用双引号,嵌套时才使用单引号。

@phoenixlzx
phoenixlzx / shaper.sh
Created July 26, 2017 17:33 — forked from jterrace/shaper.sh
A utility script for traffic shaping with tc
#!/bin/bash
#
# shaper.sh
# ---------
# A utility script for traffic shaping using tc
#
# Usage
# -----
# shape.sh start - starts the shaper
# shape.sh stop - stops the shaper

基于 Node.js 和 Express.js 的 RESTful API 服务端开发

开发环境

  • Node.js (0.10.28+)
    • Arch Linux: 直接使用包管理器安装
    • Ubuntu / Debian / etc: 使用 visionmedia/n
    • OS X / Windows: 使用官方提供的安装包
  • 编辑器
  • WebStorm
@phoenixlzx
phoenixlzx / bloodmoon_mob_yaml_generator.js
Last active November 18, 2016 04:40
NyaaCat bloodmoon plugin mob.yml generator
'use strict';
var yaml = require('js-yaml');
var fs = require('fs');
var waves = 6,
wave_easy = 3,
wave_normal = 5;
var div = 3;
var maxmobs = 20;
@phoenixlzx
phoenixlzx / ess_worth.js
Last active January 31, 2016 14:04
Essentials worth.txt generator from items.csv
'use strict';
/*
* 2016 Phoenix Nemo <i@phoenixlzx.com>
* This script converts Essentials items.csv to worth.txt file
* don't forget to edit prices yourself!
**/
var fs = require('fs');
var yaml = require('js-yaml');