Compare commits
1 Commits
master
...
798650bd87
| Author | SHA1 | Date | |
|---|---|---|---|
| 798650bd87 |
82
.alacritty.yml
Normal file
82
.alacritty.yml
Normal file
@@ -0,0 +1,82 @@
|
||||
font:
|
||||
bold:
|
||||
family: Comic Code
|
||||
style: Bold
|
||||
antialias: true
|
||||
bold_italic:
|
||||
family: Comic Code
|
||||
style: Bold Italic
|
||||
antialias: true
|
||||
italic:
|
||||
family: Comic Code
|
||||
style: Italic
|
||||
antialias: true
|
||||
normal:
|
||||
family: Comic Code
|
||||
style: Medium
|
||||
antialias: true
|
||||
size: 16
|
||||
|
||||
offset:
|
||||
x: 0
|
||||
y: 0
|
||||
|
||||
glyph_offset:
|
||||
x: 0
|
||||
y: 0
|
||||
|
||||
use_thin_strokes: true
|
||||
|
||||
mouse:
|
||||
hints:
|
||||
launcher:
|
||||
program: open
|
||||
modifiers: Command
|
||||
|
||||
key_bindings:
|
||||
- { key: Return, mods: Control|Shift, action: SpawnNewInstance }
|
||||
- { key: F, mods: Control, action: SearchForward }
|
||||
- { key: V, mods: Control|Shift, action: Paste }
|
||||
- { key: Space, mods: Control, chars: "\x00" }
|
||||
|
||||
selection:
|
||||
save_to_clipboard: true
|
||||
|
||||
colors:
|
||||
search:
|
||||
focused_match:
|
||||
foreground: "#181818"
|
||||
background: "#ab4642"
|
||||
matches:
|
||||
foreground: "#181818"
|
||||
background: "#f4bf75"
|
||||
footer_bar:
|
||||
background: "#262626"
|
||||
foreground: "#d0d0d0"
|
||||
# Default colors
|
||||
primary:
|
||||
background: "0x000000"
|
||||
foreground: "0xffffff"
|
||||
# Bright colors:
|
||||
bright:
|
||||
black: "0x7f7f7f"
|
||||
blue: "0x5c5cff"
|
||||
cyan: "0x00ffff"
|
||||
green: "0x00ff00"
|
||||
magenta: "0xff00ff"
|
||||
red: "0xff0000"
|
||||
white: "0xffffff"
|
||||
yellow: "0xffff00"
|
||||
# Normal colors
|
||||
normal:
|
||||
black: "0x000000"
|
||||
blue: "0x0000ee"
|
||||
cyan: "0x00cdcd"
|
||||
green: "0x00cd00"
|
||||
magenta: "0xcd00cd"
|
||||
red: "0xcd0000"
|
||||
white: "0xe5e5e5"
|
||||
yellow: "0xcdcd00"
|
||||
|
||||
import:
|
||||
- C:\Users\marcin.wozniak\AppData\Roaming\alacritty\dracula.yml
|
||||
@@ -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,26 +3,17 @@ coreutils
|
||||
dockutil
|
||||
duti
|
||||
fastfetch
|
||||
ffmpeg
|
||||
git
|
||||
gnu-sed
|
||||
htop
|
||||
imagemagick
|
||||
ipcalc
|
||||
iperf3
|
||||
mtr
|
||||
neovim
|
||||
newsboat
|
||||
parallel
|
||||
pinentry-mac
|
||||
ranger
|
||||
ripgrep
|
||||
rsync
|
||||
telnet
|
||||
texinfo
|
||||
tmux
|
||||
tree
|
||||
watch
|
||||
wget
|
||||
zoxide
|
||||
zsh
|
||||
|
||||
@@ -1,34 +1,38 @@
|
||||
alacritty
|
||||
brave
|
||||
alfred
|
||||
chatterino
|
||||
dbeaver-community
|
||||
discord
|
||||
displaylink
|
||||
docker
|
||||
firefox@nightly
|
||||
font-hack-nerd-font
|
||||
gimp
|
||||
hiddenbar
|
||||
iterm2
|
||||
jordanbaird-ice
|
||||
karabiner-elements
|
||||
keepassxc
|
||||
macfuse
|
||||
megasync
|
||||
microsoft-auto-update
|
||||
microsoft-teams
|
||||
mongodb-compass
|
||||
mpv
|
||||
mysides
|
||||
obsidian
|
||||
platypus
|
||||
postman
|
||||
qbittorrent
|
||||
rustdesk
|
||||
qview
|
||||
scroll-reverser
|
||||
signal
|
||||
skype
|
||||
spotify
|
||||
stats
|
||||
telegram
|
||||
the-unarchiver
|
||||
transfer
|
||||
twingate
|
||||
visual-studio-code
|
||||
vlc
|
||||
whatsapp
|
||||
winbox
|
||||
wine-crossover
|
||||
wireshark
|
||||
zed@preview
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
example
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"timeStamp": 1753482850400,
|
||||
"version": "1.63.2",
|
||||
"timeStamp": 1728288831001,
|
||||
"version": "1.60.0",
|
||||
"userSettings": {
|
||||
"externalLists": "https://abpvn.com/filter/abpvn-IPl6HE.txt\nhttps://alleblock.pl/alleblock/alleblock.txt\nhttps://easylist-downloads.adblockplus.org/advblock.txt\nhttps://easylist-downloads.adblockplus.org/antiadblockfilters.txt\nhttps://easylist-downloads.adblockplus.org/easylistchina.txt\nhttps://easylist-downloads.adblockplus.org/easylistdutch.txt\nhttps://easylist-downloads.adblockplus.org/easylistpolish.txt\nhttps://easylist-downloads.adblockplus.org/easylistportuguese.txt\nhttps://easylist-downloads.adblockplus.org/koreanlist.txt\nhttps://easylist-downloads.adblockplus.org/liste_fr.txt\nhttps://easylist.to/easylist/easylist.txt\nhttps://easylist.to/easylist/easyprivacy.txt\nhttps://easylist.to/easylist/fanboy-social.txt\nhttps://hole.cert.pl/domains/domains_adblock.txt\nhttps://malware-filter.gitlab.io/malware-filter/phishing-filter.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/master/Dandelion Sprout's Anti-Malware List.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList alternate versions/NordicFiltersABP-Inclusion.txt\nhttps://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts\nhttps://raw.githubusercontent.com/FiltersHeroes/KAD/master/KAD.txt\nhttps://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhole.txt\nhttps://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt\nhttps://raw.githubusercontent.com/FiltersHeroes/PolishAnnoyanceFilters/master/PAF_supp.txt\nhttps://raw.githubusercontent.com/FiltersHeroes/PolishAntiAnnoyingSpecialSupplement/master/polish_rss_filters.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/adblock_social_filters/adblock_social_list.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/adblock_social_filters/social_filters_uB_AG.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/cookies_filters/cookies_uB_AG.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_adguard.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_test.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_ublock.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/adservers.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hostfile.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hostfile_regex.txt\nhttps://raw.githubusercontent.com/gioxx/xfiles/master/filtri.txt\nhttps://raw.githubusercontent.com/heradhis/indonesianadblockrules/master/subscriptions/abpindo.txt\nhttps://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt\nhttps://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt\nhttps://raw.githubusercontent.com/mmotti/pihole-regex/master/regex.list\nhttps://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/adblock.txt\nhttps://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/anti-adblock.txt\nhttps://raw.githubusercontent.com/quenhus/uBlock-Origin-dev-filter/main/dist/all_search_engines/global.txt\nhttps://raw.githubusercontent.com/xxcriticxx/.pl-host-file/master/hosts.txt\nhttps://raw.githubusercontent.com/yourduskquibbles/webannoyances/master/ultralist.txt\nhttps://secure.fanboy.co.nz/fanboy-annoyance.txt\nhttps://secure.fanboy.co.nz/fanboy-cookiemonster.txt\nhttps://winhelp2002.mvps.org/hosts.txt\nhttps://www.i-dont-care-about-cookies.eu/abp/\nhttps://www.zoso.ro/pages/rolist.txt",
|
||||
"externalLists": "https://abpvn.com/filter/abpvn-IPl6HE.txt\nhttps://alleblock.pl/alleblock/alleblock.txt\nhttps://easylist-downloads.adblockplus.org/advblock.txt\nhttps://easylist-downloads.adblockplus.org/antiadblockfilters.txt\nhttps://easylist-downloads.adblockplus.org/easylistchina.txt\nhttps://easylist-downloads.adblockplus.org/easylistdutch.txt\nhttps://easylist-downloads.adblockplus.org/easylistpolish.txt\nhttps://easylist-downloads.adblockplus.org/easylistportuguese.txt\nhttps://easylist-downloads.adblockplus.org/koreanlist.txt\nhttps://easylist-downloads.adblockplus.org/liste_fr.txt\nhttps://easylist.to/easylist/easylist.txt\nhttps://easylist.to/easylist/easyprivacy.txt\nhttps://easylist.to/easylist/fanboy-social.txt\nhttps://hole.cert.pl/domains/domains_adblock.txt\nhttps://malware-filter.gitlab.io/malware-filter/phishing-filter.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/master/Dandelion Sprout's Anti-Malware List.txt\nhttps://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList alternate versions/NordicFiltersABP-Inclusion.txt\nhttps://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts\nhttps://raw.githubusercontent.com/FiltersHeroes/KAD/master/KAD.txt\nhttps://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhole.txt\nhttps://raw.githubusercontent.com/FiltersHeroes/KADhosts/master/KADhosts.txt\nhttps://raw.githubusercontent.com/FiltersHeroes/PolishAnnoyanceFilters/master/PAF_supp.txt\nhttps://raw.githubusercontent.com/FiltersHeroes/PolishAntiAnnoyingSpecialSupplement/master/polish_rss_filters.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/adblock_social_filters/adblock_social_list.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/adblock_social_filters/social_filters_uB_AG.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/cookies_filters/cookies_uB_AG.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_adguard.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_test.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_ublock.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-mikrotik-filters/forti_list.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/adservers.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hostfile.txt\nhttps://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hostfile_regex.txt\nhttps://raw.githubusercontent.com/gioxx/xfiles/master/filtri.txt\nhttps://raw.githubusercontent.com/heradhis/indonesianadblockrules/master/subscriptions/abpindo.txt\nhttps://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt\nhttps://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt\nhttps://raw.githubusercontent.com/mmotti/pihole-regex/master/regex.list\nhttps://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/adblock.txt\nhttps://raw.githubusercontent.com/quenhus/uBlock-Origin-dev-filter/main/dist/all_search_engines/global.txt\nhttps://raw.githubusercontent.com/xxcriticxx/.pl-host-file/master/hosts.txt\nhttps://raw.githubusercontent.com/yourduskquibbles/webannoyances/master/ultralist.txt\nhttps://secure.fanboy.co.nz/fanboy-annoyance.txt\nhttps://secure.fanboy.co.nz/fanboy-cookiemonster.txt\nhttps://winhelp2002.mvps.org/hosts.txt\nhttps://www.i-dont-care-about-cookies.eu/abp/\nhttps://www.zoso.ro/pages/rolist.txt",
|
||||
"ignoreGenericCosmeticFilters": true,
|
||||
"importedLists": [
|
||||
"https://abpvn.com/filter/abpvn-IPl6HE.txt",
|
||||
@@ -34,6 +34,7 @@
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_adguard.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_test.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_ublock.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-mikrotik-filters/forti_list.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/adservers.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hostfile.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hostfile_regex.txt",
|
||||
@@ -43,7 +44,6 @@
|
||||
"https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/nocoin.txt",
|
||||
"https://raw.githubusercontent.com/mmotti/pihole-regex/master/regex.list",
|
||||
"https://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/adblock.txt",
|
||||
"https://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/anti-adblock.txt",
|
||||
"https://raw.githubusercontent.com/quenhus/uBlock-Origin-dev-filter/main/dist/all_search_engines/global.txt",
|
||||
"https://raw.githubusercontent.com/xxcriticxx/.pl-host-file/master/hosts.txt",
|
||||
"https://raw.githubusercontent.com/yourduskquibbles/webannoyances/master/ultralist.txt",
|
||||
@@ -108,11 +108,10 @@
|
||||
"LVA-0",
|
||||
"NLD-0",
|
||||
"NOR-0",
|
||||
"POL-3",
|
||||
"POL-0",
|
||||
"POL-2",
|
||||
"ROU-1",
|
||||
"RUS-0",
|
||||
"RUS-1",
|
||||
"SWE-1",
|
||||
"SVN-0",
|
||||
"THA-0",
|
||||
@@ -144,6 +143,7 @@
|
||||
"https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/adblock_social_filters/social_filters_uB_AG.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/cookies_filters/cookies_uB_AG.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-mikrotik-filters/forti_list.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hostfile_regex.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-pihole-filters/hostfile.txt",
|
||||
"https://raw.githubusercontent.com/mmotti/pihole-regex/master/regex.list",
|
||||
@@ -159,7 +159,6 @@
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_adguard.txt",
|
||||
"https://raw.githubusercontent.com/MajkiIT/polish-ads-filter/master/polish-adblock-filters/adblock_ublock.txt",
|
||||
"https://malware-filter.gitlab.io/malware-filter/phishing-filter.txt",
|
||||
"https://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/anti-adblock.txt",
|
||||
"https://raw.githubusercontent.com/olegwukr/polish-privacy-filters/master/adblock.txt",
|
||||
"https://www.zoso.ro/pages/rolist.txt",
|
||||
"https://easylist-downloads.adblockplus.org/advblock.txt",
|
||||
@@ -168,15 +167,18 @@
|
||||
],
|
||||
"hiddenSettings": {},
|
||||
"whitelist": [
|
||||
"10.55.0.1",
|
||||
"about-scheme",
|
||||
"chrome-extension-scheme",
|
||||
"chrome-scheme",
|
||||
"devnetsandbox.cisco.com",
|
||||
"edge-scheme",
|
||||
"freedisc.pl",
|
||||
"ifttt.com",
|
||||
"moz-extension-scheme",
|
||||
"opera-scheme"
|
||||
"new.plusx.tv",
|
||||
"opera-scheme",
|
||||
"vivaldi-scheme",
|
||||
"wearmedicine.com",
|
||||
"wyciwyg-scheme"
|
||||
],
|
||||
"dynamicFilteringString": "behind-the-scene * * noop\nbehind-the-scene * inline-script noop\nbehind-the-scene * 1p-script noop\nbehind-the-scene * 3p-script noop\nbehind-the-scene * 3p-frame noop\nbehind-the-scene * image noop\nbehind-the-scene * 3p noop",
|
||||
"urlFilteringString": "",
|
||||
|
||||
@@ -1,110 +0,0 @@
|
||||
# use_thin_strokes = true
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
[general]
|
||||
import = ["~/.config/alacritty/dracula.toml"]
|
||||
|
||||
[keyboard]
|
||||
bindings = [
|
||||
{ key = "F", mods = "Control", action = "SearchForward" },
|
||||
{ key = "Left", mods = "Alt", chars = "\u001BB" },
|
||||
{ key = "Return", mods = "Control|Shift", action = "SpawnNewInstance" },
|
||||
{ key = "Right", mods = "Alt", chars = "\u001BF" },
|
||||
{ key = "Space", mods = "Control", chars = "\u0000" },
|
||||
{ key = "V", mods = "Control|Shift", action = "Paste" },
|
||||
]
|
||||
|
||||
[window]
|
||||
opacity = 0.95
|
||||
|
||||
[font]
|
||||
size = 20
|
||||
|
||||
# [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]
|
||||
family = "Comic Code Ligatures"
|
||||
style = "Regular"
|
||||
|
||||
# [font.bold]
|
||||
# family = "Teminess Nerd Font"
|
||||
# style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "Comic Code"
|
||||
style = "Bold Italic"
|
||||
|
||||
[font.italic]
|
||||
family = "Comic Code"
|
||||
style = "Italic"
|
||||
|
||||
[font.offset]
|
||||
x = 0
|
||||
y = -6
|
||||
|
||||
[font.glyph_offset]
|
||||
x = 0
|
||||
y = -2
|
||||
|
||||
# [mouse.hints]
|
||||
# modifiers = "Command"
|
||||
|
||||
# [mouse.hints.launcher]
|
||||
# program = "open"
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = true
|
||||
|
||||
# Unused
|
||||
[colors.bright]
|
||||
black = "0x7f7f7f"
|
||||
blue = "0x5c5cff"
|
||||
cyan = "0x00ffff"
|
||||
green = "0x00ff00"
|
||||
magenta = "0xff00ff"
|
||||
red = "0xff0000"
|
||||
white = "0xffffff"
|
||||
yellow = "0xffff00"
|
||||
|
||||
[colors.normal]
|
||||
black = "0x000000"
|
||||
blue = "0x0000ee"
|
||||
cyan = "0x00cdcd"
|
||||
green = "0x00cd00"
|
||||
magenta = "0xcd00cd"
|
||||
red = "0xcd0000"
|
||||
white = "0xe5e5e5"
|
||||
yellow = "0xcdcd00"
|
||||
|
||||
[colors.primary]
|
||||
background = "0x000000"
|
||||
foreground = "0xffffff"
|
||||
|
||||
[colors.search.focused_match]
|
||||
background = "#ab4642"
|
||||
foreground = "#181818"
|
||||
|
||||
# [colors.search.footer_bar]
|
||||
# background = "#262626"
|
||||
# foreground = "#d0d0d0"
|
||||
|
||||
[colors.search.matches]
|
||||
background = "#f4bf75"
|
||||
foreground = "#181818"
|
||||
@@ -1,76 +0,0 @@
|
||||
# Dracula theme for Alacritty
|
||||
# https://draculatheme.com/alacritty
|
||||
#
|
||||
# Color palette
|
||||
# https://spec.draculatheme.com
|
||||
#
|
||||
# Instructions
|
||||
# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd
|
||||
|
||||
[colors.primary]
|
||||
|
||||
background = "#282a36"
|
||||
foreground = "#f8f8f2"
|
||||
bright_foreground = "#ffffff"
|
||||
|
||||
[colors.cursor]
|
||||
|
||||
text = "#282a36"
|
||||
cursor = "#f8f8f2"
|
||||
|
||||
[colors.vi_mode_cursor]
|
||||
|
||||
text = "CellBackground"
|
||||
cursor = "CellForeground"
|
||||
|
||||
[colors.selection]
|
||||
|
||||
text = "CellForeground"
|
||||
background = "#44475a"
|
||||
|
||||
[colors.normal]
|
||||
|
||||
black = "#21222c"
|
||||
red = "#ff5555"
|
||||
green = "#50fa7b"
|
||||
yellow = "#f1fa8c"
|
||||
blue = "#bd93f9"
|
||||
magenta = "#ff79c6"
|
||||
cyan = "#8be9fd"
|
||||
white = "#f8f8f2"
|
||||
|
||||
[colors.bright]
|
||||
|
||||
black = "#6272a4"
|
||||
red = "#ff6e6e"
|
||||
green = "#69ff94"
|
||||
yellow = "#ffffa5"
|
||||
blue = "#d6acff"
|
||||
magenta = "#ff92df"
|
||||
cyan = "#a4ffff"
|
||||
white = "#ffffff"
|
||||
|
||||
[colors.search.matches]
|
||||
|
||||
foreground = "#44475a"
|
||||
background = "#50fa7b"
|
||||
|
||||
[colors.search.focused_match]
|
||||
|
||||
foreground = "#44475a"
|
||||
background = "#ffb86c"
|
||||
|
||||
[colors.footer_bar]
|
||||
|
||||
background = "#282a36"
|
||||
foreground = "#f8f8f2"
|
||||
|
||||
[colors.hints.start]
|
||||
|
||||
foreground = "#282a36"
|
||||
background = "#f1fa8c"
|
||||
|
||||
[colors.hints.end]
|
||||
|
||||
foreground = "#f1fa8c"
|
||||
background = "#282a36"
|
||||
1
.config/iterm2/AppSupport
Symbolic link
1
.config/iterm2/AppSupport
Symbolic link
@@ -0,0 +1 @@
|
||||
/Users/yorune/Library/Application Support/iTerm2
|
||||
@@ -256,14 +256,6 @@
|
||||
{
|
||||
"from": { "consumer_key_code": "eject" },
|
||||
"to": [{ "consumer_key_code": "al_terminal_lock_or_screensaver" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "right_command" },
|
||||
"to": [{ "key_code": "right_option" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "right_option" },
|
||||
"to": [{ "key_code": "right_command" }]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -371,17 +363,7 @@
|
||||
"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": {
|
||||
@@ -413,6 +395,10 @@
|
||||
"from": { "key_code": "caps_lock" },
|
||||
"to": [{ "key_code": "escape" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "grave_accent_and_tilde" },
|
||||
"to": [{ "key_code": "non_us_backslash" }]
|
||||
},
|
||||
{
|
||||
"from": { "key_code": "left_command" },
|
||||
"to": [{ "key_code": "right_command" }]
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
refresher:
|
||||
refreshInterval: 60
|
||||
gui:
|
||||
useHunkModeInStagingView: false
|
||||
mainPanelSplitMode: "horizontal"
|
||||
theme:
|
||||
selectedLineBgColor:
|
||||
|
||||
@@ -14,7 +14,6 @@ keep-open=yes
|
||||
|
||||
# Always save the current playback position on exit
|
||||
save-position-on-quit=yes
|
||||
# ontop=yes
|
||||
|
||||
# Geometry settings
|
||||
geometry=50%:50%
|
||||
|
||||
@@ -178,58 +178,81 @@ call plug#end()
|
||||
lua<<EOF
|
||||
local opts = { noremap=true, silent=true }
|
||||
|
||||
-- capabilities for nvim-cmp
|
||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
local lspconfig = require('lspconfig')
|
||||
|
||||
-- Prefer LspAttach instead of per-server on_attach
|
||||
vim.api.nvim_create_autocmd('LspAttach', {
|
||||
callback = function(args)
|
||||
local bufnr = args.buf
|
||||
local on_attach = function(client, bufnr)
|
||||
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gD', '<cmd>lua vim.lsp.buf.declaration()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gd', '<cmd>lua vim.lsp.buf.definition()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>K', '<cmd>lua vim.lsp.buf.hover()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'ge', '<cmd>lua vim.diagnostic.setqflist()<CR>', opts)
|
||||
--vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>wa', '<cmd>lua vim.lsp.buf.add_workspace_folder()<CR>', opts)
|
||||
--vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>wr', '<cmd>lua vim.lsp.buf.remove_workspace_folder()<CR>', opts)
|
||||
--vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>wl', '<cmd>lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>', opts)
|
||||
--vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>D', '<cmd>lua vim.lsp.buf.type_definition()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>ca', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>', opts)
|
||||
--vim.api.nvim_buf_set_keymap(bufnr, 'n', '<space>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts)
|
||||
end
|
||||
|
||||
vim.bo[bufnr].omnifunc = 'v:lua.vim.lsp.omnifunc'
|
||||
|
||||
vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, { buffer = bufnr, silent = true })
|
||||
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, { buffer = bufnr, silent = true })
|
||||
vim.keymap.set('n', '<space>K', vim.lsp.buf.hover, { buffer = bufnr, silent = true })
|
||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, { buffer = bufnr, silent = true })
|
||||
vim.keymap.set('n', 'ge', vim.diagnostic.setqflist, { buffer = bufnr, silent = true })
|
||||
vim.keymap.set('n', '<space>rn', vim.lsp.buf.rename, { buffer = bufnr, silent = true })
|
||||
vim.keymap.set('n', '<space>ca', vim.lsp.buf.code_action, { buffer = bufnr, silent = true })
|
||||
vim.keymap.set('n', 'gr', vim.lsp.buf.references, { buffer = bufnr, silent = true })
|
||||
end,
|
||||
})
|
||||
|
||||
-- If you want borders, define one (your old code referenced `border` but never defined it)
|
||||
local border = 'rounded'
|
||||
|
||||
vim.lsp.config('*', {
|
||||
capabilities = capabilities,
|
||||
handlers = {
|
||||
-- LSP settings (for overriding per client)
|
||||
local handlers = {
|
||||
["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {border = border}),
|
||||
["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {border = border }),
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
-- Server-specific overrides
|
||||
vim.lsp.config('yamlls', {
|
||||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
||||
-- map buffer local keybindings when the language server attaches
|
||||
local servers = { 'clangd', 'bashls', 'yamlls', 'ansiblels', 'gopls', 'solargraph', 'terraformls', 'tflint', 'marksman', 'rust_analyzer' }
|
||||
for _, lsp in pairs(servers) do
|
||||
require('lspconfig')[lsp].setup {
|
||||
on_attach = on_attach,
|
||||
handlers=handlers,
|
||||
capabilities = capabilities,
|
||||
flags = {
|
||||
debounce_text_changes = 150,
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
-- Handlers when you are in the insert mode you see the errors
|
||||
vim.lsp.handlers["textDocument/publishDiagnostics"] =
|
||||
vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics,
|
||||
{update_in_insert = true})
|
||||
|
||||
-- Setup a yamlls plugin
|
||||
require'lspconfig'.yamlls.setup{
|
||||
settings = {
|
||||
json = {
|
||||
schemas = {
|
||||
["https://raw.githubusercontent.com/quantumblacklabs/kedro/develop/static/jsonschema/kedro-catalog-0.17.json"]= "conf/**/*catalog*",
|
||||
["https://json.schemastore.org/github-workflow.json"] = "/.github/workflows/*",
|
||||
["https://github.com/ansible/schemas/blob/main/f/ansible.json"] = "*.yaml,*.yml",
|
||||
["https://github.com/ansible/schemas/blob/main/f/ansible.json"] = "*.yaml,*.yml"
|
||||
}
|
||||
},
|
||||
yaml = { keyOrdering = false },
|
||||
yaml = {
|
||||
keyOrdering = false
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
vim.lsp.config('gopls', {
|
||||
-- Setup GoLang
|
||||
require'lspconfig'.gopls.setup {
|
||||
cmd = {"gopls", "serve"},
|
||||
filetypes = { "go", "gomod", "gowork", "gotmpl" },
|
||||
on_attach = on_attach,
|
||||
handlers=handlers,
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
gopls = {
|
||||
analyses = { unusedparams = true },
|
||||
analyses = {
|
||||
unusedparams = true,
|
||||
},
|
||||
staticcheck = true,
|
||||
linksInHover = false,
|
||||
codelenses = {
|
||||
@@ -242,25 +265,91 @@ vim.lsp.config('gopls', {
|
||||
},
|
||||
completeUnimported = true,
|
||||
usePlaceholders = true,
|
||||
analyses = {
|
||||
unusedparams = true,
|
||||
},
|
||||
},
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
vim.lsp.config('ruff', {}) -- keep as you had it
|
||||
-- Setup Python (ruff)
|
||||
require('lspconfig').ruff.setup({})
|
||||
|
||||
-- Finally, enable servers (this replaces the setup() loop)
|
||||
vim.lsp.enable({
|
||||
'clangd', 'bashls', 'yamlls', 'ansiblels', 'gopls', 'solargraph',
|
||||
'terraformls', 'tflint', 'marksman', 'rust_analyzer', 'ruff',
|
||||
})
|
||||
-- luasnip setup
|
||||
local luasnip = require 'luasnip'
|
||||
|
||||
local cmp = require('cmp')
|
||||
cmp.setup({
|
||||
-- nvim-cmp setup
|
||||
local cmp = require 'cmp'
|
||||
cmp.setup {
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
luasnip.lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<C-a>'] = cmp.mapping.scroll_docs(-4),
|
||||
['<C-s>'] = cmp.mapping.scroll_docs(4),
|
||||
['<C-Space>'] = cmp.mapping.complete(),
|
||||
['<CR>'] = cmp.mapping.confirm {
|
||||
behavior = cmp.ConfirmBehavior.Replace,
|
||||
select = true,
|
||||
},
|
||||
['<Tab>'] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_next_item()
|
||||
elseif luasnip.expand_or_jumpable() then
|
||||
luasnip.expand_or_jump()
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end, { 'i', 's' }),
|
||||
['<S-Tab>'] = cmp.mapping(function(fallback)
|
||||
if cmp.visible() then
|
||||
cmp.select_prev_item()
|
||||
elseif luasnip.jumpable(-1) then
|
||||
luasnip.jump(-1)
|
||||
else
|
||||
fallback()
|
||||
end
|
||||
end, { 'i', 's' }),
|
||||
}),
|
||||
sources = { { name = 'buffer' } },
|
||||
sources = {
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'luasnip' },
|
||||
{ name = 'vsnip' },
|
||||
{ name = 'ultisnips' },
|
||||
{ name = 'snippy' },
|
||||
{ name = 'path' },
|
||||
{ name = 'buffer' }
|
||||
},
|
||||
}
|
||||
|
||||
cmp.setup.cmdline(':', {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
|
||||
{ name = 'path' }
|
||||
}, {
|
||||
{ name = 'cmdline' }
|
||||
})
|
||||
})
|
||||
|
||||
cmp.setup.cmdline('/', {
|
||||
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = {
|
||||
{ name = 'buffer' }
|
||||
}
|
||||
})
|
||||
|
||||
require("nvim-tree").setup({
|
||||
})
|
||||
|
||||
require'treesitter-context'.setup{}
|
||||
|
||||
require("nvim-autopairs").setup {}
|
||||
|
||||
require'lspconfig'.rust_analyzer.setup {}
|
||||
EOF
|
||||
|
||||
" Added popout window to see diagnostic
|
||||
@@ -268,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
|
||||
@@ -548,13 +637,10 @@ autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR>
|
||||
autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
|
||||
|
||||
" Yaml
|
||||
autocmd BufRead,BufNewFile *.yaml,*.yml let g:indentLine_enabled = 1
|
||||
autocmd BufRead,BufNewFile *.yaml,*.yml let g:indentLine_char = '⦙'
|
||||
autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1
|
||||
autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
|
||||
au BufRead,BufNewFile *.yaml,*.yml if search('hosts:\|tasks:', 'nw') | set ft=yaml.ansible | endif
|
||||
autocmd BufWritePre *.yaml,*.yml silent! undojoin | Neoformat prettier
|
||||
|
||||
" JSON
|
||||
autocmd BufWritePre *.json silent! undojoin | Neoformat prettier
|
||||
autocmd BufWritePre *.yaml silent! undojoin | Neoformat prettier
|
||||
|
||||
" GoLang
|
||||
autocmd BufRead *.go set noexpandtab
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
[global]
|
||||
break-system-packages = true
|
||||
@@ -1,12 +1,5 @@
|
||||
default-stream "1080p60,1080p,720p60,720p"
|
||||
default-stream best
|
||||
hls-live-edge 2
|
||||
hls-segment-stream-data
|
||||
player-no-close
|
||||
player=mpv
|
||||
retry-max 100
|
||||
retry-open 10
|
||||
retry-streams 10
|
||||
stream-segment-threads=4
|
||||
twitch-disable-ads
|
||||
twitch-low-latency
|
||||
default-stream best
|
||||
player-no-close
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
c = commit --author='Marcin Woźniak <y0rune@aol.com> -s'
|
||||
cw = commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com> -s'
|
||||
retag = "!f() { if [ -z \"$1\" ]; then echo \"No version provided. Skipping git push.\"; else git tag --delete $1 2>/dev/null; git tag -a $1 -m \"Version $1\"; git push --tags -f; git push -f; fi; }; f"
|
||||
delete-branch = "!$HOME/.local/bin/git-delete-branch"
|
||||
|
||||
[url "git@github.com:"]
|
||||
insteadOf = "https://github.com/"
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -278,5 +278,3 @@ golang
|
||||
Cisco Packet Tracer 8.0.0
|
||||
.local/bin/kubectl
|
||||
.rustup
|
||||
.local/tss-sdk
|
||||
.local/bin/tss
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/opt/homebrew/opt/bash/bin/bash
|
||||
#!/bin/bash
|
||||
# shellcheck disable=2010,2045,2086,2155
|
||||
|
||||
# Path to the zsh folder
|
||||
@@ -31,7 +31,7 @@ else
|
||||
pip="/opt/homebrew/bin/pip$PYTHONVERSION"
|
||||
fi
|
||||
|
||||
PIPEXT="--user --force --quiet --no-warn-script-location"
|
||||
PIPEXT="--user --force --quiet --break-system-packages --no-warn-script-location"
|
||||
PIPEXTPRE="--pre $PIPEXT"
|
||||
|
||||
# Gentoo release
|
||||
@@ -62,7 +62,7 @@ function err() {
|
||||
|
||||
function command_start() {
|
||||
timestamp "Command $* has been started."
|
||||
if ! "$@"; then
|
||||
if ! "$*"; then
|
||||
err "---------"
|
||||
err "Command $* went wrong."
|
||||
err "---------"
|
||||
@@ -85,7 +85,7 @@ function command_exists() {
|
||||
function update_pip() {
|
||||
# Update the pip
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
$python -m pip install --upgrade pip --user --no-warn-script-location
|
||||
$python -m pip install --upgrade pip --user --no-warn-script-location --break
|
||||
elif [[ -f $GENTOO ]]; then
|
||||
$install dev-python/pip
|
||||
fi
|
||||
@@ -199,7 +199,6 @@ 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
|
||||
@@ -300,8 +299,6 @@ 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"
|
||||
@@ -310,6 +307,7 @@ 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"
|
||||
@@ -387,27 +385,16 @@ function install_rust() {
|
||||
|
||||
function install_tss_client() {
|
||||
# Install tss
|
||||
TSS_VERSION_STABLE="$1"
|
||||
CURRENT_VERSION="1.5.7"
|
||||
|
||||
if [ -z "$TSS_VERSION_STABLE" ]; then
|
||||
TSS_VERSION_STABLE=""
|
||||
timestamp "TSS_VERSION_STABLE variable is empty, the latest version will be installed"
|
||||
fi
|
||||
|
||||
# Example link: https://downloads.ss.thycotic.com/secretserversdk/1.5.7/secretserver-sdk-1.5.7-linux-x64.zip
|
||||
TSSDOCS="https://docs.delinea.com/online-help/secret-server/api-scripting/sdk-devops/sdk-downloads/index.htm"
|
||||
LINK=""
|
||||
REMOTE_VERSION=""
|
||||
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
if [ -n "$TSS_VERSION_STABLE" ]; then
|
||||
LINK="https://downloads.ss.thycotic.com/secretserversdk/$TSS_VERSION_STABLE/secretserver-sdk-$TSS_VERSION_STABLE-osx-x64.zip"
|
||||
REMOTE_VERSION=$TSS_VERSION
|
||||
else
|
||||
LINK=$(curl -s -L $TSSDOCS | grep -iEo 'href=".*-osx-x64.zip"' | sed 's/href\=//g;s/"//g' | sort -r | head -n1)
|
||||
REMOTE_VERSION=$(echo $LINK | grep -iEo '[0-9.]+-osx' | sed 's/-osx//g')
|
||||
fi
|
||||
else
|
||||
LINK=$(curl -s -L $TSSDOCS | grep -iEo 'href=".*-linux-x64.zip"' | sed 's/href\=//g;s/"//g' | sort -r | head -n1)
|
||||
REMOTE_VERSION=$(echo $LINK | grep -iEo '[0-9.]+-linux' | sed 's/-linux//g')
|
||||
@@ -457,18 +444,15 @@ 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} ]] &&
|
||||
[[ ! " ${LIST_OF_PROGRAMS_DISABLE[*]} " =~ ${i} ]]; then
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]]; then
|
||||
brew install $i --force
|
||||
fi
|
||||
done
|
||||
|
||||
for i in "${LIST_OF_PROGRAMS_CASK[@]}"; do
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]] &&
|
||||
[[ ! " ${LIST_OF_PROGRAMS_DISABLE[*]} " =~ ${i} ]]; then
|
||||
if [[ ! " ${INSTALLED_PROGRAMS[*]} " =~ ${i} ]]; then
|
||||
brew install $i --cask --force
|
||||
fi
|
||||
done
|
||||
@@ -500,110 +484,23 @@ function install_winbox_old() {
|
||||
xattr -cr ~/Applications/winbox.exe
|
||||
}
|
||||
|
||||
function install_prettier() {
|
||||
$install prettier
|
||||
$install prettierd
|
||||
}
|
||||
|
||||
function install_google_cloud_sdk() {
|
||||
# Install google cloud sdk
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
$install google-cloud-sdk
|
||||
else
|
||||
curl -s https://sdk.cloud.google.com | bash
|
||||
fi
|
||||
}
|
||||
|
||||
function install_lib_wandio() {
|
||||
local REPO="LibtraceTeam/wandio"
|
||||
local REMOTE_VERSION=$(curl -s \
|
||||
https://api.github.com/repos/$REPO/releases/latest |
|
||||
grep -iEo '"tag_name":.*' |
|
||||
sed 's/"tag_name"://g;s/"//g;s/,//g;s/ //g')
|
||||
local RELEASE="${REMOTE_VERSION}.tar.gz"
|
||||
local DEST="/tmp/wandio-$REMOTE_VERSION.tar.gz"
|
||||
local DEST_FOLDER="/tmp/wandio-$REMOTE_VERSION"
|
||||
|
||||
$install autoconf automake libtool
|
||||
wget https://github.com/$REPO/archive/refs/tags/$RELEASE -O $DEST
|
||||
tar -xvf $DEST -C /tmp
|
||||
cd $DEST_FOLDER || err "Folder $DEST_FOLDER has been NOT found"
|
||||
./bootstrap.sh
|
||||
./configure
|
||||
make -j"$(nproc)"
|
||||
sudo make install && timestamp "Installed the newest version of the $REPO"
|
||||
rm -rfv $DEST $DEST_FOLDER
|
||||
}
|
||||
|
||||
function install_bgpreader() {
|
||||
local CURRENT_VERSION="0.0.0"
|
||||
local REPO="CAIDA/libbgpstream"
|
||||
local NAME="${REPO##*/}"
|
||||
local REMOTE_VERSION=$(curl -s \
|
||||
https://api.github.com/repos/$REPO/releases/latest |
|
||||
grep -iEo '"tag_name":.*' |
|
||||
sed 's/"tag_name"://g;s/"//g;s/,//g;s/ //g')
|
||||
local RELEASE="$NAME-${REMOTE_VERSION/v/}.tar.gz"
|
||||
local DEST="/tmp/$NAME-$REMOTE_VERSION.tar.gz"
|
||||
local DEST_FOLDER="/tmp/$NAME-$REMOTE_VERSION"
|
||||
|
||||
if command_exists bgpreader; then
|
||||
CURRENT_VERSION="v$(bgpreader -v 2>&1 | grep -ioE '[0-9\.]+')"
|
||||
fi
|
||||
|
||||
if [ "$CURRENT_VERSION" == "$REMOTE_VERSION" ]; then
|
||||
timestamp "The current version of the BGPREADER is the same as the newest version"
|
||||
return 0
|
||||
else
|
||||
$install autoconf automake libtool
|
||||
command_start install_lib_wandio
|
||||
wget https://github.com/$REPO/releases/download/$REMOTE_VERSION/$RELEASE -O $DEST
|
||||
tar -xvf $DEST -C /tmp
|
||||
cd /tmp/$NAME-* || err "Folder /tmp/$NAME-* has been NOT found"
|
||||
./configure --without-kafka
|
||||
make -j"$(nproc)"
|
||||
sudo make install && timestamp "Installed the newest version of the $REPO"
|
||||
rm -rfv /tmp/$NAME-*
|
||||
fi
|
||||
}
|
||||
|
||||
function install_font_terminess() {
|
||||
local REPO="ryanoasis/nerd-fonts"
|
||||
local REMOTE_VERSION=$(curl -s \
|
||||
https://api.github.com/repos/$REPO/releases/latest |
|
||||
grep -iEo '"tag_name":.*' |
|
||||
sed 's/"tag_name"://g;s/"//g;s/,//g;s/ //g')
|
||||
local RELEASE="Terminus.zip"
|
||||
local DEST="/tmp/Terminess"
|
||||
|
||||
if [ ! -f $HOME/Library/Fonts/TerminessNerdFont-Regular.ttf ]; then
|
||||
mkdir -p $DEST
|
||||
cd $DEST || err "Folder $DEST has been NOT found"
|
||||
wget https://github.com/$REPO/releases/download/$REMOTE_VERSION/$RELEASE -O $DEST/$RELEASE
|
||||
unzip $RELEASE -d $DEST
|
||||
mv $DEST/*.ttf ~/Library/Fonts
|
||||
cd $HOME || err "Folder $HOME has been NOT found"
|
||||
rm -rfv $DEST
|
||||
fi
|
||||
}
|
||||
|
||||
function main() {
|
||||
# command_start update_pip
|
||||
# command_start install_neovim_module_for_python
|
||||
# command_start install_node
|
||||
# command_start install_go
|
||||
# # command_start install_pyright
|
||||
# command_start install_mdformat
|
||||
# command_start install_ruff
|
||||
# command_start install_lazy
|
||||
# command_start install_dlv
|
||||
# command_start install_bash-language-server
|
||||
# command_start install_yaml-language-server
|
||||
# command_start install_marksman
|
||||
# command_start install_shfmt
|
||||
# command_start install_shellcheck
|
||||
# command_start install_gopls
|
||||
# # command_start install_terraform
|
||||
command_start update_pip
|
||||
command_start install_neovim_module_for_python
|
||||
command_start install_node
|
||||
command_start install_go
|
||||
# command_start install_pyright
|
||||
command_start install_mdformat
|
||||
command_start install_ruff
|
||||
command_start install_lazy
|
||||
command_start install_dlv
|
||||
command_start install_bash-language-server
|
||||
command_start install_yaml-language-server
|
||||
command_start install_marksman
|
||||
command_start install_shfmt
|
||||
command_start install_shellcheck
|
||||
command_start install_gopls
|
||||
# command_start install_terraform
|
||||
command_start install_terraform_stable
|
||||
command_start install_terragrunt
|
||||
command_start install_azure_cli
|
||||
@@ -618,16 +515,12 @@ function main() {
|
||||
command_start install_gh_cli
|
||||
command_start install_kubernetes
|
||||
command_start install_rust
|
||||
command_start install_tss_client "1.5.9"
|
||||
command_start install_tss_client
|
||||
command_start install_taplo
|
||||
command_start install_precommit
|
||||
command_start install_streamlink
|
||||
command_start install_fzf
|
||||
command_start install_winbox_old
|
||||
command_start install_prettier
|
||||
command_start install_google_cloud_sdk
|
||||
command_start install_bgpreader
|
||||
command_start install_font_terminess
|
||||
command_start install_zsh_addons
|
||||
command_start install_brew_programs
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ export QT_IM_MODULE=ibus
|
||||
KERNEL=$(uname -sr)
|
||||
[[ $KERNEL =~ "icrosoft" ]] && "/mnt/c/Program Files/Mozilla Firefox/firefox.exe" "$@"
|
||||
[[ $KERNEL =~ "gentoo" ]] && GDK_DPI_SCALE="1.2" firefox "$@"
|
||||
[[ $KERNEL =~ "Darwin" ]] && open -a Firefox\ Nightly "$@"
|
||||
[[ $KERNEL =~ "Darwin" ]] && open -a firefox -u "$2"
|
||||
#[[ $KERNEL =~ "gentoo" ]] && __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 GDK_DPI_SCALE="1.2" firefox "$@"
|
||||
|
||||
# Firefox
|
||||
|
||||
@@ -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,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
FOLDER_AUDIOBOOK="/Volumes/Music/Jellyfin/Playlist-Audiobook"
|
||||
FOLDER_FAV="/Volumes/Music/Jellyfin/Playlist-Fav"
|
||||
FOLDER_DUB="/Volumes/Music/Jellyfin/Playlist-Dub"
|
||||
FOLDER_PIANO="/Volumes/Music/Jellyfin/Playlist-Piano"
|
||||
FOLDER_DUB_SETS="/Volumes/Music/Jellyfin/Playlist-Dub-Sets"
|
||||
|
||||
# Check if folder exists
|
||||
[ ! -d $FOLDER_AUDIOBOOK ] && exit 1
|
||||
[ ! -d $FOLDER_DUB ] && exit 1
|
||||
[ ! -d $FOLDER_FAV ] && exit 1
|
||||
[ ! -d $FOLDER_PIANO ] && exit 1
|
||||
[ ! -d $FOLDER_DUB_SETS ] && exit 1
|
||||
|
||||
# Remove old files
|
||||
rm -rfv $FOLDER_AUDIOBOOK/errors.txt
|
||||
rm -rfv $FOLDER_DUB/errors.txt
|
||||
rm -rfv $FOLDER_FAV/errors.txt
|
||||
rm -rfv $FOLDER_PIANO/errors.txt
|
||||
rm -rfv $FOLDER_DUB_SETS/errors.txt
|
||||
|
||||
# Download new files for DUB
|
||||
cd $FOLDER_DUB || exit 1
|
||||
@@ -41,31 +32,16 @@ spotdl --user-auth --keep-alive \
|
||||
--yt-dlp-args no-check-certificates
|
||||
|
||||
# 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 \
|
||||
$FOLDER_DUB/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Dub
|
||||
|
||||
rsync -h --progress --recursive --ignore-existing \
|
||||
$FOLDER_FAV/* docker-de:/mnt/HC_Volume_34966154/jellifin/media/music/Fav
|
||||
|
||||
rsync -h --progress --recursive --ignore-existing \
|
||||
$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
|
||||
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/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/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
|
||||
ssh docker-de -t 'chown docker-user: /mnt/HC_Volume_34966154/jellifin -R'
|
||||
|
||||
@@ -1,23 +1,13 @@
|
||||
#!/bin/bash
|
||||
~/.local/bin/sidebar-restore-macos
|
||||
open -gj "afp://10.0.0.14/Downloads"
|
||||
sleep 10
|
||||
open -gj "afp://10.0.0.14/Anime"
|
||||
sleep 2
|
||||
open -gj "afp://10.0.0.14/Music"
|
||||
sleep 2
|
||||
open -gj "afp://10.0.0.14/Video"
|
||||
sleep 2
|
||||
open -gj "afp://10.0.0.14/Series"
|
||||
sleep 2
|
||||
open -gj "afp://10.0.0.14/Photos"
|
||||
sleep 2
|
||||
open -gj "afp://10.0.0.14/Backups"
|
||||
sleep 2
|
||||
open -gj "afp://10.0.0.14/Recordings"
|
||||
sleep 2
|
||||
open -gj "afp://10.0.0.14/Work"
|
||||
sleep 2
|
||||
|
||||
/usr/local/bin/mysides add Synology file:///Volumes/Recordings/
|
||||
/usr/local/bin/mysides add Synology file:///Volumes/Backups/
|
||||
@@ -27,4 +17,3 @@ sleep 2
|
||||
/usr/local/bin/mysides add Synology file:///Volumes/Series/
|
||||
/usr/local/bin/mysides add Synology file:///Volumes/Photos/
|
||||
/usr/local/bin/mysides add Synology file:///Volumes/Anime/
|
||||
/usr/local/bin/mysides add Synology file:///Volumes/Work
|
||||
|
||||
@@ -2,4 +2,3 @@
|
||||
KERNEL=$(uname -sr)
|
||||
[[ $KERNEL =~ "icrosoft" ]] && $HOME/.local/bin/wsl-notify "$@"
|
||||
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"
|
||||
[[ $KERNEL =~ "Darwin" ]] && osascript -e "display notification \"$*\""
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
/usr/local/bin/mysides remove all
|
||||
/usr/local/bin/mysides add Home file://"$HOME"/
|
||||
/usr/local/bin/mysides add Git file://"$HOME"/git/
|
||||
/usr/local/bin/mysides add Linux file://"$HOME"/MEGA/Systems/Linux/
|
||||
/usr/local/bin/mysides add Downloads file://"$HOME"/Downloads/
|
||||
# /usr/local/bin/mysides add Aplications file:///Applications/
|
||||
# /usr/local/bin/mysides add Aplications file:///"$HOME"/Applications/
|
||||
/usr/local/bin/mysides add Screenshots file://"$HOME"/Screenshots/
|
||||
/usr/local/bin/mysides add Desktop file://"$HOME"/Desktop/
|
||||
/usr/local/bin/mysides add yorune file:///Users/yorune/
|
||||
/usr/local/bin/mysides add Git file:///Users/yorune/git/
|
||||
/usr/local/bin/mysides add Linux file:///Users/yorune/MEGA/Systems/Linux/
|
||||
/usr/local/bin/mysides add Downloads file:///Users/yorune/Downloads/
|
||||
/usr/local/bin/mysides add Aplikacje file:///Applications/
|
||||
/usr/local/bin/mysides add Pictures file:///Users/yorune/Pictures/
|
||||
/usr/local/bin/mysides add Screenshots file:///Users/yorune/Screenshots/
|
||||
/usr/local/bin/mysides add Movies file:///Users/yorune/Movies/
|
||||
/usr/local/bin/mysides add Desktop file:///Users/yorune/Desktop/
|
||||
|
||||
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
|
||||
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}]}'
|
||||
18
.zshrc
18
.zshrc
@@ -160,25 +160,24 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
||||
alias lsblk="diskutil list"
|
||||
alias Update="$HOME/.local/bin/Update-pkg; brew update; brew upgrade; brew upgrade --greedy; sudo softwareupdate -i -a -R"
|
||||
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 xclip="sed $'s,\x1b\\[[0-9;]*[a-zA-Z],,g' | pbcopy"
|
||||
alias xclip="pbcopy"
|
||||
alias mtr="sudo /opt/homebrew/opt/mtr/sbin/mtr"
|
||||
alias sleep-lid-off="sudo pmset -b sleep 0; sudo pmset -b disablesleep 1"
|
||||
alias sleep-lid-on="sudo pmset -b sleep 5; sudo pmset -b disablesleep 0"
|
||||
alias restart-network-share="sudo pkill -i netauthsysagent"
|
||||
alias streamlink="streamlink --config $HOME/.config/streamlink/config"
|
||||
|
||||
# Terraform
|
||||
export TFENV_ARCH=amd64
|
||||
export TFENVVERSION=$(ls -la /opt/homebrew/Cellar/tfenv/ |
|
||||
grep -iEo '[0-9]+\.[0-9]+\.[0-9]+' |
|
||||
grep -iEo '[0-9]\.[0-9]\.[0-9]' |
|
||||
sort |
|
||||
head -n1)
|
||||
tail -n1)
|
||||
export TFVERSION=$(ls -la /opt/homebrew/Cellar/tfenv/*/versions |
|
||||
grep -iEo '[0-9]+\.[0-9]+\.[0-9]+' |
|
||||
grep -iEo '[0-9]\.[0-9]\.[0-9]' |
|
||||
sort |
|
||||
head -n1)
|
||||
tail -n1)
|
||||
export PATH=$PATH:/opt/homebrew/Cellar/tfenv/$TFENVVERSION/versions/$TFVERSION/
|
||||
|
||||
# Unset browser
|
||||
@@ -225,11 +224,8 @@ alias aria2c="aria2c --seed-time=0 --disable-ipv6 --max-upload-limit=1k"
|
||||
alias irc="ssh mikrus -t 'screen -r'"
|
||||
alias neofetch=fastfetch
|
||||
|
||||
# Zoxide
|
||||
[ -f $(which zoxide) ] && {eval "$(zoxide init zsh)"; alias cd='z'}
|
||||
|
||||
# GoLang
|
||||
alias go-mod="go mod edit -go=$(go version | grep -oE 'go[0-9]*\.[0-9]*\.[0-9]*' | sed 's/go//g'); go get -u; go mod verify; go get -x -v; go mod verify; go mod tidy"
|
||||
alias go-mod="go mod edit -go $(go version | grep -oE 'go[0-9]*\.[0-9]*\.[0-9]*' | sed 's/go//g'); go get -u; go mod verify; go get -x -v; go mod verify; go mod tidy"
|
||||
|
||||
# Resolve problem with - zsh: no matches found
|
||||
setopt +o nomatch
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
refresher:
|
||||
refreshInterval: 60
|
||||
gui:
|
||||
useHunkModeInStagingView: false
|
||||
mainPanelSplitMode: "horizontal"
|
||||
theme:
|
||||
selectedLineBgColor:
|
||||
- "#413660"
|
||||
git:
|
||||
autoFetch: true
|
||||
pagers:
|
||||
- colorArg: always
|
||||
commit:
|
||||
signOff: true
|
||||
pull:
|
||||
mode: "rebase"
|
||||
Reference in New Issue
Block a user