Command line used: iozone -e -I -a -s 100M -r 16k -r 512k -r 1024k -i 0 -i 1 -i 2 -f test
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
102400 16 9133 8666 21972 20186 19566 9457
102400 512 18792 18809 68554 73029 65743 19684
102400 1024 18777 15908 60207 65950 70765 18875
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#set -x | |
URL="https://api.nordvpn.com/v1/servers/recommendations?&filters\[servers_technologies\]\[identifier\]=wireguard_udp&limit=1" | |
if [[ -n "$DRY" ]]; then | |
uci() { | |
echo "uci: $@" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
case "$1" in | |
config-*) | |
CONFIG_NAME="$1" | |
;; | |
configs) | |
cd ~/klippy-configs | |
ls -1 klipper-config-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $# -ne 1 ]]; then | |
echo "usage: $0 <windows-partition>" | |
echo " ex.: $0 /dev/nvme0n1p10" | |
echo " ex.: $0 /dev/mmcblk0p3" | |
exit 1 | |
fi | |
if [[ $(id -u) != 0 ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-device.dts b/arch/arm64/boot/dts/rockchip/rk3399-device.dts | |
index e4afa22cf658..3344ce45d5c8 100644 | |
--- a/arch/arm64/boot/dts/rockchip/rk3399-device.dts | |
+++ b/arch/arm64/boot/dts/rockchip/rk3399-device.dts | |
@@ -658,6 +658,11 @@ accelerometer@68 { | |
interrupts = <RK_PC6 IRQ_TYPE_LEVEL_LOW>; | |
vdd-supply = <&vcc_1v8>; | |
vddio-supply = <&vcc_1v8>; | |
+ | |
+ mount-matrix = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
IMAGE="${1:-gitlab/gitlab-ce:latest}" | |
shift | |
tmp_dir=$(mktemp -d -t ci-XXXXXXXXXX) | |
trap "rm -rf $tmp_dir" EXIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
realpath() { | |
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}" | |
} | |
DETECT=${DETECT:-notify} | |
LABEL=eu.ayufan.gpg-agent-watcher | |
TARGET=~/Library/LaunchAgents/$LABEL.plist | |
GPG_AGENT_CONF=~/.gnupg/gpg-agent.conf |
root@rock64:~# uname -a
Linux rock64 4.4.189-1230-rockchip-ayufan-gafadea9477b7 #1 SMP Thu Aug 22 16:18:51 UTC 2019 aarch64 GNU/Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100% brightness - 7W | |
40% brightness - 4.8W | |
0% brightness - 3.5W | |
0% brightness, all cores - 8.5W | |
100% brightness, all cores - 12.2W | |
40% brightness, youtube 480p, vp9 - 7.3W | |
40% brightness, youtube 720p, drop frames, vp9 - 10W | |
40% brightness, youtube 1080p, choppy, vp9 - 10W | |
40% brightness, youtube 480p, avc1 - 6.7W | |
40% brightness, youtube 720p, avc1 - 7W |
NewerOlder