First, install arch-install-scripts:
sudo pacman -S --needed arch-install-scripts
Secondly, mount your partitions in all the internal hard drives.
Thirdly, generate and validate your config by piping it out to stdout:
--[[ | |
Prevent the screen from blanking while a video is playing. | |
This script is a workaround for the GNOME+Wayland issue documented in the | |
[Disabling Screensaver] section of the mpv manual, and depends on | |
gnome-session-inhibit (usually provided by the gnome-session package) to set up | |
the inhibitors. | |
#!/bin/sh | |
# ref https://unix.stackexchange.com/a/457902 | |
journalctl --rotate | |
journalctl --vacuum-time=1s |
First, install arch-install-scripts:
sudo pacman -S --needed arch-install-scripts
Secondly, mount your partitions in all the internal hard drives.
Thirdly, generate and validate your config by piping it out to stdout:
[ Update 2020-05-31: I won't be maintaining this page or responding to comments anymore. The list of supporting software reflects the known state as of this date. ]
Most of the terminal emulators auto-detect when a URL appears onscreen and allow to conveniently open them (e.g. via Ctrl+click or Cmd+click, or the right click menu).
It was, however, not possible until now for arbitrary text to point to URLs, just as on webpages.
Ctrl + Alt + Space
// Compile with e.g. `gcc -o /tmp/eatmem /tmp/eatmem.c` | |
#include <errno.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#define DEFAULT_SLEEP_SECONDS 600 | |
#define DEFAULT_ALLOC_MB 1024 |
#!/bin/sh | |
# create a podman container with fifo named pipe as log file | |
# for demonstrate issue https://github.com/containers/podman/issues/13081 | |
CTR_NAME="redis-demo" | |
function print_title() { | |
title=$1 | |
echo "" | |
echo "|=================== $title ===================>>>" |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
-- see http://lua-users.org/lists/lua-l/2021-06/msg00084.html | |
-- https://github.com/diegonehab/luasocket/pull/334 | |
-- https://github.com/diegonehab/luasocket/issues/331 | |
-- install command: | |
-- cd /tmp/ && curl -LO https://gist.github.com/ttys3/31dbf88ee7d708294d8ae5b0a4954424/raw/c74afc3edc1a48c0f7e1c2c9992750301bbb74ff/luasocket-scm-3.rockspec | |
-- luarocks install ./luasocket-scm-3.rockspec | |
package = "LuaSocket" | |
version = "scm-3" | |
source = { |