Skip to content

Instantly share code, notes, and snippets.

{
"GENERAL": {
"active": true,
"comment": "A generic set of rules, to be applied regardless of the current phase",
"rules": {
"steps": {
"active": false,
"start_pattern": "DisplayProgressbar: (?<step>.+)",
"start_message": "Current step: %{step}"
},
@recih
recih / Mixamo.js
Last active November 30, 2020 14:54 — forked from gnuton/Mixamo.js
Script which downloads all mixamo animations for one character.
// Mixamo Animation downloadeer
// The following script make use of mixamo2 API to download all anims for a single character that you choose.
// The animations are saved with descriptive long names instead of the short ones used by default by mixamo UI.
//
// This script has been written by [email protected] and the author is not responsible of its usage
//
// How to use this script
// 1. Browse mixamo.com
// 2. Log in
// 3. Open JS console (F12 on chrome)
@recih
recih / CentOS-Base.repo.centos7_tsinghua_mirror
Last active November 15, 2018 05:18
tsinghua mirror CentOS-Base.repo for CentOS 7
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
@recih
recih / 0001-add-f-option.patch
Created February 26, 2018 06:42
rinetd patch
From 40fcb6d6794bb21ea16353c13a265454b5b43603 Mon Sep 17 00:00:00 2001
From: pw_prg_fengbo <[email protected]>
Date: Mon, 26 Feb 2018 14:36:13 +0800
Subject: [PATCH] add -f option
---
rinetd.8 | 3 +++
rinetd.c | 16 ++++++++++++----
2 files changed, 15 insertions(+), 4 deletions(-)
// ==UserScript==
// @name Feedbin skip image proxy
// @namespace recih
// @version 0.1
// @description make feedbin load image faster
// @match https://feedbin.com/
// @grant none
// @copyright 2014+, recih
// ==/UserScript==
@recih
recih / lua_value.pegjs
Last active August 29, 2015 14:13
a javascript parser for lua object, use PEG.js to generate parser code
start = S v:value S { return v; }
s = [ \t\r\n]
S = s*
SEP = S [,;]? S
name = c:[a-zA-Z0-9_]+ { return c.join(""); }
number = c:[0-9.+-]+ { return parseFloat(c.join("")); }
bool = s:('true' / 'false') { return s === 'true'; }
string = '"' s:([^"] / ('\\"' { return '"'}))* '"' { return s.join(""); }