Skip to content

Instantly share code, notes, and snippets.

@ml-
ml- / rename-somethingelse.sh
Last active Aug 24, 2020
rename-somethingelse.sh
View rename-somethingelse.sh
#!/usr/bin/env bash
for i in *.ogg; do
name=${i%%-*}
name="10#${name%%.*}"
ext=${i##*.}
printf -v new '%0.3u.%s' "$((name-1))" "$ext"
mv -v "$i" "$new"
done
View rename.sh
#!/usr/bin/env bash
for i in *.ogg; do
name="10#${i%.*}"
ext=${i##*.}
printf -v new '%0.3u.%s' "$((name-1))" "$ext"
mv -v "$i" "$new"
done
@ml-
ml- / qutebrowser.log
Last active Feb 29, 2020
statusbar.hide
View qutebrowser.log
statusbar.hide false
modes modeman:_handle_keypress:245 got keypress in mode KeyMode.normal - delegating to <qutebrowser.keyinput.modeparsers.NormalKeyParser>
keyboard basekeyparser:_debug_log:196 Got key: 0x53 / modifiers: 0x0 / text: 's' / dry_run True
modes modeman:_handle_keypress:268 match: 1, forward_unbound_keys: auto, passthrough: False, is_non_alnum: False,dry_run: True --> filter: True (focused: <PyQt5.QtWidgets.QWidget object at 0x0>)
modes modeman:_handle_keypress:245 got keypress in mode KeyMode.normal - delegating to <qutebrowser.keyinput.modeparsers.NormalKeyParser>
keyboard basekeyparser:_debug_log:196 Got key: 0x53 / modifiers: 0x0 / text: 's' / dry_run False
keyboard basekeyparser:_debug_log:196 No match for 's' (added s)
modes modeman:_handle_keypress:268 match: 1, forward_unbound_keys: auto, passthrough: False, is_non_alnum: False,dry_run: False --> filter: True (focused: <PyQt5.QtWidgets.QWidget object at 0x0>)
modes modeman:_handle_keyrelease:293 filter: T
@ml-
ml- / strace.txt
Created Jan 1, 2019
rocketchat-desktop strace
View strace.txt
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
37.55 0.226817 26 8513 poll
27.27 0.164705 7 22926 21388 recvmsg
9.26 0.055906 16 3301 read
5.23 0.031594 11 2709 writev
3.32 0.020044 10 1963 write
2.76 0.016659 11 1455 182 openat
2.36 0.014258 7129 2 wait4
2.31 0.013938 13 1019 1 sendto
@ml-
ml- / gist:5cfc0530b114a0a835a53aae03c2b0a6
Created Oct 8, 2018
Steam Information (2018-10-08)
View gist:5cfc0530b114a0a835a53aae03c2b0a6
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz
CPU Family: 0x6
View gist:5927742b82e2371048e31b463550818f
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz
CPU Family: 0x6
View gist:cc02b4ddd6e218d4e0524d569c182fe0
### Keybase proof
I hereby claim:
* I am ml- on github.
* I am lisin (https://keybase.io/lisin) on keybase.
* I have a public key ASAGLMGma21OIwXc5ikDCtE-haNoW6AdsnV8567edYMLTwo
To claim this, I am signing this object:
@ml-
ml- / gist:c4472c1ddba738ba2392d9ec6ecb537f
Created Dec 2, 2017
Steam System Information 2017-12-02
View gist:c4472c1ddba738ba2392d9ec6ecb537f
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz
CPU Family: 0x6
View gist:6f6c115bf2c965448336dd26009cf6e9
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-6560U CPU @ 2.20GHz
CPU Family: 0x6
You can’t perform that action at this time.