Skip to content

Instantly share code, notes, and snippets.


Krzysztof Koziarski kkoziarski

View GitHub Profile
Tiberriver256 / boxstarter
Last active Oct 14, 2021
My personal development environment configuration
View boxstarter
# Configure Windows
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Update-ExecutionPolicy Unrestricted
Install-PackageProvider -Name NuGet -MinimumVersion -Force
Install-Module -Name Get-ChildItemColor, oh-my-posh -Force
## Git
cinst -y git.install
sixeyed / profile.ps1
Created Nov 1, 2018
PowerShell profile with a Linux-style prompt and aliases for common Docker commands
View profile.ps1
function Prompt(){
$W = Split-Path -leaf -path (Get-Location)
$prompt = Write-Prompt "$($env:UserName)@$($env:ComputerName):" -ForegroundColor Green
$prompt += Write-Prompt $W -ForegroundColor DarkCyan
$prompt += Write-Prompt '>'
return ' '
function Remove-StoppedContainers {
docker container rm $(docker container ls -q)
kkoziarski / Paradox-custom-theme.psm1
Last active Feb 9, 2019
Scripts to run on a new system
View Paradox-custom-theme.psm1
#requires -Version 2 -Modules posh-git
function Write-Theme {
strarsis /
Last active Dec 1, 2021
Notes about Docker on WSL (Windows 10 Home / Docker Toolbox) (Virtualbox instead Hyper-V)

Edit (September 2020):

jchandra74 / PowerShell
Last active Jan 11, 2022
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization
View PowerShell

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

dogfuntom /
Last active Oct 27, 2021
VsVim Registers and Marks Cheat Sheet #vs #vim #vsvim


Filling empty line between { and }

When you type a new method, VS aids you and you end up with this:

private void Foo()

btroncone /
Last active Jan 19, 2022
A Comprehensive Introduction to @ngrx/store - Companion to Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

CMCDragonkai /
Last active Nov 5, 2021
JS: AngularJS Directive Attribute Binding Explanation

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>