This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git_author() { | |
| if [ -z "$GIT_AUTHOR_NAME" ]; then | |
| echo "developer" | |
| else | |
| echo "$GIT_AUTHOR_NAME" | |
| fi | |
| } | |
| export PS1='\[\033]0;$MSYSTEM:\w\007\]\n\[\033[32m\]$(git_author) @ \h \[\033[33m\]\w$(__git_ps1) \[\033[0m\]\n$ ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure("2") do |config| | |
| config.vm.define "vagrant-windows" | |
| config.vm.box = "windows2008r2" | |
| # You should be using the vagrant-windows Vagrant Plugin! | |
| # Admin user name and password | |
| config.winrm.username = "Administrator" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| A basic implementation of the Publisher/Subscriber design pattern. | |
| Developed by @addyosmani and @integralist | |
| Example Usage: | |
| // Create subscriber function to be called when topic publishes an event | |
| var testSubscriber = function (topics, data) { | |
| console.log(topics + ': ' + data); | |
| }; |
Execute the following script using your MyGet [feedUrl] and MyGet [username] , [password] and [apikey]. Run this from a commandline where you have access to nuget.exe (or set the path to your nuget.exe in a system environment variable).
nuget setapikey [apikey] -source [feedUrl]
nuget sources add|update -Name [name] -source [feedUrl] -User [username] -pass [password]