Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex
Rewrite "import then re-export" to a direct "re-export" approach via ast-grep
.
Rule file see in file-import-to-export.yml
- import Form, {
+ export {
# ~/.config/tmux/tmux.conf | |
# https://quickref.me/tmux | |
# https://man7.org/linux/man-pages/man1/tmux.1.html | |
# Install | |
# | |
# ```bash | |
# mkdir -p ~/.config/tmux | |
# curl -sL https://gist.github.com/zthxxx/bbbb37c100254d688236c21e8b977b85/raw/tmux.conf -o ~/.config/tmux/tmux.conf | |
# ``` |
# https://code.visualstudio.com/docs/editor/command-line#_working-with-extensions | |
# code --list-extensions | |
code --uninstall-extension cduruk.thrift | |
code --uninstall-extension byted-sec.bytesec-vscode | |
code --uninstall-extension byted-ide.ppe-debug | |
code --uninstall-extension byted-ide.ftt | |
code --uninstall-extension byted-ide.cloud-dev-task | |
code --uninstall-extension byted-ide.cloud-dev-debug | |
code --install-extension shalldie.background |
:: active win10 VL | |
:: ensure you are run as Administrator | |
cmd /c "slmgr /skms kms.03k.org && slmgr /ato" | |
:: active office VL | |
:: in Microsoft Office installed folder | |
:: office2016 64bit default in C:\Program Files\Microsoft Office\Office16 | |
cd "C:\Program Files\Microsoft Office\Office16" | |
cscript ospp.vbs /sethst:kms.03k.org && cscript ospp.vbs /act |
/** | |
* Allows arbitrary level property access and callable, | |
* support mock with usage likes: | |
* ``` | |
* faker = new FakeClass() | |
* faker.xxxx() | |
* | |
* faker() | |
* |
import { | |
namedTypes as types, | |
} from 'ast-types' | |
import type { | |
Options as RecastOptions, | |
} from 'recast' | |
import type { | |
Transform, | |
FileInfo, | |
API, |
# https://www.lunarvim.org/ | |
# https://www.lunarvim.org/docs/installation | |
brew install neovim rust | |
brew install --cask homebrew/cask-fonts/font-hack-nerd-font | |
# on linux without homebrew, install with AppImage | |
# apt install -y libfuse2 | |
curl -fsSL https://github.com/neovim/neovim/releases/download/stable/nvim.appimage -o /usr/local/bin/nvim | |
chmod +x /usr/local/bin/nvim |
# Install | |
# curl -sL https://gist.github.com/zthxxx/df7e121048b12c80f260285d88e1091f/raw/.screenrc -o ~/.screenrc | |
# curl -s https://gist.githubusercontent.com/zthxxx/df7e121048b12c80f260285d88e1091f/raw/.screenrc -o ~/.screenrc | |
# Shortcut Key binding | |
# https://www.gnu.org/software/screen/manual/screen.html#Bindkey | |
# remap prefix key `Ctrl-A` to `Ctrl-S` |
function gen_ssl_cert { | |
local prefix="${1}" | |
openssl genrsa -des3 -out "${prefix}.lock.key" 1024 | |
openssl rsa -in "${prefix}.lock.key" -out "${prefix}.key" | |
rm "${prefix}.lock.key" | |
openssl req -new -key "${prefix}.key" -out "${prefix}.csr" | |
openssl x509 -req -days 3650 -in "${prefix}.csr" -signkey "${prefix}.key" -out "${prefix}.crt" | |
openssl pkcs12 -export -inkey "${prefix}.key" -in "${prefix}.crt" -out "${prefix}.pfx" |