Skip to content

Instantly share code, notes, and snippets.

@JesterMachine
Forked from mjarkk/windows_dev_station.md
Created August 21, 2024 08:23
Show Gist options
  • Save JesterMachine/4066338d4fb212e4df4a152f2869bb9a to your computer and use it in GitHub Desktop.
Save JesterMachine/4066338d4fb212e4df4a152f2869bb9a to your computer and use it in GitHub Desktop.

Revisions

  1. @mjarkk mjarkk revised this gist Apr 19, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -33,6 +33,7 @@ With all that together will a lot of other small tweaks i can finally say that u
    - [Wox & Everything](https://github.com/Wox-launcher/Wox/releases) *a quick launch tool & file indexer*
    - [Deskpins](https://efotinis.neocities.org/deskpins/) *Pin a window to the top*
    - [Winaero Tweaker](https://winaero.com/download.php?view.1796) *Tweak the windows experance*
    - [Espanso](https://espanso.org/) *System wide text shotcuts*

    ### Turn on hyper-v
    *some programs require this or work better so i usually turn this on*
  2. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -139,5 +139,6 @@ Settings arrow *right top* > Hotkeys > *unbind the keys you find annoying for me
    - Restarting wsl *(`wsl --shutdown` > open a terminal)* breaks the docker access from within wsl, the docker command still work but starting a webserver and trying access it doesn't work. Usually i restart my pc if i still need to use docker after this, but i suspect you can also figgle around with the docker desktop settings to get it working again.
    - Sometimes the subsystem or the fish shell seems to crach but kinda still works???, it's supper wired but in the end i always restart my pc to solve it *(note: Always when this happends there is also an update that can be installed when rebooting)*.

    ## Notes for myself
    - Windows start menu dir: `%appdata%\Microsoft\Windows\Start Menu\Programs`
    ## Honorable mentions
    - [alt tab terminator](https://www.ntwind.com/software/alttabter.html): seems like a nice pice of software but i don't think it's wourth the $20
    - [fast window switcher](https://github.com/JochenBaier/fastwindowswitcher): i have the taskbar automaticly hidden and beacause of that i can't really use this software sadly, [made an issue](https://github.com/JochenBaier/fastwindowswitcher/issues/13) but seems like it's unmaintained
  3. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -110,7 +110,9 @@ Download the `z-Bright-Lights.itermcolors` theme underhere and import it into th
    For more themes: https://iterm2colorschemes.com *(dowanlod the zip and extract the schemes folder)*

    Add Fluent terminal to context menu:
    [install.bat](https://github.com/felixse/FluentTerminal/blob/dec492e39a04bfb4f8bd4b8f4dfc513ec87bc796/Explorer%20Context%20Menu%20Integration/Install.bat)
    [install.bat](https://github.com/felixse/FluentTerminal/blob/dec492e39a04bfb4f8bd4b8f4dfc513ec87bc796/Explorer%20Context%20Menu%20Integration/Install.bat)

    In the WSL profile set this as working directory: `\\wsl$\Ubuntu\home\mark`
    #### Steam
    1. download [Steam customizer tool](http://steamcustomizer.com/download)
    2. download [the dracula skin](http://editor.steamcustomizer.com/anqbr)
  4. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -3,6 +3,18 @@

    # My Windows dev setup / howto

    ### Rambelings
    Ya windows the worst os to program on or is it.
    For a long time i've been fully againced windows and i still kinda agree if you use it without "cheating". Windows it just too unstable and too un-standardized to work with on it's own, it's like using mac os with it's forever taking updates but combined with non-standardized tooling and a lot of unexpected bahavior what just results in a lot of frustration.
    For example why can i see ls taking time to display lines in powershell???, ya it's only ~50ms but still why does a simple command like ls has to take so long??
    Or why sometimes do programs not stop running when i press ctrl+c and do i need to open task manager and scroll to the program because there is no search bar so i can find it quickly??
    Well these are just a few things that make using windows not great and there are a lot more little things. Thankfully windows has evolved and now we can "cheat" around the biggest frustrations using the windows subsystem version 2, v1 still had a lot of windows problems but now with version 2 being in it's own vm it works amazing.
    I call it cheating because in the end it's comes down to really just a nice linux vm in windows that is integrated perfectly. I can now right click in a folder, click on open in fluent terminal and a linux like terminal pops up with a fully working linux shell with all the amazing linux tools. Thanks to docker and vscode their integration i can even open vscode from inside the linux terminal and use docker like i do on linux, **This is great!!**.
    Furthermore there are a lot of tools to fix to other annoying windows things like.
    Use wox instaid of the windows search for obviouse reasons,
    Use Shutup 10 and winaero tweaker to disable windows doing dumb garbage like installing shit without any reason.
    With all that together will a lot of other small tweaks i can finally say that using windows is oke now, i can now enjoy the good sides of windows without there beeing to meany down sides. Just like any Linux distro or Mac OS. Everything in the end has there downsides and upsides but as long as there are more upside than down i'm oke with using it.

    ### Get the latest build of windows
    *For some dumb reason windows always installes an old version so i use the insider program to get the latest windows version*
    1. Settings > Updates & Security > Windows Insider Program > do your things here
  5. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -95,7 +95,10 @@ See my [dotfiles](https://github.com/mjarkk/dotfiles)
    2. Place `Dracula.xaml` in `%LOCALAPPDATA%\Wox\app-X.X.XXX\Themes`, in wox type `restart wox` > `settings` > Theme > Dracula
    ### Fluent terminal
    Download the `z-Bright-Lights.itermcolors` theme underhere and import it into the fluent terminal
    For more themes: https://iterm2colorschemes.com *(dowanlod the zip and extract the schemes folder)*
    For more themes: https://iterm2colorschemes.com *(dowanlod the zip and extract the schemes folder)*

    Add Fluent terminal to context menu:
    [install.bat](https://github.com/felixse/FluentTerminal/blob/dec492e39a04bfb4f8bd4b8f4dfc513ec87bc796/Explorer%20Context%20Menu%20Integration/Install.bat)
    #### Steam
    1. download [Steam customizer tool](http://steamcustomizer.com/download)
    2. download [the dracula skin](http://editor.steamcustomizer.com/anqbr)
  6. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -108,7 +108,10 @@ Tweaked settings:
    - Disable cortana *windows apps*
    - Ads and unwanted software *behavior*
    - Compressed overlay icon *file explorer*
    - Shortcut arrow *shortcuts* > No arrow
    - Shortcut arrow *shortcuts* > No
    ### AMD Radeon settings
    *The radeon software has a list of hotkeys that are also in use by some programs so i unbind them usually*,
    Settings arrow *right top* > Hotkeys > *unbind the keys you find annoying for me that's almost everything :)*
    ### Windows UI
    *I do most things via the wox so i don't need the taskbar anymore, it's just a waste of space*
    ![screenshot](https://i.imgur.com/zOxSn4c.png "screenshot")
  7. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -46,6 +46,8 @@ To view localhost only exposed servers create `.wslconfig` in the user root dir
    localhostForwarding=true
    ```

    To quickly access the subsystem's filesystem add the following network drive under *"This PC"* `\\wsl$\Ubuntu` *note: this does not work on wsl1*

    ### Docker
    Download [Docker desktop](https://www.docker.com/products/docker-desktop)
    After install:
  8. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -51,7 +51,7 @@ Download [Docker desktop](https://www.docker.com/products/docker-desktop)
    After install:
    1. go to Docker desktop settings
    3. Under command line enable: Enable experimental features
    2. Under general enable: Enable the experimental WSL 2 based engine *(if the docker desktop craches install this [kernel update](https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel))*
    2. Under general enable: Enable the experimental WSL 2 based engine
    3. [Install docker in the ubuntu subsystem](https://docs.docker.com/install/linux/docker-ce/ubuntu/) *there is no need to start the docker service*
    4. In the docker desktop settings > Resources > WSL intergration > Enable ubuntu or whatever you have

  9. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    ![screenshot](https://i.imgur.com/lRu6DFN.jpg "screenshot")
    *Background: [crowned > need for speed](https://www.crownedstore.com/need-for-speed), Fluent terminal with Bright Lights theme*

    # How i do development on windows
    # My Windows dev setup / howto

    ### Get the latest build of windows
    *For some dumb reason windows always installes an old version so i use the insider program to get the latest windows version*
  10. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,7 @@
    2. Settings > Updates & Security > Update Windows > Check for updates *(This will take a shitload of time)*

    ### Programs i always install
    - [Shutup 10](https://www.oo-software.com/en/shutup10) *disable windows garbage*
    - [git](https://git-scm.com/downloads) *ofc*
    - [chocolatey](https://chocolatey.org/) *a package manager for windows*
    - *Programming "languages"*
    @@ -19,6 +20,7 @@
    - [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab) or [Fluent Terminal *my favorite*](https://github.com/felixse/FluentTerminal) *a nice terminal*
    - [Wox & Everything](https://github.com/Wox-launcher/Wox/releases) *a quick launch tool & file indexer*
    - [Deskpins](https://efotinis.neocities.org/deskpins/) *Pin a window to the top*
    - [Winaero Tweaker](https://winaero.com/download.php?view.1796) *Tweak the windows experance*

    ### Turn on hyper-v
    *some programs require this or work better so i usually turn this on*
    @@ -95,6 +97,16 @@ For more themes: https://iterm2colorschemes.com *(dowanlod the zip and extract t
    #### Steam
    1. download [Steam customizer tool](http://steamcustomizer.com/download)
    2. download [the dracula skin](http://editor.steamcustomizer.com/anqbr)
    ### Winaero
    Tweaked settings:
    - Disable timeline *context menu*
    - Take ownership *context menu*
    - Screen snip *context menu*
    - Screen snip *shortcuts* > place the shotcut in `%appdata%\Microsoft\Windows\Start Menu\Programs`
    - Disable cortana *windows apps*
    - Ads and unwanted software *behavior*
    - Compressed overlay icon *file explorer*
    - Shortcut arrow *shortcuts* > No arrow
    ### Windows UI
    *I do most things via the wox so i don't need the taskbar anymore, it's just a waste of space*
    ![screenshot](https://i.imgur.com/zOxSn4c.png "screenshot")
  11. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -103,4 +103,7 @@ For more themes: https://iterm2colorschemes.com *(dowanlod the zip and extract t
    - This setup eats noticable more memory than working on my linux machine, around 3-5gb more ram usage.
    - Sometimes after login the localhost forwarding in wsl doesn't work and the only solution to fix it seems to be restarting my pc
    - Restarting wsl *(`wsl --shutdown` > open a terminal)* breaks the docker access from within wsl, the docker command still work but starting a webserver and trying access it doesn't work. Usually i restart my pc if i still need to use docker after this, but i suspect you can also figgle around with the docker desktop settings to get it working again.
    - Sometimes the subsystem or the fish shell seems to crach but kinda still works???, it's supper wired but in the end i always restart my pc to solve it *(note: Always when this happends there is also an update that can be installed when rebooting)*.
    - Sometimes the subsystem or the fish shell seems to crach but kinda still works???, it's supper wired but in the end i always restart my pc to solve it *(note: Always when this happends there is also an update that can be installed when rebooting)*.

    ## Notes for myself
    - Windows start menu dir: `%appdata%\Microsoft\Windows\Start Menu\Programs`
  12. @mjarkk mjarkk revised this gist Apr 4, 2020. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -11,15 +11,17 @@
    ### Programs i always install
    - [git](https://git-scm.com/downloads) *ofc*
    - [chocolatey](https://chocolatey.org/) *a package manager for windows*
    - [nodejs](https://nodejs.org/en/) *for my nodejs development*
    - [Go Lang](https://golang.org/dl/) *for my go development*
    - *Programming "languages"*
    - [nodejs](https://nodejs.org/en/)
    - [Go](https://golang.org/dl/)
    - [Rust](https://www.rust-lang.org/learn/get-started)
    - [vsCode](https://code.visualstudio.com/) *code editor*
    - [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab) or [Fluent Terminal *my favorite*](https://github.com/felixse/FluentTerminal) *a nice terminal*
    - [Wox & Everything](https://github.com/Wox-launcher/Wox/releases) *a quick launch tool & file indexer*
    - [Deskpins](https://efotinis.neocities.org/deskpins/) *Pin a window to the top*

    ### Turn on hyper-v
    *some programs work better with this tunred on so i turn this on usually*
    *some programs require this or work better so i usually turn this on*
    Control Panel > Programs > Turn Windows features on or off > hyper-v

    ### Linux Subsystem
  13. @mjarkk mjarkk revised this gist Apr 1, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    ![screenshot](https://i.imgur.com/lRu6DFN.jpg "screenshot")
    *Background: [crowned > need for speed](https://www.crownedstore.com/need-for-speed), Fluent terminal with Bright Lights theme*

    # How i do development on windows

  14. @mjarkk mjarkk revised this gist Apr 1, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ![screenshot](https://i.imgur.com/hoacRnC.jpg "screenshot")
    ![screenshot](https://i.imgur.com/lRu6DFN.jpg "screenshot")

    # How i do development on windows

  15. @mjarkk mjarkk revised this gist Apr 1, 2020. 2 changed files with 216 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -86,6 +86,9 @@ See my [dotfiles](https://github.com/mjarkk/dotfiles)
    #### Wox
    1. Download: https://github.com/dracula/wox
    2. Place `Dracula.xaml` in `%LOCALAPPDATA%\Wox\app-X.X.XXX\Themes`, in wox type `restart wox` > `settings` > Theme > Dracula
    ### Fluent terminal
    Download the `z-Bright-Lights.itermcolors` theme underhere and import it into the fluent terminal
    For more themes: https://iterm2colorschemes.com *(dowanlod the zip and extract the schemes folder)*
    #### Steam
    1. download [Steam customizer tool](http://steamcustomizer.com/download)
    2. download [the dracula skin](http://editor.steamcustomizer.com/anqbr)
    213 changes: 213 additions & 0 deletions z-Bright-Lights.itermcolors
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,213 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Ansi 0 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.098039215686274508</real>
    <key>Green Component</key>
    <real>0.098039215686274508</real>
    <key>Red Component</key>
    <real>0.098039215686274508</real>
    </dict>
    <key>Ansi 1 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.35686274509803922</real>
    <key>Green Component</key>
    <real>0.20784313725490197</real>
    <key>Red Component</key>
    <real>1</real>
    </dict>
    <key>Ansi 10 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.46274509803921571</real>
    <key>Green Component</key>
    <real>0.90980392156862744</real>
    <key>Red Component</key>
    <real>0.71764705882352942</real>
    </dict>
    <key>Ansi 11 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.31764705882352939</real>
    <key>Green Component</key>
    <real>0.76078431372549016</real>
    <key>Red Component</key>
    <real>1</real>
    </dict>
    <key>Ansi 12 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>1</real>
    <key>Green Component</key>
    <real>0.83529411764705885</real>
    <key>Red Component</key>
    <real>0.46274509803921571</real>
    </dict>
    <key>Ansi 13 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.90588235294117647</real>
    <key>Green Component</key>
    <real>0.46274509803921571</real>
    <key>Red Component</key>
    <real>0.72941176470588232</real>
    </dict>
    <key>Ansi 14 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.70980392156862748</real>
    <key>Green Component</key>
    <real>0.74901960784313726</real>
    <key>Red Component</key>
    <real>0.42352941176470588</real>
    </dict>
    <key>Ansi 15 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.84313725490196079</real>
    <key>Green Component</key>
    <real>0.78431372549019607</real>
    <key>Red Component</key>
    <real>0.76078431372549016</real>
    </dict>
    <key>Ansi 2 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.46274509803921571</real>
    <key>Green Component</key>
    <real>0.90980392156862744</real>
    <key>Red Component</key>
    <real>0.71764705882352942</real>
    </dict>
    <key>Ansi 3 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.31764705882352939</real>
    <key>Green Component</key>
    <real>0.76078431372549016</real>
    <key>Red Component</key>
    <real>1</real>
    </dict>
    <key>Ansi 4 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>1</real>
    <key>Green Component</key>
    <real>0.83137254901960789</real>
    <key>Red Component</key>
    <real>0.46274509803921571</real>
    </dict>
    <key>Ansi 5 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.90588235294117647</real>
    <key>Green Component</key>
    <real>0.46274509803921571</real>
    <key>Red Component</key>
    <real>0.72941176470588232</real>
    </dict>
    <key>Ansi 6 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.70980392156862748</real>
    <key>Green Component</key>
    <real>0.74901960784313726</real>
    <key>Red Component</key>
    <real>0.42352941176470588</real>
    </dict>
    <key>Ansi 7 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.84313725490196079</real>
    <key>Green Component</key>
    <real>0.78431372549019607</real>
    <key>Red Component</key>
    <real>0.76078431372549016</real>
    </dict>
    <key>Ansi 8 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.098039215686274508</real>
    <key>Green Component</key>
    <real>0.098039215686274508</real>
    <key>Red Component</key>
    <real>0.098039215686274508</real>
    </dict>
    <key>Ansi 9 Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.35686274509803922</real>
    <key>Green Component</key>
    <real>0.20784313725490197</real>
    <key>Red Component</key>
    <real>1</real>
    </dict>
    <key>Background Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.098039215686274508</real>
    <key>Green Component</key>
    <real>0.098039215686274508</real>
    <key>Red Component</key>
    <real>0.098039215686274508</real>
    </dict>
    <key>Bold Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.75576734293193715</real>
    <key>Green Component</key>
    <real>0.70378700769969904</real>
    <key>Red Component</key>
    <real>0.62377825081598537</real>
    </dict>
    <key>Cursor Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.0</real>
    <key>Green Component</key>
    <real>0.29334646463394165</real>
    <key>Red Component</key>
    <real>0.95475113391876221</real>
    </dict>
    <key>Cursor Text Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.19370138645172119</real>
    <key>Green Component</key>
    <real>0.15575926005840302</real>
    <key>Red Component</key>
    <real>0.0</real>
    </dict>
    <key>Foreground Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.84313725490196079</real>
    <key>Green Component</key>
    <real>0.78823529411764703</real>
    <key>Red Component</key>
    <real>0.70196078431372544</real>
    </dict>
    <key>Selected Text Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.098039215686274508</real>
    <key>Green Component</key>
    <real>0.098039215686274508</real>
    <key>Red Component</key>
    <real>0.098039215686274508</real>
    </dict>
    <key>Selection Color</key>
    <dict>
    <key>Blue Component</key>
    <real>0.84313725490196079</real>
    <key>Green Component</key>
    <real>0.78823529411764703</real>
    <key>Red Component</key>
    <real>0.70196078431372544</real>
    </dict>
    </dict>
    </plist>
  16. @mjarkk mjarkk revised this gist Apr 1, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@
    - [vsCode](https://code.visualstudio.com/) *code editor*
    - [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab) or [Fluent Terminal *my favorite*](https://github.com/felixse/FluentTerminal) *a nice terminal*
    - [Wox & Everything](https://github.com/Wox-launcher/Wox/releases) *a quick launch tool & file indexer*
    - [Deskpins](https://efotinis.neocities.org/deskpins/) *Pin a window to the top*

    ### Turn on hyper-v
    *some programs work better with this tunred on so i turn this on usually*
  17. @mjarkk mjarkk revised this gist Mar 31, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -89,6 +89,7 @@ See my [dotfiles](https://github.com/mjarkk/dotfiles)
    1. download [Steam customizer tool](http://steamcustomizer.com/download)
    2. download [the dracula skin](http://editor.steamcustomizer.com/anqbr)
    ### Windows UI
    *I do most things via the wox so i don't need the taskbar anymore, it's just a waste of space*
    ![screenshot](https://i.imgur.com/zOxSn4c.png "screenshot")

    ## Problems
  18. @mjarkk mjarkk revised this gist Mar 31, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -88,6 +88,8 @@ See my [dotfiles](https://github.com/mjarkk/dotfiles)
    #### Steam
    1. download [Steam customizer tool](http://steamcustomizer.com/download)
    2. download [the dracula skin](http://editor.steamcustomizer.com/anqbr)
    ### Windows UI
    ![screenshot](https://i.imgur.com/zOxSn4c.png "screenshot")

    ## Problems
    - This setup eats noticable more memory than working on my linux machine, around 3-5gb more ram usage.
  19. @mjarkk mjarkk revised this gist Mar 31, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@
    1. Settings > Updates & Security > Windows Insider Program > do your things here
    2. Settings > Updates & Security > Update Windows > Check for updates *(This will take a shitload of time)*

    ### Base programs i always install
    ### Programs i always install
    - [git](https://git-scm.com/downloads) *ofc*
    - [chocolatey](https://chocolatey.org/) *a package manager for windows*
    - [nodejs](https://nodejs.org/en/) *for my nodejs development*
    @@ -85,6 +85,9 @@ See my [dotfiles](https://github.com/mjarkk/dotfiles)
    #### Wox
    1. Download: https://github.com/dracula/wox
    2. Place `Dracula.xaml` in `%LOCALAPPDATA%\Wox\app-X.X.XXX\Themes`, in wox type `restart wox` > `settings` > Theme > Dracula
    #### Steam
    1. download [Steam customizer tool](http://steamcustomizer.com/download)
    2. download [the dracula skin](http://editor.steamcustomizer.com/anqbr)

    ## Problems
    - This setup eats noticable more memory than working on my linux machine, around 3-5gb more ram usage.
  20. @mjarkk mjarkk revised this gist Mar 31, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@
    - [Go Lang](https://golang.org/dl/) *for my go development*
    - [vsCode](https://code.visualstudio.com/) *code editor*
    - [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab) or [Fluent Terminal *my favorite*](https://github.com/felixse/FluentTerminal) *a nice terminal*
    - [wox](http://www.wox.one/) *a quick launch tool*
    - [Wox & Everything](https://github.com/Wox-launcher/Wox/releases) *a quick launch tool & file indexer*

    ### Turn on hyper-v
    *some programs work better with this tunred on so i turn this on usually*
  21. @mjarkk mjarkk revised this gist Mar 31, 2020. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -79,6 +79,13 @@ alias h='cd ~'
    # ...
    ```

    ## Theming & Custom settings
    ### Fish & vscode
    See my [dotfiles](https://github.com/mjarkk/dotfiles)
    #### Wox
    1. Download: https://github.com/dracula/wox
    2. Place `Dracula.xaml` in `%LOCALAPPDATA%\Wox\app-X.X.XXX\Themes`, in wox type `restart wox` > `settings` > Theme > Dracula

    ## Problems
    - This setup eats noticable more memory than working on my linux machine, around 3-5gb more ram usage.
    - Sometimes after login the localhost forwarding in wsl doesn't work and the only solution to fix it seems to be restarting my pc
  22. @mjarkk mjarkk revised this gist Mar 31, 2020. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -81,7 +81,6 @@ alias h='cd ~'

    ## Problems
    - This setup eats noticable more memory than working on my linux machine, around 3-5gb more ram usage.
    - This setup eats noticable more memory than working on my linux machine, around 3-5gb more ram usage.
    - Sometimes after login the localhost forwarding in wsl doesn't work and the only solution to fix it seems to be restarting my pc
    - Restarting wsl *(`wsl --shutdown` > open a terminal)* breaks the docker access from within wsl, the docker command still work but starting a webserver and trying access it doesn't work. Usually i restart my pc if i still need to use docker after this, but i suspect you can also figgle around with the docker desktop settings to get it working again.
    - Sometimes the subsystem or the fish shell seems to crach but kinda still works???, it's supper wired but in the end i always restart my pc to solve it *(note: Always when this happends there is also an update that can be installed when rebooting)*.
  23. @mjarkk mjarkk revised this gist Mar 31, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -81,6 +81,7 @@ alias h='cd ~'

    ## Problems
    - This setup eats noticable more memory than working on my linux machine, around 3-5gb more ram usage.
    - This setup eats noticable more memory than working on my linux machine, around 3-5gb more ram usage.
    - Sometimes after login the localhost forwarding in wsl doesn't work and the only solution to fix it seems to be restarting my pc
    - Restarting wsl *(`wsl --shutdown` > open a terminal)* breaks the docker access from within wsl, the docker command still work but starting a webserver and trying access it doesn't work. Usually i restart my pc if i still need to use docker after this, but i suspect you can also figgle around with the docker desktop settings to get it working again.
    - Sometimes the subsystem or the fish shell seems to crach but kinda still works???, it's supper wired but in the end i always restart my pc to solve it *(note: Always when this happends there is also an update that can be installed when rebooting)*.
  24. @mjarkk mjarkk revised this gist Mar 31, 2020. No changes.
  25. @mjarkk mjarkk revised this gist Mar 31, 2020. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -80,6 +80,7 @@ alias h='cd ~'
    ```

    ## Problems
    - This setup eats noticable more memory than working on my linux machine, around 3-5gb more ram usage.
    - Sometimes after login the localhost forwarding in wsl doesn't work and the only solution to fix it seems to be restarting my pc
    - Restarting wsl *(`wsl --shutdown` > open a terminal)* breaks the docker access from within wsl, the docker command still work but starting a webserver and trying access it doesn't work. Usually i restart my pc if i still need to use docker after this, but i suspect you can also figgle around with the docker desktop settings to get it working again.
    - Sometimes the subsystem or the fish shell seems to crach but kinda still works???, it's supper wired but in the end i always restart my pc to solve it *(note: Always when this happends there is also an update that can be installed when rebooting)*.
  26. @mjarkk mjarkk revised this gist Mar 31, 2020. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -81,4 +81,5 @@ alias h='cd ~'

    ## Problems
    - Sometimes after login the localhost forwarding in wsl doesn't work and the only solution to fix it seems to be restarting my pc
    - Restarting wsl *(`wsl --shutdown` > open a terminal)* breaks the docker access from within wsl, the docker command still work but starting a webserver and trying access it doesn't work. Usually i restart my pc if i still need to use docker after this, but i suspect you can also figgle around with the docker desktop settings to get it working again.
    - Restarting wsl *(`wsl --shutdown` > open a terminal)* breaks the docker access from within wsl, the docker command still work but starting a webserver and trying access it doesn't work. Usually i restart my pc if i still need to use docker after this, but i suspect you can also figgle around with the docker desktop settings to get it working again.
    - Sometimes the subsystem or the fish shell seems to crach but kinda still works???, it's supper wired but in the end i always restart my pc to solve it *(note: Always when this happends there is also an update that can be installed when rebooting)*.
  27. @mjarkk mjarkk revised this gist Mar 20, 2020. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -77,4 +77,8 @@ I usually edit the `.config/omf/init.fish` to add a few handy shotcuts:
    ```fish
    alias h='cd ~'
    # ...
    ```
    ```

    ## Problems
    - Sometimes after login the localhost forwarding in wsl doesn't work and the only solution to fix it seems to be restarting my pc
    - Restarting wsl *(`wsl --shutdown` > open a terminal)* breaks the docker access from within wsl, the docker command still work but starting a webserver and trying access it doesn't work. Usually i restart my pc if i still need to use docker after this, but i suspect you can also figgle around with the docker desktop settings to get it working again.
  28. @mjarkk mjarkk revised this gist Mar 17, 2020. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -68,4 +68,13 @@ omf install nvm
    nvm install 13
    nvm use 13
    nvm alias default 13

    # Get a nice fish theme if you want:
    omf install nai
    ```

    I usually edit the `.config/omf/init.fish` to add a few handy shotcuts:
    ```fish
    alias h='cd ~'
    # ...
    ```
  29. @mjarkk mjarkk revised this gist Mar 17, 2020. 1 changed file with 28 additions and 7 deletions.
    35 changes: 28 additions & 7 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -21,12 +21,6 @@
    Control Panel > Programs > Turn Windows features on or off > hyper-v

    ### Linux Subsystem
    Allow to visit localhost only exposed webservers from the subsystem in by creating `.wslconfig` in the user root dir with the following contents:
    ```
    [wsl2]
    localhostForwarding=true
    ```

    As administrator run: *(to allow the windows subsystem)*
    ```
    Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform", "Microsoft-Windows-Subsystem-Linux")
    @@ -40,11 +34,38 @@ wsl -l -v
    wsl --set-version Ubuntu 2
    ```

    To view localhost only exposed servers create `.wslconfig` in the user root dir with the following contents:
    ```
    [wsl2]
    localhostForwarding=true
    ```

    ### Docker
    Download [Docker desktop](https://www.docker.com/products/docker-desktop)
    After install:
    1. go to Docker desktop settings
    3. Under command line enable: Enable experimental features
    2. Under general enable: Enable the experimental WSL 2 based engine *(if the docker desktop craches install this [kernel update](https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel))*
    3. [Install docker in the ubuntu subsystem](https://docs.docker.com/install/linux/docker-ce/ubuntu/) *there is no need to start the docker service*
    4. In the docker desktop settings > Resources > WSL intergration > Enable ubuntu or whatever you have
    4. In the docker desktop settings > Resources > WSL intergration > Enable ubuntu or whatever you have

    ### Fish, omf & nvm in the subsystem
    I use fish as my main shell on linux so i also install it on my subsystem
    ```sh
    # install fish v3
    sudo add-apt-repository ppa:fish-shell/release-3
    sudo apt install fish

    # set fish as main shell
    chsh -s `which fish`

    # install oh my fish
    curl -L https://get.oh-my.fish | fish

    # install nvm (node version manager)
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
    omf install nvm
    nvm install 13
    nvm use 13
    nvm alias default 13
    ```
  30. @mjarkk mjarkk revised this gist Mar 17, 2020. 1 changed file with 16 additions and 17 deletions.
    33 changes: 16 additions & 17 deletions windows_dev_station.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ![screenshot](https://i.imgur.com/hoacRnC.jpg "screenshot")
    ![screenshot](https://i.imgur.com/hoacRnC.jpg "screenshot")

    # How i do development on windows

    @@ -8,44 +8,43 @@
    2. Settings > Updates & Security > Update Windows > Check for updates *(This will take a shitload of time)*

    ### Base programs i always install
    - [git](https://git-scm.com/downloads)
    - [chocolatey](https://chocolatey.org/)
    - [nodejs](https://nodejs.org/en/)
    - [go](https://golang.org/dl/)
    - [vsCode](https://code.visualstudio.com/)
    - [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab) or [Fluent Terminal](https://github.com/felixse/FluentTerminal)
    - [git](https://git-scm.com/downloads) *ofc*
    - [chocolatey](https://chocolatey.org/) *a package manager for windows*
    - [nodejs](https://nodejs.org/en/) *for my nodejs development*
    - [Go Lang](https://golang.org/dl/) *for my go development*
    - [vsCode](https://code.visualstudio.com/) *code editor*
    - [Windows Terminal](https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab) or [Fluent Terminal *my favorite*](https://github.com/felixse/FluentTerminal) *a nice terminal*
    - [wox](http://www.wox.one/) *a quick launch tool*

    ### Turn on hyper-v
    *some programs work better with this tunred on so i turn this on usually*
    Control Panel > Programs > Turn Windows features on or off > hyper-v

    ### Linux Subsystem
    create in your user provile root a file named `.wslconfig` with the following contents:
    Allow to visit localhost only exposed webservers from the subsystem in by creating `.wslconfig` in the user root dir with the following contents:
    ```
    [wsl2]
    localhostForwarding=true
    ```

    As administrator run:
    As administrator run: *(to allow the windows subsystem)*
    ```
    Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform", "Microsoft-Windows-Subsystem-Linux")
    wsl --set-default-version 2
    ```
    Install [Ubuntu 18.04 LTS](https://www.microsoft.com/nl-nl/p/ubuntu-1804-lts/9n9tngvndl3q?rtc=1&activetab=pivot:overviewtab)

    *You might have to convert the subsystem to windows subsystem version 2:*
    ```sh
    *After installing you might have to convert the subsystem to windows subsystem version 2 using:*
    ```sh
    wsl -l -v
    wsl --set-version Ubuntu 2
    wsl --set-default-version 2
    ```

    ### Docker
    Download [Docker desktop](https://www.docker.com/products/docker-desktop)
    After install:
    1. go to Docker desktop settings
    3. Under command line: enable experimental features
    2. Under general enable:
    - Expose deamon on ... without TLS *(ya this is not secure but fixes a lot of dumb windows problems)*
    - Enable the experimental WSL 2 based engine *(if the docker desktop craches install this [kernel update](https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel))*
    3. [Install docker in the ubuntu subsystem](https://docs.docker.com/install/linux/docker-ce/ubuntu/)
    3. Under command line enable: Enable experimental features
    2. Under general enable: Enable the experimental WSL 2 based engine *(if the docker desktop craches install this [kernel update](https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel))*
    3. [Install docker in the ubuntu subsystem](https://docs.docker.com/install/linux/docker-ce/ubuntu/) *there is no need to start the docker service*
    4. In the docker desktop settings > Resources > WSL intergration > Enable ubuntu or whatever you have