This file contains hidden or 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
#!/usr/bin/env bash | |
LED="/sys/class/leds/platform::micmute/brightness" | |
wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle | |
MIC_STAT=$(wpctl get-volume @DEFAULT_SOURCE@ | grep -c MUTED ) | |
case "$MIC_STAT" in | |
0) |
This file contains hidden or 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
CPU MAXMHZ MINMHZ | |
0 557.8950 605.2640 * | |
1 557.8950 605.2640 * | |
2 557.8950 605.2640 * | |
3 557.8950 605.2640 * | |
4 389.4741 605.2640 | |
5 389.4741 605.2640 | |
6 389.4741 605.2640 | |
7 389.4741 605.2640 | |
8 389.4741 605.2640 |
This file contains hidden or 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
[keys.normal] | |
# Emacs flavor: | |
# Base: https://www.cs.colostate.edu/helpdocs/emacs.html | |
# Cursor/Screen Movement Commands | |
C-a = "goto_line_start" | |
C-e = "goto_line_end" | |
C-f = "move_char_right" # forward-char | |
C-b = "move_char_left" # backward-char | |
C-n = "move_line_down"# next-line | |
C-p = "move_line_up" # previous-line |
This file contains hidden or 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
[Unit] | |
Description=Ferron web server | |
After=network.target | |
[Service] | |
Type=simple | |
User=ferron | |
ExecStart=/usr/local/bin/ferron -c /etc/ferron.yaml | |
ExecReload=kill -HUP $MAINPID | |
Restart=on-failure |
This file contains hidden or 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
https://thanosapollo.org/posts/firefox-with-emacs-keybindings/#step-i-aboutconfig | |
``` | |
Step I: about:config | |
First visit about:config. | |
To enable Emacs keybindings while editing text in Firefox, make the following changes: | |
Set ui.key.accelKey to 18 |
This file contains hidden or 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
function tog-arr -d "toggle arrow keys" | |
# Check if keycode 111 is currently mapped to 0xff52 | |
xmodmap -pk | grep '^[[:space:]]*111' | grep 0xff52 >/dev/null 2>&1 | |
if test $status -eq 0 | |
# Unmap arrow keys | |
xmodmap -e "keycode 111 = " # UP | |
xmodmap -e "keycode 113 = " # LEFT | |
xmodmap -e "keycode 114 = " # RIGHT | |
xmodmap -e "keycode 116 = " # DOWN | |
else |
This file contains hidden or 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
$ curl -sL https://yabs.sh | bash | |
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # | |
# Yet-Another-Bench-Script # | |
# v2024-06-09 # | |
# https://github.com/masonr/yet-another-bench-script # | |
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # | |
Sun Dec 1 09:18:26 PM EST 2024 | |
Basic System Information: |
This file contains hidden or 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
$ curl -sL https://yabs.sh | bash | |
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # | |
# Yet-Another-Bench-Script # | |
# v2024-06-09 # | |
# https://github.com/masonr/yet-another-bench-script # | |
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # | |
Sun 1 Dec 21:16:51 EST 2024 | |
Basic System Information: |
This file contains hidden or 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
nnoremap h j | |
nnoremap l k | |
nnoremap <M-h> h | |
nnoremap <M-l> l | |
This file contains hidden or 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
# Ignore everything | |
* | |
# But not these files... | |
!.gitignore | |
!init.el | |
!LICENSE | |
NewerOlder