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
Example: If you have a folder path that's too long such as: | |
D:\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles\BackupFolder\Copy\MyFiles, | |
follow these instructions to delete it. | |
Create an empty folder, such as C:\Users\Name\Desktop\temp. | |
Open a Command Prompt window. | |
Type robocopy C:\Users\Name\Desktop\temp D:\BackupFolder /purge | |
Note: If there are spaces in either path in Step 3, the path must be inclosed by quotation marks. |
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
public class MVCMockContext | |
{ | |
public ControllerContext ControllerContext | |
{ | |
get; | |
set; | |
} | |
public HttpContextBase HttpContextBase | |
{ |
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
[core] | |
repositoryformatversion = 0 | |
filemode = false | |
bare = false | |
logallrefupdates = true | |
symlinks = false | |
ignorecase = true | |
hideDotFiles = dotGitOnly | |
[remote "origin"] | |
url = ssh://[email protected]:7999/lsd/login-handler.git |
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
Content-Type: application/soap+xml;charset=UTF-8 | |
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> | |
<soap:Body> | |
<ns2:staffLoginServiceResponse xmlns:ns2="http://webservice.elearning.ws.sis.gms.mev.atos.net/"> | |
<staffResult> | |
<staff> | |
<givenName>Availability</givenName> | |
<lastName>Availability</lastName> | |
<password>Rio.2016</password> |
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 local branch: | |
git for-each-ref --format="%(refname:short) %(upstream:short)" refs/heads | |
git branch -vv |
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 local branch: | |
git for-each-ref --format="%(refname:short) %(upstream:short)" refs/heads | |
git branch -vv # show branch behind or ahead | |
git branch --no-merged # show branch not merge into current branch | |
git branch -r --no-merged # show remote branch | |
git branch --merged # show merged branch | |
git branch -r --merged # show remote branch |
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
svcutil.exe elearningws-v1.1.wsdl /t:code /l:c# /o:"MerchantService.cs" |
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
<UserSettings> | |
<ApplicationIdentity version="11.0"/> | |
<ToolsOptions> | |
<ToolsOptionsCategory name="Environment" RegisteredName="Environment"/> | |
</ToolsOptions> | |
<Category name="Environment_Group" RegisteredName="Environment_Group"> | |
<Category name="Environment_KeyBindings" Category="{F09035F1-80D2-4312-8EC4-4D354A4BCB4C}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_KeyBindings" PackageName="Visual Studio Environment Package"> | |
<Version>11.0.0.0</Version> | |
<KeyboardShortcuts> | |
<ScopeDefinitions> |
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
xcopy /s /y "$(SolutionDir)packages\1.1.1\native\*.*" "$(TargetDir)" | |
xcopy.exe {a} {b} /Y/E/K/H/R/I/Q |
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
/* | |
*client.ChannelFactory.Endpoint.Behaviors.Remove<System.ServiceModel.Description.ClientCredentials>(); | |
*client.ChannelFactory.Endpoint.Behaviors.Add(new CustomCredentials()); | |
*client.ClientCredentials.UserName.UserName = username; | |
*client.ClientCredentials.UserName.Password = password; | |
*/ | |
public class UserNameClientCredentials : ClientCredentialsElement | |
{ | |
private ConfigurationPropertyCollection properties; |