Mount efivarfs -
mount -t efivarfs efivarfs /sys/firmware/efi/efivarsUse nvme command to switch to 4K blocksize mode. Be careful.
| #!/bin/sh | |
| # Copyright 2022 Subhaditya Nath | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| # this software and associated documentation files (the "Software"), to deal in | |
| # the Software without restriction, including without limitation the rights to | |
| # use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
| # of the Software, and to permit persons to whom the Software is furnished to do | |
| # so, subject to the following conditions: |
git remote add codeberg "[email protected]:subnut/$(basename $(git rev-parse --show-toplevel)).git"
git remote add github "[email protected]:subnut/$(basename $(git rev-parse --show-toplevel)).git"git diff HEAD^ | grep ^rename | cut -d ' ' -f 3- | sed 'N;s_\(.*\)\n\(.*\)_s|\1|\2|g_;s_\._\\._g' > sedscript
sed -i -f sedscript **/*(.) # needs zsh and GNU sed| (common) { | |
| tls internal | |
| encode gzip zstd | |
| handle_errors { | |
| rewrite * /error.html | |
| templates | |
| file_server | |
| } | |
| } |
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| ; CapsLock is Left control | |
| CapsLock::LCtrl | |
| CapsLock up:: | |
| Send, {LCtrl up} | |
| if (A_TimeSincePriorHotkey < 150) | |
| Send, {Blind}{CapsLock} |
| ! 2022-05-25 https://stackoverflow.com | |
| ##.js-consent-banner | |
| ! 2022-06-03 https://www.youtube.com | |
| ##.ytp-endscreen-content |
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "log" | |
| "net/http" | |
| router "github.com/julienschmidt/httprouter" | |
| ) |
| { | |
| "editor.fontSize": 16, | |
| "files.insertFinalNewline": true, | |
| "files.trimFinalNewlines": true, | |
| "editor.renderFinalNewline": "dimmed", | |
| "editor.cursorBlinking": "smooth", | |
| "editor.cursorSmoothCaretAnimation": "explicit", | |
| "zenMode.centerLayout": false, | |
| "workbench.preferredLightColorTheme": "VLight", // Vladeeg.vscode-theme-vlight |