From 08dc2a5977b6d84a02eeadca95d52c91bda17760 Mon Sep 17 00:00:00 2001 From: Jonathan Wyss Date: Tue, 8 Oct 2024 16:26:34 +0200 Subject: [PATCH 1/5] Add workaround script when vdirsyncer bugs out on changes --- caldav-workaround.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 caldav-workaround.sh diff --git a/caldav-workaround.sh b/caldav-workaround.sh new file mode 100644 index 0000000..e92ff6d --- /dev/null +++ b/caldav-workaround.sh @@ -0,0 +1,17 @@ +CALDIR=$HOME/.calendars +file=$CALDIR/$1 +set +o history + + +echo "calendar/file.ics PW\n" +echo $file +echo "insert PW for caldav:" +read -s $pw +curl --verbose --user j.wyss@kolabnow.ch:$pw -X PUT \ + "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1"\ + -H "Content-Type:text/calendar, If-Match: 'af036eb5632652ce-931-d41d8cd98f00b204'" \ + -T $file + +echo "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1" + +set -o history From 7b6df7cb89a0a2af11ae64f9698ac8a39707a529 Mon Sep 17 00:00:00 2001 From: Jonathan Wyss Date: Tue, 8 Oct 2024 16:37:36 +0200 Subject: [PATCH 2/5] fix wrong using of $var instead of var remove unused header --- caldav-workaround.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/caldav-workaround.sh b/caldav-workaround.sh index e92ff6d..7f9109e 100644 --- a/caldav-workaround.sh +++ b/caldav-workaround.sh @@ -6,10 +6,11 @@ set +o history echo "calendar/file.ics PW\n" echo $file echo "insert PW for caldav:" -read -s $pw +read -s pw +echo $pw curl --verbose --user j.wyss@kolabnow.ch:$pw -X PUT \ "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1"\ - -H "Content-Type:text/calendar, If-Match: 'af036eb5632652ce-931-d41d8cd98f00b204'" \ + -H "Content-Type:text/calendar" \ -T $file echo "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1" From 1464f5a1e352fa5ad61df75a865cd96e2d443cb1 Mon Sep 17 00:00:00 2001 From: Jonathan Wyss Date: Tue, 8 Oct 2024 16:39:33 +0200 Subject: [PATCH 3/5] remove spaces remove potential leak remove wrong cmd echo --- caldav-workaround.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/caldav-workaround.sh b/caldav-workaround.sh index 7f9109e..23f2277 100644 --- a/caldav-workaround.sh +++ b/caldav-workaround.sh @@ -1,18 +1,14 @@ CALDIR=$HOME/.calendars file=$CALDIR/$1 set +o history - - -echo "calendar/file.ics PW\n" +echo "calendar/file.ics\n" echo $file echo "insert PW for caldav:" read -s pw -echo $pw curl --verbose --user j.wyss@kolabnow.ch:$pw -X PUT \ "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1"\ -H "Content-Type:text/calendar" \ -T $file echo "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1" - set -o history From ee869819e4ace110d5640271519755fee1c632f0 Mon Sep 17 00:00:00 2001 From: ccppi Date: Fri, 8 Nov 2024 07:42:40 +0000 Subject: [PATCH 4/5] Upload files for windows chocolatey --- Windows/debloater.txt | 37 +++++++++++++++++++++++++++++++++++++ Windows/windoof-entry.ps1 | 17 +++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 Windows/debloater.txt create mode 100644 Windows/windoof-entry.ps1 diff --git a/Windows/debloater.txt b/Windows/debloater.txt new file mode 100644 index 0000000..35b9e35 --- /dev/null +++ b/Windows/debloater.txt @@ -0,0 +1,37 @@ +https://github.com/ChrisTitusTech/winutil +https://github.com/Raphire/Win11Debloat + +Install Windows Terminal + +install chocolatey + - Run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process. + - Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) + +install better powershell +- choco install powershell-core +- restart winterminal +- choose powershell from dropdown + +install git and nvim +- choco install git +- chco install nvim +- restart winterminal + +get debloat repo: + +cd Documents/ +mkdir .git +cd .git +git clone https://github.com/Raphire/Win11Debloat +cd Win11Debloat + +edit Applist.txt +- nvim Applist.txt + +run ./win11debloat.?? + +restart windows + +remove dev dependencies +remove .git repos + diff --git a/Windows/windoof-entry.ps1 b/Windows/windoof-entry.ps1 new file mode 100644 index 0000000..3e562fb --- /dev/null +++ b/Windows/windoof-entry.ps1 @@ -0,0 +1,17 @@ +Set-ExecutionPolicy AllSigned -Scope Process +Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) +choco install git +cd ~ +mkdir debloater +cd debloater +powershell +git clone https://github.com/Raphire/Win11Debloat +cd Win11Debloat +.\Win11Debloat.ps1 + + +############# +alternate method: +& ([scriptblock]::Create((irm "https://win11debloat.raphi.re/"))) +& ([scriptblock]::Create((irm "https://win11debloat.raphi.re/"))) -RunDefaults -RemoveApps -ClearStartAllUsers -DisableTelemetry -DisableCopilot -DisableRecall -Silent +& ([scriptblock]::Create((irm "https://win11debloat.raphi.re/"))) -RunDefaults -RemoveApps -ClearStartAllUsers -DisableTelemetry -DisableCopilot -DisableRecall -RemoveGamingApps -ForceRemoveEdge -DisableDVR -ClearStart -DisableBing -DisableSuggestions -DisableLockscreenTips -DisableWidgets -Silent From b0eb834d89e82c4669e5b2135018f12cb0a40b37 Mon Sep 17 00:00:00 2001 From: ccppi Date: Fri, 8 Nov 2024 07:59:23 +0000 Subject: [PATCH 5/5] Add nvim/init.lua --- nvim/init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nvim/init.lua diff --git a/nvim/init.lua b/nvim/init.lua new file mode 100644 index 0000000..e0d4cac --- /dev/null +++ b/nvim/init.lua @@ -0,0 +1,8 @@ +require 'lspconfig'.clangd.setup{} +vim.g.zig_fmt_autosave = 0 +vim.cmd("set number") +vim.cmd("set tabstop=4") +vim.cmd("set softtabstop=4") +vim.cmd("set expandtab") +vim.cmd("set shiftwidth=4") +vim.cmd("set ttyfast") \ No newline at end of file