Compare commits
1 Commits
master
...
c697587d9a
Author | SHA1 | Date | |
---|---|---|---|
c697587d9a
|
@@ -1,78 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleAllowMixedLocalizations</key>
|
|
||||||
<true/>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>en</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>applet</string>
|
|
||||||
<key>CFBundleIconFile</key>
|
|
||||||
<string>applet</string>
|
|
||||||
<key>CFBundleIconName</key>
|
|
||||||
<string>applet</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>com.apple.ScriptEditor.id.Copy-Firefox-Link--Jira</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>Copy Firefox Link (Jira)</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>APPL</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>aplt</string>
|
|
||||||
<key>LSMinimumSystemVersionByArchitecture</key>
|
|
||||||
<dict>
|
|
||||||
<key>x86_64</key>
|
|
||||||
<string>10.6</string>
|
|
||||||
</dict>
|
|
||||||
<key>LSRequiresCarbon</key>
|
|
||||||
<true/>
|
|
||||||
<key>NSAppleEventsUsageDescription</key>
|
|
||||||
<string>This script needs to control other applications to run.</string>
|
|
||||||
<key>NSAppleMusicUsageDescription</key>
|
|
||||||
<string>This script needs access to your music to run.</string>
|
|
||||||
<key>NSCalendarsUsageDescription</key>
|
|
||||||
<string>This script needs access to your calendars to run.</string>
|
|
||||||
<key>NSCameraUsageDescription</key>
|
|
||||||
<string>This script needs access to your camera to run.</string>
|
|
||||||
<key>NSContactsUsageDescription</key>
|
|
||||||
<string>This script needs access to your contacts to run.</string>
|
|
||||||
<key>NSHomeKitUsageDescription</key>
|
|
||||||
<string>This script needs access to your HomeKit Home to run.</string>
|
|
||||||
<key>NSMicrophoneUsageDescription</key>
|
|
||||||
<string>This script needs access to your microphone to run.</string>
|
|
||||||
<key>NSPhotoLibraryUsageDescription</key>
|
|
||||||
<string>This script needs access to your photos to run.</string>
|
|
||||||
<key>NSRemindersUsageDescription</key>
|
|
||||||
<string>This script needs access to your reminders to run.</string>
|
|
||||||
<key>NSSiriUsageDescription</key>
|
|
||||||
<string>This script needs access to Siri to run.</string>
|
|
||||||
<key>NSSystemAdministrationUsageDescription</key>
|
|
||||||
<string>This script needs access to administer this system to run.</string>
|
|
||||||
<key>OSAAppletShowStartupScreen</key>
|
|
||||||
<false/>
|
|
||||||
<key>WindowState</key>
|
|
||||||
<dict>
|
|
||||||
<key>bundleDividerCollapsed</key>
|
|
||||||
<true/>
|
|
||||||
<key>bundlePositionOfDivider</key>
|
|
||||||
<real>0.0</real>
|
|
||||||
<key>dividerCollapsed</key>
|
|
||||||
<false/>
|
|
||||||
<key>eventLogLevel</key>
|
|
||||||
<integer>2</integer>
|
|
||||||
<key>name</key>
|
|
||||||
<string>ScriptWindowState</string>
|
|
||||||
<key>positionOfDivider</key>
|
|
||||||
<real>394</real>
|
|
||||||
<key>savedFrame</key>
|
|
||||||
<string>952 453 700 682 0 0 2560 1409 </string>
|
|
||||||
<key>selectedTab</key>
|
|
||||||
<string>result</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
APPLaplt
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 362 B |
@@ -1,5 +0,0 @@
|
|||||||
{\rtf1\ansi\ansicpg1252\cocoartf2865
|
|
||||||
\cocoatextscaling0\cocoaplatform0{\fonttbl}
|
|
||||||
{\colortbl;\red255\green255\blue255;}
|
|
||||||
{\*\expandedcolortbl;;}
|
|
||||||
}
|
|
@@ -1,192 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>files</key>
|
|
||||||
<dict>
|
|
||||||
<key>Resources/Assets.car</key>
|
|
||||||
<data>
|
|
||||||
OdbufcoyP2ZXC+wmwYcwMi/2x24=
|
|
||||||
</data>
|
|
||||||
<key>Resources/Scripts/main.scpt</key>
|
|
||||||
<data>
|
|
||||||
c++jyUmQRxdpGX36L8PJaNpf6uM=
|
|
||||||
</data>
|
|
||||||
<key>Resources/applet.icns</key>
|
|
||||||
<data>
|
|
||||||
sINd6lbiqHD5dL8c6u79cFvVXhw=
|
|
||||||
</data>
|
|
||||||
<key>Resources/applet.rsrc</key>
|
|
||||||
<data>
|
|
||||||
DlWDU4NYiJFhmwpseexPiRYHzFI=
|
|
||||||
</data>
|
|
||||||
<key>Resources/description.rtfd/TXT.rtf</key>
|
|
||||||
<data>
|
|
||||||
C1nXIy6FYUr4wNNlSEP/8NzzT/E=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
<key>files2</key>
|
|
||||||
<dict>
|
|
||||||
<key>Resources/Assets.car</key>
|
|
||||||
<dict>
|
|
||||||
<key>hash</key>
|
|
||||||
<data>
|
|
||||||
OdbufcoyP2ZXC+wmwYcwMi/2x24=
|
|
||||||
</data>
|
|
||||||
<key>hash2</key>
|
|
||||||
<data>
|
|
||||||
cVUhSsEaVhMGFs9io544X4XEevDHVtRiVGUTdZ4ZHX4=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
<key>Resources/Scripts/main.scpt</key>
|
|
||||||
<dict>
|
|
||||||
<key>hash</key>
|
|
||||||
<data>
|
|
||||||
c++jyUmQRxdpGX36L8PJaNpf6uM=
|
|
||||||
</data>
|
|
||||||
<key>hash2</key>
|
|
||||||
<data>
|
|
||||||
o+Lp+bYlQlPNZa8JmZ6wdvY55TCtjUxce100Dttj5vY=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
<key>Resources/applet.icns</key>
|
|
||||||
<dict>
|
|
||||||
<key>hash</key>
|
|
||||||
<data>
|
|
||||||
sINd6lbiqHD5dL8c6u79cFvVXhw=
|
|
||||||
</data>
|
|
||||||
<key>hash2</key>
|
|
||||||
<data>
|
|
||||||
J7weZ6vlnv9r32tS5HFcyuPXl2StdDnfepLxAixlryk=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
<key>Resources/applet.rsrc</key>
|
|
||||||
<dict>
|
|
||||||
<key>hash</key>
|
|
||||||
<data>
|
|
||||||
DlWDU4NYiJFhmwpseexPiRYHzFI=
|
|
||||||
</data>
|
|
||||||
<key>hash2</key>
|
|
||||||
<data>
|
|
||||||
/UdIZRcpe3tND6vnHQP/IG8Vvt3+ZFQS5SQ+h1kescY=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
<key>Resources/description.rtfd/TXT.rtf</key>
|
|
||||||
<dict>
|
|
||||||
<key>hash</key>
|
|
||||||
<data>
|
|
||||||
C1nXIy6FYUr4wNNlSEP/8NzzT/E=
|
|
||||||
</data>
|
|
||||||
<key>hash2</key>
|
|
||||||
<data>
|
|
||||||
Y3Q9y0mIEZh55w+oHoEyN1W1UzIxrILMub7rktKsd1I=
|
|
||||||
</data>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<key>rules</key>
|
|
||||||
<dict>
|
|
||||||
<key>^Resources/</key>
|
|
||||||
<true/>
|
|
||||||
<key>^Resources/.*\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>optional</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1000</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1100</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/Base\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1010</real>
|
|
||||||
</dict>
|
|
||||||
<key>^version.plist$</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<key>rules2</key>
|
|
||||||
<dict>
|
|
||||||
<key>.*\.dSYM($|/)</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>11</real>
|
|
||||||
</dict>
|
|
||||||
<key>^(.*/)?\.DS_Store$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>2000</real>
|
|
||||||
</dict>
|
|
||||||
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
|
|
||||||
<dict>
|
|
||||||
<key>nested</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>10</real>
|
|
||||||
</dict>
|
|
||||||
<key>^.*</key>
|
|
||||||
<true/>
|
|
||||||
<key>^Info\.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^PkgInfo$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/.*\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>optional</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1000</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/.*\.lproj/locversion.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>omit</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1100</real>
|
|
||||||
</dict>
|
|
||||||
<key>^Resources/Base\.lproj/</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>1010</real>
|
|
||||||
</dict>
|
|
||||||
<key>^[^/]+$</key>
|
|
||||||
<dict>
|
|
||||||
<key>nested</key>
|
|
||||||
<true/>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>10</real>
|
|
||||||
</dict>
|
|
||||||
<key>^embedded\.provisionprofile$</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
<key>^version\.plist$</key>
|
|
||||||
<dict>
|
|
||||||
<key>weight</key>
|
|
||||||
<real>20</real>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
@@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
DIR=$(dirname "$0")
|
|
||||||
|
|
||||||
for app in "$DIR"/*.app; do
|
|
||||||
echo "Installing $(basename "$app")..."
|
|
||||||
cp -rv "$app" "$HOME"/Applications/
|
|
||||||
xattr -dr com.apple.quarantine "/Applications/$(basename "$app")"
|
|
||||||
done
|
|
||||||
|
|
||||||
open "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility"
|
|
@@ -3,7 +3,6 @@ coreutils
|
|||||||
dockutil
|
dockutil
|
||||||
duti
|
duti
|
||||||
fastfetch
|
fastfetch
|
||||||
ffmpeg
|
|
||||||
git
|
git
|
||||||
gnu-sed
|
gnu-sed
|
||||||
htop
|
htop
|
||||||
@@ -14,12 +13,9 @@ mtr
|
|||||||
neovim
|
neovim
|
||||||
newsboat
|
newsboat
|
||||||
parallel
|
parallel
|
||||||
pinentry-mac
|
|
||||||
ranger
|
ranger
|
||||||
ripgrep
|
ripgrep
|
||||||
rsync
|
rsync
|
||||||
telnet
|
|
||||||
texinfo
|
|
||||||
tmux
|
tmux
|
||||||
tree
|
tree
|
||||||
wget
|
wget
|
||||||
|
@@ -1,9 +1,7 @@
|
|||||||
akiflow
|
|
||||||
alacritty
|
|
||||||
alfred
|
alfred
|
||||||
|
alacritty
|
||||||
chatterino
|
chatterino
|
||||||
dbeaver-community
|
dbeaver-community
|
||||||
discord
|
|
||||||
displaylink
|
displaylink
|
||||||
docker
|
docker
|
||||||
firefox@nightly
|
firefox@nightly
|
||||||
@@ -11,28 +9,32 @@ font-hack-nerd-font
|
|||||||
gimp
|
gimp
|
||||||
google-chrome
|
google-chrome
|
||||||
hiddenbar
|
hiddenbar
|
||||||
|
jordanbaird-ice
|
||||||
karabiner-elements
|
karabiner-elements
|
||||||
keepassxc
|
keepassxc
|
||||||
|
macfuse
|
||||||
megasync
|
megasync
|
||||||
|
microsoft-auto-update
|
||||||
microsoft-teams
|
microsoft-teams
|
||||||
mongodb-compass
|
mongodb-compass
|
||||||
mpv
|
mpv
|
||||||
|
mysides
|
||||||
obsidian
|
obsidian
|
||||||
platypus
|
|
||||||
postman
|
postman
|
||||||
|
platypus
|
||||||
qbittorrent
|
qbittorrent
|
||||||
qview
|
qview
|
||||||
rustdesk
|
|
||||||
scroll-reverser
|
scroll-reverser
|
||||||
signal
|
signal
|
||||||
|
skype
|
||||||
spotify
|
spotify
|
||||||
stats
|
stats
|
||||||
telegram
|
telegram
|
||||||
the-unarchiver
|
the-unarchiver
|
||||||
transfer
|
transfer
|
||||||
twingate
|
twingate
|
||||||
visual-studio-code
|
|
||||||
vlc
|
vlc
|
||||||
winbox
|
winbox
|
||||||
wine-crossover
|
wine-crossover
|
||||||
wireshark
|
wireshark
|
||||||
|
zed@preview
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
example
|
|
File diff suppressed because one or more lines are too long
@@ -16,28 +16,10 @@ bindings = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 20
|
size = 22
|
||||||
|
|
||||||
# [font.normal]
|
|
||||||
# family = "Terminess Nerd Font"
|
|
||||||
# style = "Regular"
|
|
||||||
|
|
||||||
# # [font.bold]
|
|
||||||
# # family = "Teminess Nerd Font"
|
|
||||||
# # style = "Bold"
|
|
||||||
|
|
||||||
# [font.bold_italic]
|
|
||||||
# family = "Terminess Nerd Font"
|
|
||||||
# style = "Bold Italic"
|
|
||||||
|
|
||||||
# [font.italic]
|
|
||||||
# family = "Terminess Nerd Font"
|
|
||||||
# style = "Italic"
|
|
||||||
|
|
||||||
|
|
||||||
# Comic code
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "Comic Code Ligatures"
|
family = "Terminess Nerd Font"
|
||||||
style = "Regular"
|
style = "Regular"
|
||||||
|
|
||||||
# [font.bold]
|
# [font.bold]
|
||||||
@@ -45,20 +27,16 @@ style = "Regular"
|
|||||||
# style = "Bold"
|
# style = "Bold"
|
||||||
|
|
||||||
[font.bold_italic]
|
[font.bold_italic]
|
||||||
family = "Comic Code"
|
family = "Terminess Nerd Font"
|
||||||
style = "Bold Italic"
|
style = "Bold Italic"
|
||||||
|
|
||||||
[font.italic]
|
[font.italic]
|
||||||
family = "Comic Code"
|
family = "Terminess Nerd Font"
|
||||||
style = "Italic"
|
style = "Italic"
|
||||||
|
|
||||||
[font.offset]
|
|
||||||
x = 0
|
|
||||||
y = -6
|
|
||||||
|
|
||||||
[font.glyph_offset]
|
[font.glyph_offset]
|
||||||
x = 0
|
x = 0
|
||||||
y = -2
|
y = 0
|
||||||
|
|
||||||
# [mouse.hints]
|
# [mouse.hints]
|
||||||
# modifiers = "Command"
|
# modifiers = "Command"
|
||||||
@@ -66,6 +44,10 @@ y = -2
|
|||||||
# [mouse.hints.launcher]
|
# [mouse.hints.launcher]
|
||||||
# program = "open"
|
# program = "open"
|
||||||
|
|
||||||
|
[font.offset]
|
||||||
|
x = 0
|
||||||
|
y = 0
|
||||||
|
|
||||||
[selection]
|
[selection]
|
||||||
save_to_clipboard = true
|
save_to_clipboard = true
|
||||||
|
|
||||||
|
1
.config/iterm2/AppSupport
Symbolic link
1
.config/iterm2/AppSupport
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/Users/yorune/Library/Application Support/iTerm2
|
@@ -371,17 +371,7 @@
|
|||||||
"is_keyboard": true,
|
"is_keyboard": true,
|
||||||
"product_id": 785,
|
"product_id": 785,
|
||||||
"vendor_id": 13364
|
"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": {
|
"identifiers": {
|
||||||
@@ -416,6 +406,14 @@
|
|||||||
{
|
{
|
||||||
"from": { "key_code": "left_command" },
|
"from": { "key_code": "left_command" },
|
||||||
"to": [{ "key_code": "right_command" }]
|
"to": [{ "key_code": "right_command" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "grave_accent_and_tilde" },
|
||||||
|
"to": [{ "key_code": "non_us_backslash" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": { "key_code": "non_us_backslash" },
|
||||||
|
"to": [{ "key_code": "grave_accent_and_tilde" }]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"virtual_hid_keyboard": {
|
"virtual_hid_keyboard": {
|
||||||
|
@@ -357,8 +357,8 @@ set updatetime=250
|
|||||||
autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false, scope="cursor"})
|
autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false, scope="cursor"})
|
||||||
|
|
||||||
" CoPilot
|
" CoPilot
|
||||||
" imap <silent><script><expr> <F1> copilot#Accept("\<CR>")
|
imap <silent><script><expr> <F1> copilot#Accept("\<CR>")
|
||||||
" let g:copilot_no_tab_map = v:true
|
let g:copilot_no_tab_map = v:true
|
||||||
|
|
||||||
" Neoformat
|
" Neoformat
|
||||||
let g:neoformat_try_formatprg = 1
|
let g:neoformat_try_formatprg = 1
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -279,4 +279,3 @@ Cisco Packet Tracer 8.0.0
|
|||||||
.local/bin/kubectl
|
.local/bin/kubectl
|
||||||
.rustup
|
.rustup
|
||||||
.local/tss-sdk
|
.local/tss-sdk
|
||||||
.local/bin/tss
|
|
||||||
|
@@ -199,7 +199,6 @@ function install_terragrunt() {
|
|||||||
timestamp "The current version of the TSS-SDK is the same as the newest version"
|
timestamp "The current version of the TSS-SDK is the same as the newest version"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
brew install wget
|
|
||||||
wget https://github.com/gruntwork-io/terragrunt/releases/latest/download/terragrunt_linux_amd64 -O $TERRAGRUNT
|
wget https://github.com/gruntwork-io/terragrunt/releases/latest/download/terragrunt_linux_amd64 -O $TERRAGRUNT
|
||||||
chmod +x "$TERRAGRUNT"
|
chmod +x "$TERRAGRUNT"
|
||||||
fi
|
fi
|
||||||
@@ -300,8 +299,6 @@ function install_fzf() {
|
|||||||
function install_zsh_addons() {
|
function install_zsh_addons() {
|
||||||
|
|
||||||
if [ ! -d $ZSHFOLDER/aws ]; then
|
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 \
|
curl -s https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/plugins/aws/aws.plugin.zsh \
|
||||||
-o "$ZSHFOLDER"/aws/aws.plugin.zsh &&
|
-o "$ZSHFOLDER"/aws/aws.plugin.zsh &&
|
||||||
timestamp "Downloaded the newest version of aws plugin for zsh"
|
timestamp "Downloaded the newest version of aws plugin for zsh"
|
||||||
@@ -310,6 +307,7 @@ function install_zsh_addons() {
|
|||||||
-o "$ZSHFOLDER"/azure-cli/az.completion &&
|
-o "$ZSHFOLDER"/azure-cli/az.completion &&
|
||||||
timestamp "Downloaded the newest version of az plugin for zsh"
|
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"
|
cd $ZSHFOLDER || err "Folder $ZSHFOLDER has been NOT found"
|
||||||
git clone https://github.com/popstas/zsh-command-time.git &&
|
git clone https://github.com/popstas/zsh-command-time.git &&
|
||||||
timestamp "Cloning the zsh-command-time"
|
timestamp "Cloning the zsh-command-time"
|
||||||
@@ -446,20 +444,15 @@ function install_brew_programs() {
|
|||||||
INSTALLED_PROGRAMS=$(brew list)
|
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+=("$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_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
|
for i in "${LIST_OF_PROGRAMS[@]}"; do
|
||||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]] \
|
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]]; then
|
||||||
&& \
|
|
||||||
[[ ! " ${LIST_OF_PROGRAMS_DISABLE[*]} " =~ ${i} ]]; then
|
|
||||||
brew install $i --force
|
brew install $i --force
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in "${LIST_OF_PROGRAMS_CASK[@]}"; do
|
for i in "${LIST_OF_PROGRAMS_CASK[@]}"; do
|
||||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]] \
|
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]]; then
|
||||||
&& \
|
|
||||||
[[ ! " ${LIST_OF_PROGRAMS_DISABLE[*]} " =~ ${i} ]]; then
|
|
||||||
brew install $i --cask --force
|
brew install $i --cask --force
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@@ -1,22 +0,0 @@
|
|||||||
#!/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,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
FILE_FFMPEG="$1"
|
|
||||||
ffmpeg -i "$FILE_FFMPEG" \
|
|
||||||
-vf "scale=1920:1080" \
|
|
||||||
-c:v h264_videotoolbox \
|
|
||||||
-b:v 3000k \
|
|
||||||
-preset medium \
|
|
||||||
-movflags \
|
|
||||||
+faststart \
|
|
||||||
-c:a aac \
|
|
||||||
-b:a 192k \
|
|
||||||
-ac 2 \
|
|
||||||
-map 0:v \
|
|
||||||
-map 0:a \
|
|
||||||
-map 0:s \
|
|
||||||
-c:s copy resized.mkv
|
|
@@ -1,24 +1,18 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
FOLDER_AUDIOBOOK="/Volumes/Music/Jellyfin/Playlist-Audiobook"
|
|
||||||
FOLDER_FAV="/Volumes/Music/Jellyfin/Playlist-Fav"
|
FOLDER_FAV="/Volumes/Music/Jellyfin/Playlist-Fav"
|
||||||
FOLDER_DUB="/Volumes/Music/Jellyfin/Playlist-Dub"
|
FOLDER_DUB="/Volumes/Music/Jellyfin/Playlist-Dub"
|
||||||
FOLDER_PIANO="/Volumes/Music/Jellyfin/Playlist-Piano"
|
FOLDER_PIANO="/Volumes/Music/Jellyfin/Playlist-Piano"
|
||||||
FOLDER_DUB_SETS="/Volumes/Music/Jellyfin/Playlist-Dub-Sets"
|
|
||||||
|
|
||||||
# Check if folder exists
|
# Check if folder exists
|
||||||
[ ! -d $FOLDER_AUDIOBOOK ] && exit 1
|
|
||||||
[ ! -d $FOLDER_DUB ] && exit 1
|
[ ! -d $FOLDER_DUB ] && exit 1
|
||||||
[ ! -d $FOLDER_FAV ] && exit 1
|
[ ! -d $FOLDER_FAV ] && exit 1
|
||||||
[ ! -d $FOLDER_PIANO ] && exit 1
|
[ ! -d $FOLDER_PIANO ] && exit 1
|
||||||
[ ! -d $FOLDER_DUB_SETS ] && exit 1
|
|
||||||
|
|
||||||
# Remove old files
|
# Remove old files
|
||||||
rm -rfv $FOLDER_AUDIOBOOK/errors.txt
|
|
||||||
rm -rfv $FOLDER_DUB/errors.txt
|
rm -rfv $FOLDER_DUB/errors.txt
|
||||||
rm -rfv $FOLDER_FAV/errors.txt
|
rm -rfv $FOLDER_FAV/errors.txt
|
||||||
rm -rfv $FOLDER_PIANO/errors.txt
|
rm -rfv $FOLDER_PIANO/errors.txt
|
||||||
rm -rfv $FOLDER_DUB_SETS/errors.txt
|
|
||||||
|
|
||||||
# Download new files for DUB
|
# Download new files for DUB
|
||||||
cd $FOLDER_DUB || exit 1
|
cd $FOLDER_DUB || exit 1
|
||||||
@@ -41,9 +35,6 @@ spotdl --user-auth --keep-alive \
|
|||||||
--yt-dlp-args no-check-certificates
|
--yt-dlp-args no-check-certificates
|
||||||
|
|
||||||
# Sync to Jellyfin
|
# Sync to Jellyfin
|
||||||
rsync -h --progress --recursive --ignore-existing \
|
|
||||||
$FOLDER_AUDIOBOOK/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Audiobook
|
|
||||||
|
|
||||||
rsync -h --progress --recursive --ignore-existing \
|
rsync -h --progress --recursive --ignore-existing \
|
||||||
$FOLDER_DUB/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Dub
|
$FOLDER_DUB/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Dub
|
||||||
|
|
||||||
@@ -53,19 +44,12 @@ rsync -h --progress --recursive --ignore-existing \
|
|||||||
rsync -h --progress --recursive --ignore-existing \
|
rsync -h --progress --recursive --ignore-existing \
|
||||||
$FOLDER_PIANO/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Piano
|
$FOLDER_PIANO/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Piano
|
||||||
|
|
||||||
rsync -h --progress --recursive --ignore-existing \
|
|
||||||
$FOLDER_DUB_SETS/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Dub-Sets
|
|
||||||
|
|
||||||
# Generate playlist
|
# Generate playlist
|
||||||
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Audiobook; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
|
|
||||||
|
|
||||||
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Dub; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
|
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Dub; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
|
||||||
|
|
||||||
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Fav; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
|
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Fav; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
|
||||||
|
|
||||||
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Piano; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
|
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Piano; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
|
||||||
|
|
||||||
ssh docker-de -t "cd /mnt/HC_Volume_34966154/jellifin/media/music/Dub-Sets; find . -type f \( -name '*.mp3' -o -name '*.flac' -o -name '*.loss' -o -name '*.aiff' -o -name '*.aif' \) -printf './%P\n' | sort > playlist.m3u"
|
|
||||||
|
|
||||||
# Fix permissions
|
# Fix permissions
|
||||||
ssh docker-de -t 'chown docker-user: /mnt/HC_Volume_34966154/jellifin -R'
|
ssh docker-de -t 'chown docker-user: /mnt/HC_Volume_34966154/jellifin -R'
|
||||||
|
1
.local/bin/youtube-dl
Symbolic link
1
.local/bin/youtube-dl
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/local/bin/yt-dlp
|
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
yt-dlp --extract-audio --audio-format mp3 --embed-metadata --embed-thumbnail --add-metadata $1
|
yt-dlp --extract-audio --audio-format mp3 $1
|
||||||
|
@@ -1 +0,0 @@
|
|||||||
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064},{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}'
|
|
2
.zshrc
2
.zshrc
@@ -160,7 +160,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
|||||||
alias lsblk="diskutil list"
|
alias lsblk="diskutil list"
|
||||||
alias Update="$HOME/.local/bin/Update-pkg; brew update; brew upgrade; brew upgrade --greedy; sudo softwareupdate -i -a -R"
|
alias Update="$HOME/.local/bin/Update-pkg; brew update; brew upgrade; brew upgrade --greedy; sudo softwareupdate -i -a -R"
|
||||||
alias ls="ls -Gh"
|
alias ls="ls -Gh"
|
||||||
alias mpv="mpv --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo+bestaudio/best'"
|
alias mpv="mpv --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo[height<=?1080]+bestaudio/best'"
|
||||||
alias code="open -a 'Visual Studio Code'"
|
alias code="open -a 'Visual Studio Code'"
|
||||||
alias xclip="pbcopy"
|
alias xclip="pbcopy"
|
||||||
alias mtr="sudo /opt/homebrew/opt/mtr/sbin/mtr"
|
alias mtr="sudo /opt/homebrew/opt/mtr/sbin/mtr"
|
||||||
|
Reference in New Issue
Block a user