From 97958f7fc69bca9f48335b0a4536efbb622d4c7f Mon Sep 17 00:00:00 2001 From: Joe Lillibridge Date: Thu, 17 Oct 2024 17:28:50 -0500 Subject: [PATCH] Initial commit --- .config/filezilla/filezilla.xml | 236 ++++++++++++++++++++++++++ .config/filezilla/layout.xml | 12 ++ .config/filezilla/lockfile | 0 .config/filezilla/queue.sqlite3 | Bin 0 -> 40960 bytes .config/filezilla/recentservers.xml | 41 +++++ .config/filezilla/sitemanager.xml | 81 +++++++++ .config/filezilla/trustedcerts.xml | 7 + .config/htop/htoprc | 53 ++++++ .config/iterm2/AppSupport | 1 + .config/op/config | 6 + .config/op/plugins.sh | 2 + .config/op/plugins/gh.json | 15 ++ .config/op/plugins/used_items/gh.json | 1 + .config/starship.toml | 9 + .zshrc | 52 ++++++ 15 files changed, 516 insertions(+) create mode 100644 .config/filezilla/filezilla.xml create mode 100644 .config/filezilla/layout.xml create mode 100644 .config/filezilla/lockfile create mode 100644 .config/filezilla/queue.sqlite3 create mode 100644 .config/filezilla/recentservers.xml create mode 100644 .config/filezilla/sitemanager.xml create mode 100644 .config/filezilla/trustedcerts.xml create mode 100755 .config/htop/htoprc create mode 120000 .config/iterm2/AppSupport create mode 100644 .config/op/config create mode 100644 .config/op/plugins.sh create mode 100644 .config/op/plugins/gh.json create mode 100644 .config/op/plugins/used_items/gh.json create mode 100644 .config/starship.toml create mode 100644 .zshrc diff --git a/.config/filezilla/filezilla.xml b/.config/filezilla/filezilla.xml new file mode 100644 index 0000000..9015296 --- /dev/null +++ b/.config/filezilla/filezilla.xml @@ -0,0 +1,236 @@ + + + + 1 + 0 + 6000 + 7000 + 0 + 0 + + http://ip.filezilla-project.org/ip.php + + 1 + 0 + 20 + 0 + 0 + 1 + 2 + 5 + 0 + 1000 + 100 + 0 + 0 + 0 + 0 + 4194304 + 262144 + 0 + 0 + + + + + + 0 + 0 + + 0 + + + + 10 + 0 + 1 + 1 + 15 + 600 + 2 + 0 + + 0 + 0 + ac|am|asp|bat|c|cfm|cgi|conf|cpp|css|dhtml|diff|diz|h|hpp|htm|html|in|inc|java|js|jsp|lua|m4|mak|md5|nfo|nsh|nsi|pas|patch|pem|php|phtml|pl|po|pot|py|qmail|sh|sha1|sha256|sha512|shtml|sql|svg|tcl|tpl|txt|vbs|xhtml|xml|xrc + 1 + 1 + 1 + 1 + 7 + 0 + + 2 + + 0 + 0 + 0 + 0 + 0 + 0 + + + 1 + 1 + 0 + 0 + 0 + 1 + 0 + + + 1 + 1 + + 0 + + 1 + default + 125 + 0 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + + + 0 + + 1 + 1 + + 1 + _ + 0 + + 0 + 0 + 0 + 0 + 0 + 1 + + 0 + 0 + 0 + 0 + 1111 + 111111 + 0,1,2,3 + 0,1,2,3,4,5 + 0 0 + 0 0 + 97 -245 500000000 255 255 500000000 + 3.63.1 + 401 60 514 80 60 150 + 2024-02-06 21:08:38 + nightly 2024-02-06 https://filezilla-project.org/nightlies/2024-02-06/x86_64-apple-darwin18.2.0/FileZilla3.app.tar.bz2 15239090 sha512 7208ba21df6e9e29be4c226563fb6857073bf44cb17e2fe5af985e21ef65d2b70c04a8e9b118d95a122186760b9a8a1101578ef546c3e823f2cdb18c3b9e02cc sig:UQIfBuD4xOgNok6ZlgVv+Z4sDaS3tFa2ertX45ZlrxNXnBPBa+9SOignFyGX4l+sD6arzlRyei0Ca4Ev2sLcCA +release 3.66.4 https://dl3.cdn.filezilla-project.org/FileZilla_3.66.4_macos-x86.app.tar.bz2 15223579 sha512 42db8765b9929863f35119d0e873b88c671bfeeb52f7cce50bb59ac475d2465bcf6734105b488369428666a95779d7de2ed9154bf5eb81bc355800026af7d313 sig:WWZOJG1EEdOhFzihzcEn6Q0Sq1bacE+ULs0zY2i7/cRbc7fjTHEdr1eXV0E30j33L7y/7WuTUM2GlEN4ctpTAA + +3.66.4 (2023-12-20) + +! SFTP: Address Terrapin protocol vulnerability + +3.66.3-rc1 (2023-12-11) + +- Test release for macOS CPU architecture migration + +3.66.3-beta1 (2023-12-07) + ++ macOS: Now also distributing aarch64 binaries +- macOS: Fixes for language detection +- Fixed a potential crash in the HTTP client + +3.66.1 (2023-11-03) + +- macOS: Fixed display of local filenames containing non-ASCII characters if LC_CTYPE wasn't set + +3.66.0 (2023-10-23) + +- Fixed a sorting issue in comparative search + +3.66.0-rc1 (2023-10-11) + +- Fixed crash removing items from the list of file extensions treated as text files +- Fixed potental crash if shutting down HTTP client. +- Fixed HTTP timeouts + +3.65.0 (2023-07-10) + ++ Comparative search can now also be used if sorted by path +- Fixed an issue in comparative search in directories with uppercase letters + +3.65.0-rc1 (2023-06-30) + +- Fixed potential crashes +- Updated to libfilezilla 0.44.0 + +3.64.0 (2023-04-26) + +- Fixed refresh of directory trees when filters changing +- Updated to libfilezilla 0.42.2 + +3.64.0-rc1 (2023-04-13) + +- MSW: Additional icon sizing fixes on high DPI scale factors +- Updated to libfilezilla 0.42.0 +- Switched to .tar.xz for source tarballs + +3.63.2.1 (2023-03-03) + +- macOS: Several rendering fixes in dark mode +- macOS: Disable automatic quote/dash substitution in text input fields +- MSW: Fixed an issue with Drag&Drop to Explorer on systems that use shortened 8.3 pathnames in environment variables +- MSW: If FileZilla was installed for current user only, updating with the installer now skips the UAC prompt +- Updated to libfilezilla 0.41.1 to fix a rare crash +- Official binaries are now built againt GnuTLS 3.8.0 + + 10000000 + 3.66.4 + 194 83 80 100 80 85 + 0/Povert.org + 0 421 296 1076 446 + 0 359 35 1200 903 + 218 80 120 120 + + + + povert.org + 22 + 1 + 0 + jlillibridge + TDY3d1dGckoyUDdmNDM2TVc3OE03S0pNYQ== + 1 + Auto + 0 + Povert.org + 0/Povert.org + 1 0 4 home 12 jlillibridge 22 beta.flappingcrane.com + /Volumes/One Touch/Defunct Websites/Flapping Crane/images.flappingcrane.com/ + + + brownsmead.dreamhost.com + 21 + 0 + 0 + flappingcrane + cnY9RFIuRkdtNHU2dlorTT9BVTdrZmROODQ4UClzVg== + 1 + MODE_DEFAULT + Auto + 0 + Flapping Crane + 0/Flapping Crane + 1 0 21 svn.flappingcrane.com + /Volumes/One Touch/Defunct Websites/Flapping Crane/ + + + + + diff --git a/.config/filezilla/layout.xml b/.config/filezilla/layout.xml new file mode 100644 index 0000000..a2d08b7 --- /dev/null +++ b/.config/filezilla/layout.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/.config/filezilla/lockfile b/.config/filezilla/lockfile new file mode 100644 index 0000000..e69de29 diff --git a/.config/filezilla/queue.sqlite3 b/.config/filezilla/queue.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..9096ff42cc266422c52d205a532f7550233cbf90 GIT binary patch literal 40960 zcmeHQ3v^u7b$#>ZuX&%bjcrLD*&`ca%eExjvSbS^Y$F?E@E>e2!Pv4a*|IHJ*2h0= zV4eagpQO+xD``TZC6qQT&8MX+X_GVwT}>gSErG0*hBp1Irp*TmB&;M5KHYncp5L7} zGr}YR+iN}9GkY|1&b{aEbI-l+-MRPZ>dotVhr6>qhX(sPhqKLES__4=71^w&Y1MdC z;NkulcoA`b0qS@pl;2CetkxO_A2jhvEcSiP_zR;l*_RlOkKmW!Ctx68AYdS1AYkA< zU?5i!i`TZ-hH`DaTEDhO>(-8GLwFw4j^v+rYTo-jczqD>4r%cYZHu;ATd7@x=d89? z+n}w&tLyN(oN`v%2&t^*6_VBF6iC-=xsy>C(;gZP4Qrj+?tEo~sIX5vqzwaiY6EzG zSlb7^a_`3qO}hq0UZ$h%Wp5jK5L+Y5XSP z`A}Zc9omO9eZ0z5wRb~WNDOO@c+Hj4Df{!wZU^(vyYUtm@wtE+E?iAqiPbo+)NCqI z#saOWh3P7AuV)ICLC@LmEQP-O##((A?y-TUux(&MoLXyMQwZ z-0Q&|7TodCnBNm}1h^l2CZEA5Rup{MJdCD3nB^ws)AF20=gw2oU3 z`)fC>od{>gE2PJw;rlCb7*6 zd~GhJC-o#6>6<3Vt9_swC3AO>w3Lw{y8??_+VL{&Z1mYVp1#yOf3}`(avGqg#-Xd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wMTk= + 1 + MODE_DEFAULT + Auto + 0 + + + 192.168.4.153 + 21 + 0 + 0 + xbox + eGJveA== + 1 + MODE_DEFAULT + Auto + 0 + + + diff --git a/.config/filezilla/sitemanager.xml b/.config/filezilla/sitemanager.xml new file mode 100644 index 0000000..68130b3 --- /dev/null +++ b/.config/filezilla/sitemanager.xml @@ -0,0 +1,81 @@ + + + + + brownsmead.dreamhost.com + 21 + 0 + 0 + billsbotshop + cEZ9SE1GMkc3ZmRvWFdBYnk0d04= + 1 + MODE_DEFAULT + Auto + 0 + Bill's Bot Shop + 0 + 0 + + + brownsmead.dreamhost.com + 21 + 0 + 0 + flappingcrane + cnY9RFIuRkdtNHU2dlorTT9BVTdrZmROODQ4UClzVg== + 1 + MODE_DEFAULT + Auto + 0 + Flapping Crane + 0 + 0 + + + 192.168.4.157 + 21 + 6 + 0 + fwonkas + dHhRNHNwMTk= + 1 + MODE_PASSIVE + 1 + Auto + 0 + MemCard Pro + 0 + 0 + + + povert.org + 22 + 1 + 0 + jlillibridge + TDY3d1dGckoyUDdmNDM2TVc3OE03S0pNYQ== + 1 + Auto + 0 + Povert.org + 0 + 0 + + + 192.168.5.94 + 21 + 6 + 0 + xbox + eGJveA== + 1 + MODE_DEFAULT + Auto + 0 + Xbox + 2 + 0 + 0 + + + diff --git a/.config/filezilla/trustedcerts.xml b/.config/filezilla/trustedcerts.xml new file mode 100644 index 0000000..01bae50 --- /dev/null +++ b/.config/filezilla/trustedcerts.xml @@ -0,0 +1,7 @@ + + + + 192.168.4.157 + 192.168.5.94 + + diff --git a/.config/htop/htoprc b/.config/htop/htoprc new file mode 100755 index 0000000..3570e52 --- /dev/null +++ b/.config/htop/htoprc @@ -0,0 +1,53 @@ +# Beware! This file is rewritten by htop when settings are changed in the interface. +# The parser is also very primitive, and not human-friendly. +htop_version=3.3.0 +config_reader_min_version=3 +fields=0 48 17 18 38 39 2 46 47 49 1 +hide_kernel_threads=1 +hide_userland_threads=0 +hide_running_in_container=0 +shadow_other_users=0 +show_thread_names=0 +show_program_path=1 +highlight_base_name=0 +highlight_deleted_exe=1 +shadow_distribution_path_prefix=0 +highlight_megabytes=1 +highlight_threads=1 +highlight_changes=0 +highlight_changes_delay_secs=5 +find_comm_in_cmdline=1 +strip_exe_from_cmdline=1 +show_merged_command=0 +header_margin=1 +screen_tabs=1 +detailed_cpu_time=0 +cpu_count_from_one=0 +show_cpu_usage=1 +show_cpu_frequency=0 +update_process_names=0 +account_guest_in_cpu_meter=0 +color_scheme=0 +enable_mouse=1 +delay=15 +hide_function_bar=0 +header_layout=two_50_50 +column_meters_0=LeftCPUs Memory Swap +column_meter_modes_0=1 1 1 +column_meters_1=RightCPUs Tasks LoadAverage Uptime +column_meter_modes_1=1 2 2 2 +tree_view=0 +sort_key=46 +tree_sort_key=0 +sort_direction=-1 +tree_sort_direction=1 +tree_view_always_by_pid=0 +all_branches_collapsed=0 +screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command +.sort_key=PERCENT_CPU +.tree_sort_key=PID +.tree_view_always_by_pid=0 +.tree_view=0 +.sort_direction=-1 +.tree_sort_direction=1 +.all_branches_collapsed=0 diff --git a/.config/iterm2/AppSupport b/.config/iterm2/AppSupport new file mode 120000 index 0000000..2aef17b --- /dev/null +++ b/.config/iterm2/AppSupport @@ -0,0 +1 @@ +/Users/joelillibridge/Library/Application Support/iTerm2 \ No newline at end of file diff --git a/.config/op/config b/.config/op/config new file mode 100644 index 0000000..150f856 --- /dev/null +++ b/.config/op/config @@ -0,0 +1,6 @@ +{ + "latest_signin": "", + "device": "u3mdb4jcbsjzlwk3eqgpu4v2pa", + "accounts": null, + "system_auth_latest_signin": "BYYOB6K4HBFMFCF5AIM3QBSPU4" +} \ No newline at end of file diff --git a/.config/op/plugins.sh b/.config/op/plugins.sh new file mode 100644 index 0000000..e78acdd --- /dev/null +++ b/.config/op/plugins.sh @@ -0,0 +1,2 @@ +export OP_PLUGIN_ALIASES_SOURCED=1 +alias gh="op plugin run -- gh" diff --git a/.config/op/plugins/gh.json b/.config/op/plugins/gh.json new file mode 100644 index 0000000..86ed46c --- /dev/null +++ b/.config/op/plugins/gh.json @@ -0,0 +1,15 @@ +{ + "account_id": "AJSH6TPA6ZBVTCRFM2I4OYHZKI", + "entrypoint": [ + "gh" + ], + "credentials": [ + { + "plugin": "github", + "credential_type": "personal_access_token", + "usage_id": "personal_access_token", + "vault_id": "z25kkac6y36e3xjwsv4udejati", + "item_id": "vqvqhr7oxrcdhh7iqgozlgrjom" + } + ] +} \ No newline at end of file diff --git a/.config/op/plugins/used_items/gh.json b/.config/op/plugins/used_items/gh.json new file mode 100644 index 0000000..8e51df0 --- /dev/null +++ b/.config/op/plugins/used_items/gh.json @@ -0,0 +1 @@ +[{"account_id":"AJSH6TPA6ZBVTCRFM2I4OYHZKI","vault_id":"z25kkac6y36e3xjwsv4udejati","item_id":"vqvqhr7oxrcdhh7iqgozlgrjom"}] \ No newline at end of file diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..866aecd --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,9 @@ +# Get editor completions based on the config schema +"$schema" = 'https://starship.rs/config-schema.json' + +# Inserts a blank line between shell prompts +add_newline = true + +# Replace the '❯' symbol in the prompt with '➜' +# [character] # The name of the module we are configuring is 'character' +# success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green' diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..5dcdbd6 --- /dev/null +++ b/.zshrc @@ -0,0 +1,52 @@ +# shell options +setopt auto_cd + +# aliases +alias ls="ls -F" +alias bv="brew-visit" +alias bi="brew info" +alias bs="brew search" +[[ "$(command -v bat)" ]] && alias cat="bat" +[[ "$(command -v htop)" ]] && alias top="htop" + +# environment variables +export CLICOLOR=1 +# export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/opt/homebrew/share/zsh-syntax-highlighting/highlighters + +fd() { + local dir + dir=$(find ${1:-.} -path '*/\.*' -prune \ + -o -type d -print 2> /dev/null | fzf +m) && + cd "$dir" +} + +# Open the finder to a specified path or to current directory. +f() { + # DESC: Opens the Finder to specified directory. (Default is current oath) + # ARGS: $1 (optional): Path to open in finder + # REQS: MacOS + # USAGE: f [path] + open -a "Finder" "${1:-.}" +} + +ql() { + # DESC: Opens files in MacOS Quicklook + # ARGS: $1 (optional): File to open in Quicklook + # USAGE: ql [file1] [file2] + qlmanage -p "${*}" &>/dev/null +} + +brew-visit() { + open -a Safari `brew info "${1}" | grep ^http | head -1` +} + +autoload -Uz compinit +compinit + +source <(fzf --zsh) +[ -f ~/.config/op/plugins.sh ] && source ~/.config/op/plugins.sh +[ -f /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ] && source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +[ -f /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh ] && source /opt/homebrew/share/zsh-autosuggestions/zsh-autosuggestions.zsh +[ -e "${HOME}/.iterm2_shell_integration.zsh" ] && source "${HOME}/.iterm2_shell_integration.zsh" + +eval "$(starship init zsh)"