Skip to content

Instantly share code, notes, and snippets.

View oktay-sen's full-sized avatar

Oktay Sen oktay-sen

View GitHub Profile
@oktay-sen
oktay-sen / README.md
Last active May 16, 2021 14:43
Win 10 Gaming VM on Pop! OS 20.04 LTS

Win 10 Gaming VM on Pop!_OS 20.04 LTS

This is a guide on the steps I took to get a Windows 10 virtual machine with dedicated graphics working. My goal is to primarily use Pop!_OS for general desktop use, development, etc, while also being able to play all of my games without compromises.

The steps below are mostly from following different guides I found online to get various things working correctly. I'm collecting them here so I can recreate the same setup in the future.

The hardware I used

  • Ryzen 7 1700 (Having 8 cores is useful. I'd recommend at least 6 cores)
  • Gigabyte B450 Aorus M
@oktay-sen
oktay-sen / vscodeextensions.txt
Last active September 1, 2018 22:18
My vscode extensions
https://github.com/Krzysztof-Cieslak/vscode-elm
https://github.com/ritwickdey/vscode-live-server
https://github.com/prettier/prettier-vscode
https://github.com/mjbvz/vscode-lit-html
https://github.com/akamud/vscode-theme-onedark
https://github.com/formulahendry/vscode-auto-close-tag
phoityne.phoityne-vscode
https://github.com/JustusAdam/language-haskell
https://github.com/haskelly-dev/Haskelly
@oktay-sen
oktay-sen / vscodesettings.json
Last active October 5, 2018 00:46
My vscode user settings
{
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe",
"liveServer.settings.donotShowInfoMsg": true,
"git.autofetch": true,
"liveServer.settings.donotVerifyTags": true,
"[elm]": {
"editor.formatOnSave": true
},
"window.zoomLevel": 0,
"[javascript]": {
@oktay-sen
oktay-sen / prettierrc.json
Created July 23, 2018 15:54
My prettier settings.
{
"arrowParens": "avoid",
"bracketSpacing": true,
"semi": false,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none",
"useTabs": false
}
lookUp :: Char -> [(Char, Char)] -> Char
lookUp needle xs = if (null selected) then needle else snd $ selected !! 0
where
selected = [x | x <- xs, fst x == needle]