Skip to content

Instantly share code, notes, and snippets.

@jaw
jaw / EnvPaths.psm1
Last active January 18, 2024 15:51 — forked from mkropat/EnvPaths.psm1
# How to use
#
# First, you need to import the script:
# > Import-Module -Name "C:\Your\Path\to\EnvPaths.psm1"
#
# Add C:\Foo as the first path in the current session (goes away when you log out / close the window):
# > Add-EnvPathFirst -Path "C:\Foo"
#
# Add C:\Foo as the first path in the machine path (all users):
# > Add-EnvPathFirst -Path "C:\Foo" -Container Machine
@jaw
jaw / iso_4217.cpp
Last active July 26, 2019 14:29 — forked from johnmcfarlane/iso_4217.cpp
ISO 4217 vs ISO C++
// This list has some currency symbols but not all. If you can add more, that'd be great.
// Please send the changes to github user: jaw
// Thanks! :)
#include <limits>
namespace iso_4217
{
struct code {