Skip to content

Instantly share code, notes, and snippets.

(function(f) {
var d, e, p = function() {
d = (new (window.UAParser || exports.UAParser)).getResult();
e = new Detector;
return this
};
p.prototype = {
getSoftwareVersion: function() {
return "0.1.11"
},
@jarvis657
jarvis657 / find_old_lines.pl
Created May 25, 2020 08:09 — forked from indygreg/find_old_lines.pl
Find oldest lines in git repository
#!/usr/bin/perl
# This script parses Git blame's "porcelain" output format and
# ascertains the oldest lines of code seen.
#
# If you want to perform a custom report, just define your own callback
# function and invoke parse_porcelain() with it.
#
# The expected input format is slightly modified from raw `git blame
# -p`. Here is an example script for producing input:
@jarvis657
jarvis657 / perf-tool.py
Created May 1, 2018 14:55 — forked from brandtg/perf-tool.py
A script that runs Netflix's "Linux Performance Analysis in 60,000 Milliseconds"
#!/usr/bin/env python
#
# A script that runs the commands to perform Netflix's
# "Linux Performance Analysis in 60,000 Milliseconds"
#
# (http://techblog.netflix.com/2015/11/linux-performance-analysis-in-60s.html)
#
import subprocess
import datetime
import argparse
@jarvis657
jarvis657 / 0_reuse_code.js
Created June 28, 2016 06:52
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console

truble shooting of scribe

依赖

  • 整体
    • 这些依赖是必须的,以RHEL/CentOS举例
yum install automake libtool flex bison pkgconfig gcc-c++ libevent-devel