| Key | Result |
|---|---|
v |
select |
y |
copy (yank) |
c |
change |
d |
delete |
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
| /** | |
| * vertex.js — single-file library combining: | |
| * | |
| * 1. VQuery — DOM layer (hn.js-inspired, jQuery surface-compatible) | |
| * 2. Reconciler — Fiber-based React clone (pomb.us architecture + hooks) | |
| * 3. template — Mustache template engine + component loader (Vertex.template) | |
| * 4. Router — Backbone-style hash router (class-based + singleton) | |
| * 5. Glue — useHash hook, unified Vertex namespace | |
| * | |
| * jQuery compatibility: if jQuery / $ already exist on the page they are |
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
| vqd="" | |
| current_payload="" | |
| send_chat_message() { | |
| out=$(curl -s -v -X POST 'https://duckduckgo.com/duckchat/v1/chat' -H "Cookie: dcm=3; dcs=1" -H "Referer: https://duckduckgo.com/" -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" -H "x-vqd-4: $vqd" -H 'Content-Type: application/json' -d "$current_payload" 2>&1) | |
| req_body=$(echo "$out" | awk 'BEGIN{a=0;b=0;}{if($1=="<"){a=1;} if(a==1&&$1=="{"){b=1;} if(b>0){b+=1;} if(b>3){print $0}}') | |
| if [[ ! "$req_body" =~ \{\"action\":\"error\" ]]; then | |
| msg="" | |
| append="" |
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
| # sudo systemctl enable slock@balazs4.service | |
| [Unit] | |
| Description=Lock X session using slock for user %i | |
| Before=sleep.target | |
| [Service] | |
| User=%i | |
| Type=simple | |
| Environment=DISPLAY=:0 | |
| ExecStart=/usr/bin/slock |
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
| defaults write -g NSScrollViewRubberbanding -int 0 | |
| defaults write -g NSAutomaticWindowAnimationsEnabled -bool false | |
| defaults write -g NSScrollAnimationEnabled -bool false | |
| defaults write -g NSWindowResizeTime -float 0.001 | |
| defaults write -g QLPanelAnimationDuration -float 0 | |
| defaults write -g NSScrollViewRubberbanding -bool false | |
| defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false | |
| defaults write -g NSToolbarFullScreenAnimationDuration -float 0 | |
| defaults write -g NSBrowserColumnAnimationSpeedMultiplier -float 0 | |
| defaults write com.apple.dock autohide-time-modifier -float 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
| # aarch64 | |
| # arch config | |
| ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime | |
| echo piserver > /etc/hostname | |
| sed -i 's/#en_US.UTF-8/en_US.UTF-8/' /etc/locale.gen | |
| sed -i 's/#C.UTF-8/C.UTF-8/' /etc/locale.gen | |
| locale-gen | |
| echo 'LANG=en_US.UTF-8' > /etc/locale.conf | |
| pacman-key --init | |
| pacman-key --populate archlinuxarm |
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
| services: | |
| pihole: | |
| image: pihole/pihole:latest | |
| network_mode: host | |
| environment: | |
| TZ: 'Europe/Berlin' | |
| WEBPASSWORD: '********' | |
| PIHOLE_DNS_: 8.8.4.4;1.0.0.1;8.8.8.8;1.1.1.1 | |
| cap_add: | |
| - NET_ADMIN |
NewerOlder