Skip to content

Instantly share code, notes, and snippets.

string json = JsonConvert.SerializeObject(data);
this.httpClient.PostAsync(
CloudConfigurationManager.GetSetting("KafkaBaseUrl") + this.kafkaRestApiUrlServices,
new StringContent(json, Encoding.UTF8, "application/json"));
git checkout wayne
notepad Settings.xml
--edit settings again
git add -A
git commit -m "changing settings again"
notepad test.cs
--do some more work in test.cs
git add -A
git commit -m "even more work on test.cs - v busy day"
git log
git checkout dev
git merge wayne dev
git revert 965f41809225abbe2ed2b74d6e162e27c9c18a72
D:\git\cp-demo>git log
commit 9c7a9b7ccceff5d9279da2b98b9e09b1f02b17cd
Author: wdouglas@aditi.com <wdouglas@aditi.com>
Date: Thu Jul 17 14:38:31 2014 +0100
even more work on test.cs - v busy day
commit 114e19c1de39143ff8286be4a1af9a43ac472a27
Author: wdouglas@aditi.com <wdouglas@aditi.com>
git add -A
git commit -m "doing some more work"
git add -A
git commit -m "editing settings"
notepad Settings.xml