summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-06-18interrupts-graph.py: prepare for writing / reading to filePeter Wu1-10/+38
2014-06-18rare/interrupt-graph.py: connect initial two pointsPeter Wu1-1/+1
2014-06-18rare/interrupts-graph.py: fix X axis numbersPeter Wu1-7/+14
Shift X axis as time progresses.
2014-06-18rare/interrupts-graph.py: thread for data retrievalPeter Wu1-4/+32
This fixes wrong data updates when the UI gets paused (and as a result, the data update gets delayed).
2014-06-17rare/interrupts-graph.py: use different colorsPeter Wu1-1/+17
There are often more than 8 lines, use a different set of colors in an attempt to improve recognition.
2014-06-17rare/interrupt-graph.py: monitor /proc/interruptsPeter Wu1-0/+223
Experiment to visualize updates to /proc/interrupts. "Rarely" used, hence a subfolder "rare".
2014-04-01ftp-list: do not break on permission errorPeter Wu1-2/+6
2014-03-31tmp-upload: do not output HTML for wget or curlPeter Wu1-4/+25
2013-12-16common-bytes.py: fix uneven line matchPeter Wu1-1/+1
2013-12-07common-bytes.py: context supportPeter Wu1-8/+36
With the "-C" option, a number of columns can be included before skipping them. Bugfix: reset skip state to avoid eating chars at the beginning for the next line. Enhancement: ignore EPIPE. Also adjusted the middle threshold to 9 ("XX..N..XX").
2013-12-07common-bytes: fix color terminationPeter Wu1-22/+17
Previously, the colors were not cleared as an attempt to optimize printing. New approach (requiring less LOC as well): print color if it does not equal the current state (previous color).
2013-12-07common-bytes.py: find patterns in fixed-length linesPeter Wu1-0/+217
Use case: analyse captured TCP traces.
2013-11-23git-log-describe.awk: allow limiting to cachePeter Wu1-1/+6
The `--contains` option (default, enabled via `-vfast=0`) does not show a result if there is no tag following a commit. The `-vcache_only` option prevents execution of `git describe` and thereby speeds up post-processing.
2013-11-23git-log-describe: -vfast={0|1} toggle for speedPeter Wu1-3/+14
`--contains` does exactly what I need (show which tag contains the commit), but it is very slow when getting deeper in the history. (500 ms vs 30000ms for a subdirectory from v3.0..v3.13-rc1 with 100 commits. For future reproduction, the command `git log v3.0..v3.13-rc1 drivers/net/wireless/rt2x00 | git-log-describe.awk` takes 12:20 minutes to complete for the slow mode (using `--contains`) where it is finished in only 19 seconds for the fast mode (using `--first-parent). After the cache is filled, this time gets reduced to slightly more than a second.
2013-11-23git-log-describe: Fix filedescriptors leakPeter Wu1-3/+9
2013-11-23git-log-describe: describe first tag following a commitPeter Wu1-3/+12
Instead of showing where a commit was derived from, use `--contains` to show a description relative to a tag containing the commit.
2013-11-22git-log-describe: introduce cache to speed up git-describePeter Wu1-9/+83
git-describe is slow, this change allows the output to be cached in a directory using two levels (first two chars of hash for a directory, the remaining 38 for the file). Set `-vcache=1` to enable the cache or specify a custom cache directory with `-vcache_dir=DIR`. On the Linux tree, this feature decreases the run time from 18 seconds to just one second (with .git in already in disk cache for both trials and 466 commits for a certain path).
2013-11-22git-log-describe: match more color escapesPeter Wu1-1/+1
Some commits failed to match in an decorated log because they used a bold-face color (like `\e[1;94m`).
2013-11-22git-log-describe: stop color on linePeter Wu1-1/+2
To avoid funny color effects when doing: git log --color | git-log-describe.awk | less -RN
2013-11-22git-log-describe: match only git's "commit" textPeter Wu1-0/+2
2013-11-22git-log-describe: add git-describe output to git-logPeter Wu1-0/+34
As of today (2013-11-22) there is still no support for adding an indication of tag to the output of git log. This script post-processes the output of `git log` and adds the output of `git describe --first-parent` to line following the commit ID. For a version suitable for `git log --oneline`, see [1]. [1]: http://stackoverflow.com/q/17379010/427545
2013-10-29build-time: kill temperature logger on exitPeter Wu1-0/+1
2013-10-28built-time: capture time to stdoutPeter Wu1-2/+2
2013-10-28get-patch: download a git patchPeter Wu1-0/+51
Given a URL (and optionally a subject), determine the patch location and save to a file based on the sanitized subject line.
2013-10-28git-credential-kwallet-mailtransports: git helperPeter Wu1-0/+75
Useful for using git-send-email without storing typing the long passwords all the time.
2013-10-28showtaints: display flags that taints the kernelPeter Wu1-0/+17
Created at 2012-11-12.
2013-10-28build-time: benchmark compile timesPeter Wu1-0/+149
This script stores compile times while compiling a kernel. It was used to determine the temperature performance after changing thermal paste.
2013-10-28calc-stats.py: calculate min/max/avg/sdPeter Wu1-0/+28
2013-10-09tmp-upload: fix upload when open_basedir is setPeter Wu1-3/+7
2013-10-09tmp-upload: open_basedir fixesPeter Wu1-5/+13
2013-08-12ftp: ignore ms in mlsd, process path in ftp-getPeter Wu3-3/+8
- ftp-get: when 'get bar.ext' on ftp.example.com/foo/, the directory 'foo' won't be created.
2013-08-05vnstats-gen-dir: add vnstats helperPeter Wu1-0/+39
2013-07-15ftp.py: allow spaces to be escapedPeter Wu1-1/+2
2013-07-14ftp-list: detect availability of MLSDPeter Wu1-1/+14
Some ProFTPd are known not to support MLSD. Detect that by checking for MLST in FEAT per RFC 3659[1]. [1]: http://tools.ietf.org/html/rfc3659#page-49
2013-07-13tmp-upload: support URL-encoded pathsPeter Wu1-1/+1
Fixes 404 on paths containing whitespace.
2013-07-13qemu-start: do not always overwrite ISO envvarPeter Wu1-1/+1
2013-07-13ftp*: python3 compat, SIZE fixes, MLSD supportPeter Wu3-9/+99
Set binary mode before requesting size, do not exit program if size() fails. Support MLSD mode for ftp-list.py (mostly copied from ftp.py)
2013-07-12notifyudp: initial checkin of 0.2.20130614Peter Wu1-0/+120
Originally posted on http://askubuntu.com/a/61656/6969 by me. Description: This version does not react on all messages (like parted/joined). If you want to get such spam notifications, remove the leading `#` in the `#'print text'` line. Some rate-limiting is implemented, there will be at least 1.3 seconds delay between notifications.
2013-07-11tmp-upload: support multiple file uploadPeter Wu1-3/+17
2013-06-26ftp*.py: add FTP scriptsPeter Wu3-0/+582
- ftp-get.py: sequentially download a list of files with one connection. - ftp-list.py: recursively show directory contents. - ftp.py: supports "MLSD" which is missing in inetutils.
2013-06-26tmp-upload: support subdirs, duplicate detectionPeter Wu1-27/+76
2013-06-26build-chroot: support interpreter detectionPeter Wu1-4/+34
2013-06-26Add helper for starting QEMUPeter Wu1-0/+88
2013-04-23Initial checkin.Peter Wu9-0/+661