Age | Commit message (Collapse) | Author | Files | Lines |
|
Every time I need to invoke `ip addr` or `ifconfig` to find addresses,
might as well save some time by printing the local addresses directly.
|
|
Address deprecation warnings. Line selection appears to be broken, but
at least some graph is visible. Tested with python-matplotlib 3.3.1-1
and python-scipy 1.5.2-1.
|
|
Originally made for macOS. Linux (via GNU libc, glibc ld.so) already has
a much more compact version that can display the library dependencies.
As the user might try to run it on untrusted libraries, let's not
execute the command by default and print a hint instead.
|
|
|
|
"The imminent release of pacman 5.2 brings build tools with support for
compressing packages with zstd. [..] If you use custom scripts make sure
these do not rely on hardcoded file extensions. The zstd package file
extension will be .pkg.tar.zst."
https://www.archlinux.org/news/required-update-to-recent-libarchive/
|
|
|
|
The previous tmp-upload script required PHP which is not always
available. It also did not support TLS. This new version supports that
and should be in a better position to handle large files as well.
Created at 2019-03-31.
|
|
|
|
Perform syntax-only checks using a compilation database as produced by
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON, similar to clang-check.
|
|
The path already starts with a slash, do not concatenate it with another
slash from the mirror URL.
|
|
For testing older packages while reusing a local package cache.
Fix miscellaneous issues like printing stack traces when -Syu while the
cache is up to date (peer would close connection).
|
|
Quick hack to support one specific range request type: resume
downloading at some offset until the end. The full file is still
downloaded from upstream as needed.
|
|
|
|
With a freshly bootstrapped VM (using
https://github.com/Lekensteyn/archdir), it became tiresome (and
wasteful) to download the same packages when my local nginx cache was
not available. This script serves as a simple proxy that tries to cache
downloaded packages in the current working directory.
|
|
|
|
This reverts commit 7851407fe89228897d01278bb1929f817821a701.
Hardware randomness is automatically added to the pools, these scripts
are not really needed. The original issue that made the boot hang was
fixed in Linux v4.7-12388-g0cbbc422.
|
|
|
|
Continuously fills the entropy pool from /dev/hwrng, crediting 4 bits of
entropy per byte. Hopefully speeds up the provisioning of a test VM that
invokes pacman-key --init...
Authored by me, posted on https://unix.stackexchange.com/a/302338/8250
|
|
Useful for using over SSH.
|
|
Useful when a network interface goes down and up again, this keeps
connections such as SSH alive.
Created 2015-11-02
|
|
|
|
Fixes missing newline between the two different changesets (not merged
in X, not merged in Y).
|
|
The git bash-completion scripts looks for the first word, so separate it
from ';' and drop "git" to make it shorter (it gets ignored anyway).
|
|
Print pending, blocked, ignored and caught signals for a process.
|
|
Useful to find out if I forgot to backport something and whether some
branches can be removed or not.
|
|
Simple alternative to tidy
Created at: 2013-08-28 00:03:00
|
|
For submodules, the .git file is just a file, not a directory.
|
|
Replaces intermediate certificates (PEM format) by other certificates.
Beware of line endings!
Supports both Python 2.7 and 3.
|
|
|
|
ASAN_OPTIONS=help=1 is not supported by GCC 4.9, but I want to know its
supported features anyway. Manually copy the names from gcc-4.9-20150204
and print the help text with names highlighted.
|
|
Lsat modified 2014-12-30
|
|
|
|
|
|
At first I used multithreading because threading would still run with
one CPU core due to the GIL. That probably happened because I accessed
_hashes[algos] in the loop of _queue_updater. Now that this is not
done anymore, and only the hash update function is called which releases
the GIL for data larger than 2 KiB, multiple cores are actually used.
For comparison, for a file of 2.3 GiB (min/avg/max/sd secs for n=10):
- pee sha256sum md5sum < file: 16.5/16.9/17.4/.305
- python3 digest.py -sha256 -md5 < file: 13.7/15.0/18.7/1.77
- python2 digest.py -sha256 -md5 < file: 13.7/15.9/18.7/1.64
- jacksum -a sha256+md5 -F '#CHECKSUM{i} #FILENAME': 32.7/37.1/50/6.91
The file is actually 2367029248 bytes, resident in the disk cache.
Environment:
- CPU: Intel i5-460M
- Arch Linux x86_64
- Linux 3.17-rc4
- coreutils 8.23
- moreutils 0.51
- jacksum 1.7.0 on OpenJDK 1.7.0_71
- Python 3.4.2, Python 2.7.8
|
|
Created to "Simultaneously calculate multiple digests (md5, sha256)",
http://unix.stackexchange.com/q/163747/8250
This implementation has a simple single-threaded class (Hasher) and a
multi-threaded one. Currently uses the multithreading.Queue interface.
|
|
Send a notification only if a highlight is found (e.g. when you are
mentioned).
|
|
|
|
mtime: 19 July 2013
|
|
Originally I wanted it to be a git-review post-review hook, but there
seems to be no way to get the most recently pushed commits.
|
|
Just changing the marker does not make selections more apparent.
Increase line thickness and zorder to increase visibility.
|
|
Do not update domain if looking at a previous part, or if the new line
fits in the current graph. This makes it easier to look at older data
while updating the plot.
|
|
|
|
get_diffs() was called in update(), but that would invalidate numbers.
Now the input file is fully read (allows moving).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shift X axis as time progresses.
|