Skip to content

Instantly share code, notes, and snippets.

View JeremyNevill's full-sized avatar
🎯
Focusing

Jeremy Nevill JeremyNevill

🎯
Focusing
View GitHub Profile
@JeremyNevill
JeremyNevill / RunningDotNetCoreinDockerontheMac.md
Created February 13, 2017 14:08
Running DotNet Core in Docker on the Mac

Running DotNet Core in Docker on the Mac

Firstly install Docker on the mac and make sure the following works:

docker run -d -p 80:80 --name webserver nginx

Then create your dotnet core app and from the code folder run the following command:

@JeremyNevill
JeremyNevill / Configure_Windows_Npm_Proxy.ps1
Created February 6, 2017 16:23
Configure Windows Npm Proxy
# Configure Windows Npm Proxy
# ===========================
# Including custom registry and proxy url/port
# Note: Will pop up the npm config window to see the mods when it runs
$ProxyUrlPort="YourProxyUrl:YourProxyPort"
$CustomRegistry="http://YourCustomRegistySuchAsArtifactory/api/npm"
function Configure-Windows-Npm-Proxy{
& npm config set registry $CustomRegistry

Vagrant Package

Export an existing vagrant machine as a new box file.

vagrant package --output NewBoxName.box
@JeremyNevill
JeremyNevill / gist:fd563da89bc3c8fe2281
Last active August 29, 2015 14:15
Snvserve Example

SVNServe a SVN Repo for use with Git

Used to enable cloning from network location using git, then subsequant svn-git usage.

svnserve -d -r drive:\parentfolder\svnrepofolder