Slack Notification using Python Code

Slack has limitations in creating Webhooks in Free plan. However, we can use existing Webhook to send a notification in different Slack Channels. If we send Slack Payload to Webhook without mentioning Slack Channel name, the message will send to the default Slack Channel. Create Slack Webhook using https://slack.com/apps/A0F7XDUAZ this link and update SLACK_WEBHOOK_URL in the […]

Read More

Bitbucket to Github Repository Migration

OVERVIEW Migration of Projects, Repositories, Permissions and other important settings from Bitbucket to GitHub Service GOALS Migration of Repositories and Projects Migration of Users, Permissions and other settings SPECIFICATIONS Bitbucket Repository URL and Credentials GitHub Repository URL and Credentials REPOSITORY & PROJECT MIGRATION DIFFERENT WAYS ARE AVAILABLE Way #1: GitHub Importer Any public repository can […]

Read More

Date with C#

Dates and times are very important in software development.  C# has built-in methods for manipulating dates and time and we will discuss those with the help of this example. using System; namespace DatesAndTimes { class Program { static void Main(string[] args) { DateTime myValue = DateTime.Now; Console.WriteLine(myValue.ToString()); Console.WriteLine(myValue.ToShortDateString()); Console.WriteLine(myValue.ToShortTimeString()); Console.WriteLine(myValue.ToLongDateString()); Console.WriteLine(myValue.ToLongTimeString()); Console.WriteLine(myValue.AddDays(3).ToLongDateString()); Console.WriteLine(myValue.AddHours(3).ToLongTimeString()); Console.WriteLine(myValue.AddDays(-3).ToLongDateString()); Console.WriteLine(myValue.Month); DateTime […]

Read More