- "Let's start with region." → Ireland
- "Is this the right keyboard?" → United States-International
- "Set up for personal use."
- Offline account → Limited experience → "Kristian" → "********"
- Enter nonsense for the security questions
- Skip Windows Hello
- Don't use online speech recognition
- No location, no Find My Device
- Send only required diagnostic data to Microsoft
- No, no and no
- Support and Protection → Next → ⍻ My info is correct → Next
Wait for the setup to finish.
⊞→ "update" → Check for new updates and install- Reboot
- Boot →
F2→- System Configuration →
- Keyboard Backlight Timeout on AC → Never
- Keyboard Backlight Timeout on Battery → 5 minutes
- POST Behavior →
- Fn Lock Options → Lock Mode Disable/Standard
- System Configuration →
- Apply → ⍻ Save as Custom User settings → OK → Exit
- About →
- Rename this PC → ENKIDU
- Advanced system settings → Environment Variables… → System variables → Path → Edit… → New →
C:\bin→ OK → OK
- Taskbar → Taskbar location on screen → Right
- Taskbar → Show taskbar on all displays → Off
- System → Focus Assist:
- When I'm duplicating my display → Off
- When I'm playing a game → Off
- When I'm using an app in full screen mode → Off
- System → Power & Sleep →
- On battery power, PC goes to sleep after → 10 minutes
- When plugged in, PC goes to sleep after → Never
- Language → English (Ireland) → Options →
- Add a keyboard → United States-International QWERTY
- Irish QWERTY → Remove
- Language → English (US) →
↓→ Remove - Typing:
- Autocorrect misspelled words → Off
- Highlight misspelled words → Off
- Show text suggestions … → Off
- Add a space after … → Off
- Add a period after … → Off
- Typing insights → Off
- Advanced keyboard settings →
- Language bar options → Language bar → Hidden
- Input language hot keys → Between input languages → Change Key Sequence → Not Assigned / Not Assigned
⊞x→ Windows PowerShell (Admin) →
New-Item -Path C: -Name bin -ItemType Directory
New-Item -Path C: -Name src -ItemType Directory
$hexified = "00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00".Split(',') | % { "0x$_"};
$kbLayout = 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout';
New-ItemProperty -Path $kbLayout -Name "Scancode Map" -PropertyType Binary -Value ([byte[]]$hexified);
$bingSearch = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Search';
New-ItemProperty -Path $bingSearch -Name "BingSearchEnabled" -PropertyType DWord -Value 0Reboot.
⊞e→ File → Change folder and search options → View → Advanced settings:- ✓ Display the full path in the title bar
- ✓ Show hidden files, folders and drives
- ⍻ Hide empty drives
- ⍻ Hide extensions for known file types
- https://www.7-zip.org/ → Download x64 .exe → Install
- https://www.nerdfonts.com/font-downloads → Fira Code Nerd Font → Download → extract to %TEMP%
- Install the following four fonts for all users:
- Fira Code Bold Nerd Font Complete Windows Compatible
- Fira Code Light Nerd Font Complete Windows Compatible
- Fira Code Medium Nerd Font Complete Windows Compatible
- Fira Code Regular Nerd Font Complete Windows Compatible
- http://mozilla.org/en-US/firefox/download/thanks/
about:preferences→ General:- ✓ Restore previous session
- Make Default…
- ⍻ Ctrl+Tab cycles through tabs in recently used order
- Fonts and Colors → Advanced… →
- Proportional → Sans Serif
- Sans-serif → Bahnschrift
- Monospace → FiraCode NF → 14
- ⍻ Check your spelling as you type
- ✓ Always ask you where to save files
about:preferences→ Home:- Homepage and new windows → Blank Page
- New tabs → Blank Page
about:preferences→ Search:- Default search engine → DuckDuckGo
- ⍻ Provide search suggestions
- (Remove all other search engines)
about:preferences→ Privacy & Security:- Enhanced Tracking Protection → Strict
- Send websites a "Do Not Track" signal … → Always
- ⍻ Ask to save logins and passwords for websites
- Address bar → ⍻ Top sites
- HTTPS-Only Mode → Enable HTTPS-Only Mode in all windows
- https://addons.mozilla.org/firefox/addon/facebook-container/ → Add to Firefox
- https://addons.mozilla.org/firefox/addon/ublock-origin/ → Add to Firefox
- Settings → Filter lists → Regions, languages → ✓
DEU, ✓NOR, DNK, ISL→ Update now
- Settings → Filter lists → Regions, languages → ✓
- https://addons.mozilla.org/firefox/addon/utm-tracking-token-stripper/ → Add to Firefox
- https://addons.mozilla.org/firefox/addon/keefox/ → Add to Firefox
- Kee → Options →
- When Kee chooses a matching login for a standard form, Kee should → Do nothing
- ⍻ Offer to save passwords
- Pinned tabs:
- https://store.steampowered.com/about → Download → install with defaults
- https://www.google.com/drive/download → Drive for desktop → Learn more → follow the instructions to install
Portable version in Google Drive, run at startup:
C:\Users\Kristian\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup→ New → Shortcut →"G:\My Drive\KeepAss\bin\KeePass.exe"
⚠️ Using Edge: https://www.microsoft.com/en-ww/microsoft-teams/download-app → Download for desktop- Install → Sign in to this app only
- Settings → General →
- Theme → Dark
- ⍻ Auto-start application
- ✓ Open application in background
- App language → English (Ireland)
- Settings → Privacy → ⍻ Surveys
- Settings → Notifications → Missed activity emails → Off
- https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns and https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer → download and extract to
C:\Windows\system32\ - Start
procexp.exe→ Options- ✓ Replace Task Manager
- ✓ Hide When Minimized
- ✓ Allow Only One Instance
- Go to https://github.com/PowerShell/PowerShell#get-powershell to download and install the stable x64 msi.
- Install Windows Terminal from the Microsoft Store
Ctrl+,→ Open JSON file → settings.json
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module -Name InstallModuleFromGitHub
Install-Module -Name posh-git -Scope CurrentUser
Install-Module -Name oh-my-posh -Scope CurrentUser -AllowPrerelease- Copy the Oh My Posh theme into
$HOME/.oh-my-posh.omp.json notepad $profile→ Yes → Microsoft.PowerShell_profile.ps1
- In Powershell:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestartdism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- Reboot.
- https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi → install
- In Powershell:
wsl --set-default-version 2 - Install Ubuntu or whatever from the Microsoft store
- Find the latest stable version of bind, e.g. https://downloads.isc.org/isc/bind9/9.16.13/BIND9.16.13.x64.zip
- Extract
dig.exetoC:\bin - Install PoshDig in PowerShell:
mkdir 'C:\Program Files\PowerShell\7\Modules\PoshDig'curl https://codeload.github.com/IxianPixel/PoshDig/zip/master -o PoshDig.zip- Extract the zip archive to the PoshDig module directory
notepad $profileand add the following line:Import-Module PoshDig -ArgumentList 'C:\tools\dig.exe'
- https://code.visualstudio.com/#alt-downloads → System Installer → 64 bit
- ✓ Add "Open with Code" action to Windows Explorer file context menu
- ✓ Add "Open with Code" action to Windows Explorer directory context menu
- ✓ Register Code as an editor for supported file types
- Start VS Code →
- Right-click status bar → ⍻ Tweet Feedback
- Install the WSL plugin if suggested
Ctrl→nSave the following asC:\Users\kth\AppData\Roaming\Code\User\settings.json:
{
"diffEditor.ignoreTrimWhitespace": false,
"editor.fontFamily": "'FiraCode NF', Consolas, 'Courier New', monospace",
"editor.fontLigatures": "'ss01', 'zero', 'onum'",
"editor.renderWhitespace": "boundary",
"git.path": "C:/Program Files/Git/bin/git.exe",
"telemetry.enableTelemetry": false,
"terminal.integrated.fontFamily": "'FiraCode NF'",
"terminal.integrated.shell.windows": "C:/Program Files/PowerShell/7/pwsh.exe",
"workbench.startupEditor": "newUntitledFile"
}- Extensions:
- Beautify JSON /
randrade23.beautify-json - Bracket Pair Colorizer 2 /
CoenraadS.bracket-pair-colorizer-2 - C# /
ms-dotnettools.csharp - EditorConfig for VS Code /
editorconfig.editorconfig - Error Lens /
usernamehw.errorlens - Flutter /
Dart-Code.flutter- Would you like to use recommended VS Code settings for Dart & Flutter? → Yes
- GistPad /
vsls-contrib.gistfs - Git Graph /
mhutchie.git-graph - GitHub Actions /
cschleiden.vscode-github-actions - GitLens /
eamodio.gitlens- Git Code Lens → Add code lens to the following scopes ⍻ File scope
- Dates & Times →
- Date format →
MMMM Do, YYYY hh:mm - Time format →
hh:mm
- Date format →
- Hide Gitignored /
npxms.hide-gitignored - Markdown Preview Github Style /
bierner.markdown-preview-github-styles - markdownlint /
davidanson.vscode-markdownlint - Rainbow CSV /
mechatroner.rainbow-csv - Remote Development /
ms-vscode-remote.vscode-remote-extensionpack - REST Client /
humao.rest-client - Version Lens /
pflannery.vscode-versionlens - vscode-solution-explorer /
fernandoescolar.vscode-solution-explorer - XML Tools /
dotjoshjohnson.xml - Honourable mentions (extensions I've used before but haven't needed here … yet):
ckolkman.vscode-postgresjoaompinto.vscode-graphvizmrorz.language-gettextms-azure-devops.azure-pipelinesms-azuretools.vscode-dockerms-vscode.cpptools
- Beautify JSON /
git config --global alias.uncommit "reset --soft HEAD~1"
git config --global core.autocrlf false
git config --global init.defaultBranch main
git config --global pull.rebase false
git config --global user.name "Kristian Thy"
git config --global user.email thy@42.dk- https://www.google.com/chrome → Download → Run
chrome://settings:- Privacy and security → Cookies and other site data → Send a "Do Not Track Request" …
- Search engine → Search engine used in the address bar → DuckDuckGo
- On startup → Continue where you left off
- Advanced → Languages →
- Offer to translate … → Off
- Spell check → Off
- https://chrome.google.com/webstore/ → uBlock Origin → Add to Chrome
- Settings → Filter lists → Regions, languages → ✓
DEU, ✓NOR, DNK, ISL→ Update now
- Settings → Filter lists → Regions, languages → ✓
- https://developer.android.com/studio → Download
- Install → ✓ Android Virtual Device
- Wizard → Custom →
- ✓ Darcula
- ✓ Android Virtual Device
- HAXM → 4,096MB RAM
- Finish → Configure → Settings →
- Editor →
- Code Editing → ✓ Show quick documentation on mouse move
- Font →
- Fira Code Medium → 14
- ✓ Enable font ligatures
- Version Control →
- Commit Dialog → ✓ Force non-empty commit comments
- Github → Add account (auth with token)
- Editor →
- Add
JAVA_HOME=C:\Program Files\Android\Android Studio\jreto the current user's environment settings echo @C:\Users\Kristian\AppData\Local\Android\Sdk\emulator\emulator.exe %* > C:\bin\emulator.cmd
- https://flutter.dev/docs/get-started/install
- Download the stable zip and extract to
C:\bin\flutter\ - Add
C:\bin\flutter\binto the PATH flutter config --no-analytics- Check output from
flutter doctor→flutter doctor --android-licenses - Install the Google ADB driver
- https://signal.org/download/
- (Link with Android device)
- File → Preferences… →
- Theme → Dark
- Theme → ✓ Hide menu bar
- Notifications → Name only
- General → ⍻ Enable spell check …