Zeilenenden in Windows VSCode auf Unix umstellen

„files.eol“: „\n“ How to make all line endings (EOLs) in all files in Visual Studio Code, UNIX like? How to make all line endings (EOLs) in all files in Visual Studio Code, UNIX like? I use Windows 10 home and I usually use Visual Studio Code (VSCODE) to edit Linux Bash scripts as well as […]

Git SSH Mac Config

In ~/.ssh/config, add: host github.com HostName github.com IdentityFile ~/.ssh/id_rsa_github User git

Git // Alle geänderten Dateien für Zeitraum anzeigen

git log –since 2020-05-17 –pretty=“short“ –name-only

[Chrome] Registrierte EventListener anzeigen

Alle registrierten EventListener anzeigen lassen Array.from(document.querySelectorAll(‚*‘)) .reduce(function(pre, dom){ var evtObj = getEventListeners(dom) Object.keys(evtObj).forEach(function (evt) { if (typeof pre[evt] === ‚undefined‘) { pre[evt] = 0 } pre[evt] += evtObj[evt].length }) return pre }, {}) Nur die registrierten Klick-Listener anzeigen lassen Array.from(document.querySelectorAll(‚*‘)) .reduce(function(pre, dom){ var clks = getEventListeners(dom).click; pre += clks ? clks.length || 0 : 0; […]

Windows // Globaler Git-SSH Key

If you use „Git for Windows“ >cd c:\Program Files\Git\etc\ssh\ add to ssh_config following: AddKeysToAgent yes IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa_test ps. you need ssh version >= 7.2 (date of release 2016-02-28) WICHTIG: Über Putty-Keygen muss der Private-Key über Conversions > Export OpenSSH Key (force new file format) exportiert werden

Finder neustarten

Hold down the OPTION key and right-click on the Finder icon in the Dock, choose “Relaunch”

Mac VSCode aus Finder starten

– Open Automator – File -> New -> Service – Change „Service Receives“ to „files or folders“ in „Finder“ – Add a „Run Shell Script“ action – Change „Pass input“ to „as arguments“ – Paste the following in the shell script box: open -n -b „com.microsoft.VSCode“ –args „$*“ – Save it as something like „Open […]

Mac Excel PDF als ganze Seite exportieren

https://support.office.com/de-de/article/drucken-eines-blatts-auf-nur-einer-seite-in-excel-f%C3%BCr-mac-30be3beb-d646-4925-a4a9-8ed32a4f6460

VSCode Dateimaske

In VSCode z.B. nach PHP-Dateien im Unterverzeichnis webroot rekursiv suchen. ./webroot/**/*.php

ShrewVPN auf Mac installieren

Das Problem ist einen Client der für macOS > Catalina geeignet ist ohne Homebrew zu installieren Download: https://www.amft-it.de/dist/macos/ShrewSoftVPNClient-2.1.1_macOS_Oct2017.pkg Wichtig! Den Shrew Soft Access Manager nutzen, nicht den Shrew Soft VPN Client Connect! Source: kb.amft-it.de/doku.php?id=kb-macos:shrewvpnclient-download