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
// http://weblog.west-wind.com/posts/2012/Nov/24/WCF-WSSecurity-and-WSE-Nonce-Authentication | |
public class CustomCredentials : ClientCredentials | |
{ | |
public CustomCredentials() | |
{ } | |
protected CustomCredentials(CustomCredentials cc) | |
: base(cc) | |
{ } |
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
powershell.exe -ExecutionPolicy Unrestricted .\build-me.ps1 -RunDebugBuild -1 |
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
mklink /J @TeamShares "C:/Workspace/@TeamShares" |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Access Connectivity Engine\Engines\Excel] | |
"TypeGuessRows"=dword:00000000 | |
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
DEL /F /A /Q \\?\%1 | |
RD /S /Q \\?\%1 |
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
var clientWidth=function(){return document.documentElement.clientWidth||document.body.clientWidth;} |
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
string src = RtxtSource.Text; | |
if (string.IsNullOrEmpty(src)) return; | |
string[] dest = src.Split(new string[]{"\r", "\n"}, StringSplitOptions.RemoveEmptyEntries); | |
StringBuilder builder = new StringBuilder(); | |
builder.AppendLine("StringBuilder builder = new StringBuilder();"); | |
for (int i = 0; i < dest.Length; i++) | |
{ | |
string tmp = dest[i]; | |
tmp = tmp.Replace("\\", "\\\\"); |
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
/// <summary> | |
/// 将全角数字转换为数字 | |
/// </summary> | |
/// <param name="SBCCase"></param> | |
/// <returns></returns> | |
public string SBCCaseToNumberic(string SBCCase) | |
{ | |
char[] c = SBCCase.ToCharArray(); | |
for (int i = 0; i < c.Length; i++) | |
{ |
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
Beyond Compare 3 | |
(Pro / 3-way merge) BComp.exe %1 %2 %3 %4 /title1=%6 /title2=%7 /title3=%8 /title4=%9 | |
Compare:BComp.exe %1 %2 /title1=%6 /title2=%7 | |
Merge:BComp.exe %1 %2 /savetarget=%4 /title1=%6 /title2=%7 |
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
CLASSPATH值为:.;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\bin; |