-
Navigate to the Poshgit Install Directory
- [Chocolatey] C:\tools\Poshgit\dahlbyk-posh-git-9d624ca\
- [Local User] %UserProfile%\Documents\WindowsPowerShell\Modules\Poshgit
- [System] %windir%\System32\WindowsPowerShell\Modules\Poshgit
-
Right-Click on
GitPrompt.ps1
and select Edit -
Between line 5 and 39 you will find all of the colour settings
This file contains 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
[WinCache] | |
wincache.fcenabled=Off | |
[ZendGuard] | |
;zend_loader.enable=1 | |
;zend_loader.disable_licensing=0 | |
;zend_loader.obfuscation_level_support=3 | |
;zend_loader.license_path= |
This file contains 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
<?php | |
/* | |
+----------------------------------------------------------------------------------------------+ | |
| Windows Cache for PHP | | |
+----------------------------------------------------------------------------------------------+ | |
| Copyright (c) 2009, Microsoft Corporation. All rights reserved. | | |
| | | |
| Redistribution and use in source and binary forms, with or without modification, are | | |
| permitted provided that the following conditions are met: | | |
| - Redistributions of source code must retain the above copyright notice, this list of | |
This file contains 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
Set-AzureWebsite -PhpVersion 5.3 -Name <site-name> |
This file contains 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
Server { | |
SourceRoot = /var/www | |
} |
This file contains 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
# It's your choice if you want to enter the code and press the button. | |
# >: 4 8 15 16 23 42 | |
function prompt { | |
write-host '>:' -nonewline | |
return ' ' | |
} |
This file contains 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
{ | |
"require": { | |
"guzzle/guzzle": "~3.1" | |
} | |
} |
This file contains 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
rem Replace [WebProjectName] with the name of your Web Application project name | |
xcopy "$(TargetDir)*.*" "$(SolutionDir)[WebProjectName]\App_Data\jobs\continuous\$(ProjectName)\" /y |
This file contains 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
gci -Force "$env:localappdata\Microsoft\Web Platform Installer" | Remove-Item -Recurse -Force | |
gci -Force "$env:appdata\Microsoft\Web Platform Installer" | Remove-Item -Recurse -Force |
This file contains 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
function Get-ScriptDirectory { | |
$Invocation = (Get-Variable MyInvocation -Scope 1).Value | |
Split-Path $Invocation.MyCommand.Path | |
} | |
$FunctionToRegister = Join-Path (Get-ScriptDirectory) "setup\Invoke-AzureEnvironmentSetup.ps1" | |
. "$FunctionToRegister" | |
#### Primary Environment | |
$EnvironmentSubscriptionName = "Primary Subscription Name" |