#DevComrade
#TIL: degit - clone a GitHub repo without all the history, from the creators of Svelte: https://www.npmjs.com/package/degit

For example:

npx degit postprintum/devcomrade
degit
Straightforward project scaffolding. Latest version: 2.8....
www.npmjs.com
November 18, 2024 at 7:57 PM
November 18, 2024 at 10:53 PM
Do you often copy/paste code into a command line/blog post/email, and use Windows Notepad or Win+R as a buffer? I've just open-sourced a little utility to make this task a bit easier:
https://github.com/postprintum/devcomrade
GitHub - postprintum/devcomrade: DevComrade - A copy/past...
DevComrade - A copy/paste/run productivity improvement ut...
github.com
November 18, 2024 at 9:58 PM
Pasting plain text by default systemwide in @Windows is here:
https://github.com/postprintum/devcomrade
Just got some spare time to add this feature. It uses Windows Clipboard Monitoring API to watch for and replace rich formatting with plain text. Should work with any app. Testers...
GitHub - postprintum/devcomrade: DevComrade - A copy/past...
DevComrade - A copy/paste/run productivity improvement ut...
github.com
November 18, 2024 at 9:36 PM
Got some spare time to update DevComrade to .NET 5.0 and fix a sporadic clipboard monitor initialization issue. So far so good! https://github.com/postprintum/devcomrade

#dotnet #Windows #productivity
GitHub - postprintum/devcomrade: DevComrade - A copy/past...
DevComrade - A copy/paste/run productivity improvement ut...
github.com
November 18, 2024 at 9:36 PM
Building a basic self-contained & trimmed .NET 5 WinForms app (https://github.com/postprintum/devcomrade) produced a 60MB exe - not bad at all, I think.
FWIW, the build took ~3 min on my 9gen Intel Core i7 / 16MB laptop.
#dotnet https://twitter.com/noseratio/status/1399923276562927617
November 18, 2024 at 8:49 PM
A little nice feature I've just added to DevComrade:

• Pasting without spaces

If you've ever been bitten by a "clever" input validation logic, while trying to paste a credit card or a bank account number, you might find this useful:
https://github.com/postprintum/devcomrade
November 18, 2024 at 8:23 PM
If you've ever struggled with formatting while pasting something into #MicrosoftTeams chats, you may want to try a new feature of #DevComrade: https://github.com/postprintum/devcomrade#what-is-it

Win+Ctrl+Ins now converts the Clipboard text into
text
HTML. Then just...
November 18, 2024 at 7:57 PM
Fixed a few minor #DevComrade bugs and made the default keyboard bindings a bit more consistent (imho).
If anyone's using it, consider updating: https://github.com/postprintum/devcomrade#what-is-it
November 18, 2024 at 7:57 PM
ICYMI, #Windows11 now has a hidden gem, "paste as plain text" inside the Win+V dialog. I did have to use mouse to get to it, but at least it's there.

Hopefully, soon they'll figure out how to attach a global hotkey to it, and my #DevComrade app will become mostly redundant.
November 18, 2024 at 6:42 PM
Updated #DevComrade to use .NET 6 GA, probably the easiest runtime version migration I've ever done: https://github.com/postprintum/devcomrade

Looking forward for trimming to work properly with .NET 7 #WinForms :)

#dotnet #csharp #dotnet6
GitHub - postprintum/devcomrade: DevComrade - A copy/past...
DevComrade - A copy/paste/run productivity improvement ut...
github.com
November 18, 2024 at 6:19 PM
#TIL, quickly generate GUID from a Terminal prompt and put it into clipboard (Windows):

pwsh -c "[guid]::NewGuid().ToString() | clip"

Then I recalled I have "Insert Guid" in #DevComrade (Win+F10, G) 😅
November 18, 2024 at 3:13 PM
I was just asked to "deprecate" a little side project of mine, because #PowerToys has now implemented a similar feature. I don't even know what to say 😂
https://github.com/postprintum/devcomrade/issues/42
November 18, 2024 at 2:31 PM