Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃
Alive.

Phoenix Nemo phoenixlzx

🙃
Alive.
View GitHub Profile
@phoenixlzx
phoenixlzx / config.yml
Created Jun 11, 2014
SignShop Configuration
View config.yml
# If you need help with this config, view the SignShop Quick Reference PDF located in the SignShop folder
# You can also visit our Bukkit page at tiny.cc/SignShop
# There are a few basic options to modify how SignShop acts globally
# You can edit anything in this config and use "/signshop reload" to reload the config while the server is running
@phoenixlzx
phoenixlzx / apple.hosts
Last active Aug 29, 2015
Apple Accelerated hosts
View apple.hosts
# swdist
124.232.148.78 swdist.apple.com
182.118.12.165 swdist.apple.com
220.181.64.182 swdist.apple.com
124.95.150.197 swdist.apple.com
# itunes
221.228.64.48 itunes.apple.com
218.59.209.150 itunes.apple.com
58.215.107.24 itunes.apple.com
View nodejs_expressjs_restful_api_server_quickstart.md

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

开发环境

  • Node.js (0.10.28+)
    • Arch Linux: 直接使用包管理器安装
    • Ubuntu / Debian / etc: 使用 visionmedia/n
    • OS X / Windows: 使用官方提供的安装包
  • 编辑器
    • WebStorm
View ass2txt.js
// ass2txt convert script
if (process.argv.length < 3) {
console.log('Usage: node ' + process.argv[1] + ' FILENAME');
process.exit(1);
}
var fs = require('fs')
, filename = process.argv[2];
fs.readFile(filename, 'utf8', function(err, data) {
if (err) throw err;
View imouto.hosts
301 https://github.com/zxdrive/imouto.host
@phoenixlzx
phoenixlzx / nyaa.cat.nginx.conf
Created Feb 21, 2014
Nyaa.cat NGINX configuration
View nyaa.cat.nginx.conf
map $http_accept_language $lang {
default zh_CN;
~en en;
~ca ca;
}
server {
listen [::]:80;
@phoenixlzx
phoenixlzx / PKGBUILD
Created Oct 2, 2012
PKGBUILD for Vuze 4.7.2.0
View PKGBUILD
pkgname=vuze
pkgver=4.7.2.0
pkgrel=2.1
pkgdesc="One of the most powerful bitTorrent client with GUI in the world, written in Java."
arch=('i686' 'x86_64')
url="http://azureus.sf.net/"
license=('GPL')
depends=('java-runtime' 'desktop-file-utils')
optdepends=('libgnomeui: for vuze GUI')
install=vuze.install
You can’t perform that action at this time.