Skip to content

Instantly share code, notes, and snippets.

View FoC-'s full-sized avatar
💭
Taking shower and eating after midnight.

Mykola Kush FoC-

💭
Taking shower and eating after midnight.
View GitHub Profile
@FoC-
FoC- / falsehoods-programming-time-list.md
Created May 15, 2023 10:22 — forked from timvisee/falsehoods-programming-time-list.md
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@FoC-
FoC- / PostProcessWhereIsACustomization.cs
Created January 7, 2020 12:47 — forked from bartelink/PostProcessWhereIsACustomization.cs
AutoFixture customization to allow insertion of arbitrary postprocessing logic a la Customize( c=>c.Do()) but in a global manner Revised for v3 (initally for v2)
namespace Ploeh.AutoFixture
{
using Kernel;
using System;
public class PostProcessWhereIsACustomization<T> : ICustomization
where T : class
{
readonly PostProcessSpecimensBehavior _behavior;
@FoC-
FoC- / index.html
Created October 23, 2017 11:13 — forked from dreyescat/index.html
Webpack config to expose bundle in a variable in the global context
<html>
<head>
</head>
<body>
<script src="lib/yourlib.js"></script>
<script>
window.onload = function () {
EntryPoint.run();
};
</script>
time
down
life
left
back
code
data
show
only
site