| name | ship |
|---|---|
| description | Commits, pushes and raises a PR. |
| disable-model-invocation | true |
This skill handles the complete workflow of committing staged/unstaged changes, pushing to the remote, and raising a Pull Request.
| name | raise-issue |
|---|---|
| description | Creates a GitHub issue (bug or feature) from a rough description, with codebase context and clarifying questions. |
This skill takes a rough description of a bug or feature request and produces a well-formed GitHub issue, enriched with codebase context and any clarification gathered from the user.
| static void Main(string[] args) | |
| { | |
| var darkSky = new DarkSky.Services.DarkSkyService("API_KEY_HERE"); | |
| var date = new DateTime(2020,1,1); | |
| do | |
| { | |
| var forecast = darkSky.GetForecast(53.812174, -1.096165, | |
| new OptionalParameters{MeasurementUnits ="uk2", ForecastDateTime = date}).Result; |
| using System; | |
| using System.Collections.Generic; | |
| using System.Configuration; | |
| using StackExchange.Redis; | |
| using WebApi.OutputCache.Core.Cache; | |
| namespace IanNelsonSystems | |
| { | |
| /// <summary> | |
| /// An implementation of WebApi.OutputCache.Core.Cache.IApiOutputCache that uses Redis as the cache. |
| if (selectedDate > maxAvailableDay) { | |
| alert ("Please note, your online service booking must be between 5 and 90 days from today. If you wish to book a service outside of this period, please contact your local Toyota Contre directly."); | |
| return false; | |
| } | |
| if (selectedDate < nextAvailableDay) { | |
| alert ("Please note, your online service booking must be between 2 and 90 days from today. If you wish to book a service outside of this period, please contact your local Toyota Centre directly."); | |
| return false; | |
| } |
| <appSettings> | |
| <add key="SmtpServer" value="smtp.mycompany.com" /> | |
| <add key="bgColor" value="lightsteelblue" /> | |
| <!-- <add key="connstr" value="Server=TestDB;initial catalog=DBName;Integrated Security=SSPI" /> --> | |
| <add key="connstr" value="Server=LiveDB;initial catalog=DBName;Integrated Security=SSPI" /> | |
| <add key="PageSize" value="20" /> | |
| <add key="Homepage" value="/default.aspx" /> | |
| <add key="FooServiceLicenseKey" value="YR39-WN51-CB73-DF62" /> | |
| <add key="SendEmails" value="True" /> | |
| <add key="FontName" value="Arial" /> |
| /// <summary> | |
| /// Converts a month number into the name | |
| /// </summary> | |
| /// <param name="monthNumber"></param> | |
| private string GetMonthName(int monthNumber) | |
| { | |
| return String.Format("{0:MMMM}", new DateTime(1969, monthNumber, 1)); | |
| } |
| /// <summary> | |
| /// Send an email to notify that accrual data has been successfully uploaded | |
| /// </summary> | |
| /// <param name="accrualUpload"></param> | |
| /// <param name="recipientAddresses"></param> | |
| public void SendSuccessfulUploadEmail(AccrualUpload accrualUpload, Collection<MailAddress> recipientAddresses) |
| /// <summary> | |
| /// Initializes a new instance of the LeadAllocationService class. | |
| /// </summary> | |
| /// <param name="leadAllocators">Array of Lead Allocators.</param> | |
| public LeadAllocationService(params ILeadAllocator[] leadAllocators) | |
| { | |
| this.LeadAllocators = leadAllocators; | |
| } |
| using System; | |
| namespace MvcGotcha1.Models | |
| { | |
| public class FooModel | |
| { | |
| public int FooCounter { get; set; } | |
| } | |
| } |