Skip to content

Instantly share code, notes, and snippets.

View kruzyk's full-sized avatar
🕵️‍♂️
a day is too short

Jacek Krużycki kruzyk

🕵️‍♂️
a day is too short
View GitHub Profile
@kruzyk
kruzyk / settings.json
Last active February 26, 2024 04:34
Visual Studio Code settings
{
// WYGLĄD:
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Tomorrow Night Bright Operator Mono",
"workbench.sideBar.location": "right",
"editor.wordWrap": "on",
// "editor.fontFamily": "Operator Mono SSm Lig",
"editor.fontFamily": "Cascadia Code",
"editor.fontLigatures": true,
// "editor.fontWeight": "300", // Light
@kruzyk
kruzyk / mail.html
Created January 17, 2020 15:46
Email code tricks
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<!-- Fix DPI Scaling Issues in Outlook -->
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
@kruzyk
kruzyk / yarn.md
Created May 4, 2021 20:04
Useful aliases for Yarn

Basic Commands

alias y="yarn"
alias yi="yarn init -y"

Install And Remove Packages

@kruzyk
kruzyk / using-nvda-in-a-windows-vm-on-mac.md
Last active February 14, 2022 21:38 — forked from robertknight/using-nvda-in-a-windows-vm-on-mac.md
Testing the Windows screenreader NVDA on a Mac

How to test NVDA screen reader behaviour on a Mac:

  1. Download Microsoft Edge VM from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
  2. Download Virtualbox and import the Edge VM image.

Then in the VM:

  1. Install guest addons in the VM
  2. Download & install latest NVDA from nvaccess.org
  3. Download & install SharpKeys and use it to map left an alternative key (eg. Left Ctrl) to the Insert key. This is needed because Macs do not typically have an “Insert” key which is the prefix for many NVDA commands.
@kruzyk
kruzyk / move-stashes.md
Created January 9, 2024 23:51 — forked from alexeds/move-stashes.md
Move your stashes from one repo to another

Move your stashes from one repo to another


This was useful for me when we created a new branch for a new major release, but were still working on our current version as well. I cloned our repo again and kept the new project on our new branch, but also wanted to get my stashes there.

Download your stashes

git stash show -p > patch

You'll have to specify your stash and name your file whatevery you want. Do this for as all your stashes, and you'll have patch files in your pwd.