Compare commits
12 Commits
b49e7ad83d
...
master
Author | SHA1 | Date | |
---|---|---|---|
d14ab2d7ff
|
|||
5df3b86fc9
|
|||
b470f1cf43
|
|||
155696c12f
|
|||
4dddd17132
|
|||
057b0bf93a
|
|||
954138b1ef
|
|||
75f1174ace
|
|||
c49c8b2a09
|
|||
d6eadbd7b6
|
|||
6cb491d338
|
|||
2079564fe5
|
@@ -3,6 +3,7 @@ coreutils
|
||||
dockutil
|
||||
duti
|
||||
fastfetch
|
||||
ffmpeg
|
||||
git
|
||||
gnu-sed
|
||||
htop
|
||||
@@ -13,9 +14,11 @@ mtr
|
||||
neovim
|
||||
newsboat
|
||||
parallel
|
||||
pinentry-mac
|
||||
ranger
|
||||
ripgrep
|
||||
rsync
|
||||
texinfo
|
||||
tmux
|
||||
tree
|
||||
wget
|
||||
|
@@ -1,7 +1,9 @@
|
||||
alacritty
|
||||
akiflow
|
||||
alfred
|
||||
chatterino
|
||||
dbeaver-community
|
||||
discord
|
||||
displaylink
|
||||
docker
|
||||
firefox@nightly
|
||||
@@ -9,33 +11,28 @@ font-hack-nerd-font
|
||||
gimp
|
||||
google-chrome
|
||||
hiddenbar
|
||||
jordanbaird-ice
|
||||
karabiner-elements
|
||||
keepassxc
|
||||
macfuse
|
||||
megasync
|
||||
microsoft-auto-update
|
||||
microsoft-teams
|
||||
mongodb-compass
|
||||
mpv
|
||||
mysides
|
||||
obsidian
|
||||
platypus
|
||||
postman
|
||||
qbittorrent
|
||||
qview
|
||||
rustdesk
|
||||
scroll-reverser
|
||||
signal
|
||||
skype
|
||||
spotify
|
||||
stats
|
||||
telegram
|
||||
the-unarchiver
|
||||
todoist
|
||||
transfer
|
||||
twingate
|
||||
visual-studio-code
|
||||
vlc
|
||||
winbox
|
||||
wine-crossover
|
||||
wireshark
|
||||
zed@preview
|
||||
|
1
.brew_programs_disable
Normal file
1
.brew_programs_disable
Normal file
@@ -0,0 +1 @@
|
||||
example
|
@@ -1 +0,0 @@
|
||||
/Users/yorune/Library/Application Support/iTerm2
|
@@ -371,7 +371,17 @@
|
||||
"is_keyboard": true,
|
||||
"product_id": 785,
|
||||
"vendor_id": 13364
|
||||
}
|
||||
},
|
||||
"simple_modifications": [
|
||||
{
|
||||
"from": { "key_code": "grave_accent_and_tilde" },
|
||||
"to": [{ "key_code": "non_us_backslash" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "right_control" },
|
||||
"to": [{ "key_code": "grave_accent_and_tilde" }]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"identifiers": {
|
||||
|
@@ -357,8 +357,8 @@ set updatetime=250
|
||||
autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false, scope="cursor"})
|
||||
|
||||
" CoPilot
|
||||
imap <silent><script><expr> <F1> copilot#Accept("\<CR>")
|
||||
let g:copilot_no_tab_map = v:true
|
||||
" imap <silent><script><expr> <F1> copilot#Accept("\<CR>")
|
||||
" let g:copilot_no_tab_map = v:true
|
||||
|
||||
" Neoformat
|
||||
let g:neoformat_try_formatprg = 1
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -279,3 +279,4 @@ Cisco Packet Tracer 8.0.0
|
||||
.local/bin/kubectl
|
||||
.rustup
|
||||
.local/tss-sdk
|
||||
.local/bin/tss
|
||||
|
@@ -199,6 +199,7 @@ function install_terragrunt() {
|
||||
timestamp "The current version of the TSS-SDK is the same as the newest version"
|
||||
return 0
|
||||
else
|
||||
brew install wget
|
||||
wget https://github.com/gruntwork-io/terragrunt/releases/latest/download/terragrunt_linux_amd64 -O $TERRAGRUNT
|
||||
chmod +x "$TERRAGRUNT"
|
||||
fi
|
||||
@@ -299,6 +300,8 @@ function install_fzf() {
|
||||
function install_zsh_addons() {
|
||||
|
||||
if [ ! -d $ZSHFOLDER/aws ]; then
|
||||
mkdir -p "$ZSHFOLDER/azure-cli" "$ZSHFOLDER/aws"
|
||||
|
||||
curl -s https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/aws/aws.plugin.zsh \
|
||||
-o "$ZSHFOLDER"/aws/aws.plugin.zsh &&
|
||||
timestamp "Downloaded the newest version of aws plugin for zsh"
|
||||
@@ -307,7 +310,6 @@ function install_zsh_addons() {
|
||||
-o "$ZSHFOLDER"/azure-cli/az.completion &&
|
||||
timestamp "Downloaded the newest version of az plugin for zsh"
|
||||
|
||||
mkdir -p "$ZSHFOLDER/azure-cli" "$ZSHFOLDER/aws"
|
||||
cd $ZSHFOLDER || err "Folder $ZSHFOLDER has been NOT found"
|
||||
git clone https://github.com/popstas/zsh-command-time.git &&
|
||||
timestamp "Cloning the zsh-command-time"
|
||||
@@ -444,15 +446,20 @@ function install_brew_programs() {
|
||||
INSTALLED_PROGRAMS=$(brew list)
|
||||
while IFS='' read -r line; do LIST_OF_PROGRAMS+=("$line"); done < <(cat "$HOME"/.brew_programs)
|
||||
while IFS='' read -r line; do LIST_OF_PROGRAMS_CASK+=("$line"); done < <(cat "$HOME"/.brew_programs_cask)
|
||||
while IFS='' read -r line; do LIST_OF_PROGRAMS_DISABLE+=("$line"); done < <(cat "$HOME"/.brew_programs_disable)
|
||||
|
||||
for i in "${LIST_OF_PROGRAMS[@]}"; do
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]]; then
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]] \
|
||||
&& \
|
||||
[[ ! " ${LIST_OF_PROGRAMS_DISABLE[*]} " =~ ${i} ]]; then
|
||||
brew install $i --force
|
||||
fi
|
||||
done
|
||||
|
||||
for i in "${LIST_OF_PROGRAMS_CASK[@]}"; do
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]]; then
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]] \
|
||||
&& \
|
||||
[[ ! " ${LIST_OF_PROGRAMS_DISABLE[*]} " =~ ${i} ]]; then
|
||||
brew install $i --cask --force
|
||||
fi
|
||||
done
|
||||
|
22
.local/bin/custom-iperf
Executable file
22
.local/bin/custom-iperf
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
SERVER="$1"
|
||||
|
||||
if [ -z "$SERVER" ]; then
|
||||
echo "Usage: $0 <server_ip>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Starting..."
|
||||
echo
|
||||
|
||||
# Upload test (client sends data to server)
|
||||
UPLOAD=$(iperf3 -c "$SERVER" -P5 -t 30 --json | jq '.end.sum_sent.bits_per_second / 1000000')
|
||||
|
||||
# Download test (client receives data from server)
|
||||
DOWNLOAD=$(iperf3 -c "$SERVER" -P5 -t 30 -R --json | jq '.end.sum_received.bits_per_second / 1000000')
|
||||
|
||||
# Print summary
|
||||
echo "SERVER: $SERVER"
|
||||
echo "UPLOAD: $(printf "%.2f" "$UPLOAD") Mbps"
|
||||
echo "DOWNLOAD: $(printf "%.2f" "$DOWNLOAD") Mbps"
|
@@ -1 +0,0 @@
|
||||
/usr/local/bin/yt-dlp
|
Reference in New Issue
Block a user