brew install colima
Add insecure registry
package com.example.cipher; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.security.InvalidAlgorithmParameterException; | |
import java.security.InvalidKeyException; | |
import java.security.Key; | |
import java.security.KeyStore; |
brew install --cask utm
brew install cabextract wimlib cdrtools aria2
brew tap minacle/chntpw
brew install minacle/chntpw/chntpw
# download windows 11 arm under https://docs.getutm.app/guides/windows/
cd <unziped_folder>
./uup_download_macos.sh
classDiagram
class Order {
+ id: Long
+ status: RecordStatus
+ createDate: Date
+ updateDate: Date
+ version: Long
}
class Customer {
set nocompatible " be iMproved, required | |
filetype off " required | |
" Auto install VimPlug | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
endif |
{ | |
"vim.insertModeKeyBindings": [ | |
{ | |
"before": ["j", "k"], | |
"after": ["<esc>"] | |
} | |
], | |
"vim.startInInsertMode": false, | |
"files.exclude": { | |
"**/node_modules": true, |
# enable mouse support | |
set -g mouse on | |
# set default shell | |
set -g default-shell $SHELL | |
set -g default-command "reattach-to-user-namespace -l ${SHELL}" | |
# copy and paste | |
setw -g mode-keys vi | |
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" |
#!/bin/sh | |
local_http_proxy=${HTTP_PROXY:-$http_proxy} | |
if [ -n "$local_http_proxy" ] ; then | |
if [ $? -eq 0 ]; then # If variable has username and password, its parse method different | |
http_proxy_host=$(echo $local_http_proxy | sed 's/http:\/\/.*@\(.*\):.*/\1/') | |
http_proxy_port=$(echo $local_http_proxy | sed 's/http:\/\/.*@.*:\(.*\)/\1/' | tr -d "/") | |
http_proxy_user=$(echo $local_http_proxy | sed 's/http:\/\/\(.*\)@.*/\1/' | awk -F: '{print $1}') | |
http_proxy_password=$(echo $local_http_proxy | sed 's/http:\/\/\(.*\)@.*/\1/' | awk -F: '{print $2}') |