$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
๐
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
// There may be corner cases where the naive string matching incorrectly | |
// changes your source file. Check your diff before committing any changes. | |
using System.Text; | |
// Change to whatever your favourite indentation is | |
const string Indent = " "; | |
// Get all the C# files in the specified directory | |
var fileNames = Directory.GetFiles(args[0], "*.cs", SearchOption.AllDirectories); |
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
open System | |
open System.IO | |
open System.Collections.Generic | |
let path = @"C:\Git\..." | |
let folderInfo = System.IO.DirectoryInfo(path) | |
let files = folderInfo.GetFiles("*.cs") | |
let parseClass (values: IEnumerable<string>) = | |
let className = |
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.Threading.Tasks; | |
using UIKit; | |
namespace Seanfisher.Gists | |
{ | |
public abstract class AsyncInitializationController : UIViewController | |
{ | |
Task _viewDidLoadAsyncTask = Task.CompletedTask; | |
public virtual Task ViewDidLoadAsync() |
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
# Trigger the acceptance tests | |
# Docs: https://confluence.jetbrains.com/display/TCD8/REST+API#RESTAPI-TriggeringaBuild | |
$branchName = "%teamcity.build.branch%" | |
$url = "http://teamcity.mydomain.com:8500/guestAuth/app/rest/buildQueue" | |
$buildId = "%system.teamcity.buildType.id%" | |
$buildId = $buildId.Replace("_Deploy", "_AcceptanceTests") | |
$webClient = New-Object net.webclient |