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
<?xml version="1.0" encoding="utf-8"?> | |
<Envelope xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"> | |
<Header> | |
<MessageId>{8B3BB1F0-0D28-420F-8546-D6A033229C04}</MessageId> | |
<Action>http://schemas.microsoft.com/dynamics/2008/01/services/CountingJournalService/create</Action> | |
</Header> | |
<Body> | |
<MessageParts> | |
<CountingJournal xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/CountingJournal"> | |
<InventJournalTable class="entity"> |
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
git log --pretty=format:"%an"| env LC_ALL=C sort| env LC_ALL=C uniq -c| env LC_ALL=C sort -r |
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
public void Test(){ | |
return 0; | |
} |
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
static void CreateProduct(Args _args) | |
{ | |
EcoResProductMasterManager manager = EcoResProductMasterManager::construct(); | |
recId productMasterRecId; | |
EcoResDistinctProductVariant productVariant; | |
EcoResProductVariantCreationMgr productVariantCreationMgr = new EcoResProductVariantCreationMgr(); | |
container productVariantContainer; | |
EcoResProductVariantDimValue productVariantDimValue; | |
EcoResTmpProductVariantSuggestion productVariantSuggestion; | |
EcoResProductDimGroupSetup productDimGroupSetup = EcoResProductDimGroupSetup::construct(); |
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
do | |
{ | |
if (webRequest == null && string.IsNullOrEmpty(nextPageUrl)) | |
webRequest = HttpWebRequest.Create(String.Format("https://api.instagram.com/v1/tags/{0}/media/recent?client_id={1}", tagName, clientId)); | |
else | |
webRequest = HttpWebRequest.Create(nextPageUrl); | |
var responseStream = webRequest.GetResponse().GetResponseStream(); | |
Encoding encode = System.Text.Encoding.Default; |
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
Go to Tools -> External Tools -> Add | |
Command: Your xunit.console.exe file path | |
Arguments: $(BinDir)$(TargetName)$(TargetExt) | |
Initial Directory: $(BinDir) | |
Change xunit.console.config so that you have requiredRuntime if you want to run .NET 4.0 | |
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> |
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
(new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex | |
Install-Module Posh-Git –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
1) Put this code in a file called EnableRemoteErrors.rss | |
Public Sub Main() | |
Dim P As New [Property]() | |
P.Name = "EnableRemoteErrors" | |
P.Value = True | |
Dim Properties(0) As [Property] | |
Properties(0) = P | |
Try | |
rs.SetSystemProperties(Properties) |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.ServiceModel.Description; | |
using System.Text; | |
using Tutorial.AIF.CreateItem.EcoResProductServices; | |
using Tutorial.AIF.CreateItem.InventItemServices; | |
namespace Tutorial.AIF.CreateItem |
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
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using System.Diagnostics; | |
using System.DirectoryServices; | |
namespace GetUserSID | |
{ | |
/// <summary> | |
/// This class must work on a username and domainname, access active directory services |