Skip to content

Instantly share code, notes, and snippets.

View ankitbko's full-sized avatar

Ankit Sinha ankitbko

View GitHub Profile
@ankitbko
ankitbko / prayer.txt
Last active October 29, 2024 18:23
Programmer's Prayer
Our program, who art in memory,
called by thy name;
thy operating system run;
thy function be done at runtime
as it was on development.
Give us this day our daily output.
And forgive us our code duplication,
as we forgive those who
duplicate code against us.
And lead us not into frustration;
@ankitbko
ankitbko / button-awaiter.cs
Created February 13, 2018 10:19
Two faces of async/await
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;