View barely-tweaks.js
// ==UserScript==
// @name barely-tweaks
// @namespace http://tampermonkey.net/
// @version 0.3
// @description UI / UX Tweaks for BearyChat
// @author E.T
// @match https://*.bearychat.com/*
// ==/UserScript==
/* global XPathResult, document, fetch */
View pick-works.js
// ==UserScript==
// @name pick-works
// @namespace http://tampermonkey.net/
// @version 0.1
// @author E.T
// @match https://read.douban.com/competition/2015/works*
// @grant none
// ==/UserScript==
;(function () {
View CSS line behind title text.markdown
View a-warning.md

Warning

This benchmark has been misleading for a while. It was originally made to demonstrate how JIT compilers can do all sorts of crazy stuff to your code - especially LuaJIT - and was meant to be a starting point of discussion about what exactly LuaJIT does and how.

As a result, its not indicative of what its performance may be on more realistic data. Differences can be expected because

  1. the text will not consist of hard-coded constants
View lsi.sh
#!/bin/bash
#
# Calomel.org
# https://calomel.org/megacli_lsi_commands.html
# LSI MegaRaid CLI
# lsi.sh @ Version 0.05
#
# description: MegaCLI script to configure and monitor LSI raid cards.
# Full path to the MegaRaid CLI binary
View backend.conf
server {
listen 80;
server_name backend;
root /usr/share/nginx/www;
index index.html index.html;
location / {
header_filter_by_lua '
View mjolnir.lua
local window = require "mjolnir.window"
local hotkey = require "mjolnir.hotkey"
local desiredWidth = 1024
local desiredHeight = 768
hotkey.bind({"cmd", "shift"}, "m", function()
local win = window.focusedwindow()
local screenBounds = win:screen():frame()
local destX = (screenBounds.w - desiredWidth) / 2 + screenBounds.x
View gist:ef756e22e288595eed6d
$ mtr -u --report douban.com
HOST: zerus Loss% Snt Last Avg Best Wrst StDev
1.|-- 115.182.xx.x 0.0% 10 0.3 0.3 0.3 0.3 0.0
2.|-- 60.195.255.109 0.0% 10 0.6 0.6 0.6 0.8 0.1
3.|-- 219.239.92.10 30.0% 10 49.4 37.8 2.2 63.4 22.2
4.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
5.|-- 10.244.1.25 90.0% 10 16.7 16.7 16.7 16.7 0.0
6.|-- ms-a-02-vlan10.dxt-idc.ne 70.0% 10 11.1 6.9 1.9 11.1 4.7
7.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0
View sumup.py
#!/usr/bin/env python
# coding: utf-8
'''
中国联不通每月通话时间统计
用法:
1. 去 http://iservice.10010.com/ 下载通话详单(Excel 格式),导出为 CSV
2. ./sumup.py *.csv
'''
View jdk-deb-build.sh
#!/bin/bash
PACKAGE=oracle-jdk-7
PACKAGE_VIRTUAL=oracle-jdk
VERSION_MAJOR=7
VERSION_MINOR=60
VERSION="${VERSION_MAJOR}u${VERSION_MINOR}"
BUILD=b19
PKG_BASENAME="jdk-$VERSION-linux-x64.tar.gz"