Skip to content

Instantly share code, notes, and snippets.

View 2jacobtan's full-sized avatar

Jacob Tan En 2jacobtan

View GitHub Profile
@Gabriella439
Gabriella439 / trans.md
Last active November 28, 2023 06:30
I'm trans

I'm writing this post to publicly come out as trans (specifically: I wish to transition to become a woman).

This post won't be as polished or edited as my usual posts, because that's kind of the point: I'm tired of having to edit myself to make myself acceptable to others.

I'm a bit scared to let people know that I'm trans, especially because I'm not yet in a position where I can transition (for reasons I don't want to share, at least not in public) and it's really shameful. However, I'm getting really

@Gabriella439
Gabriella439 / emotions.md
Created March 8, 2021 19:08
How to get in touch with your emotions

How to get in touch with your emotions

I wanted to share something I've learned in the course of therapy that I felt might benefit others. Specifically, I'd like to share how to better listen to one's emotions.

Why should we do this?

You might wonder why would we want to be in better touch with our emotions. One reason why is that everybody builds a metaphor or narrative for themselves

@vladak
vladak / varmilo keyboard.md
Last active May 28, 2024 07:57
Varmilo keyboard details
@graninas
graninas / haskeller_competency_matrix.md
Last active April 25, 2024 20:48
Haskeller competency matrix

Haskeller Competency Matrix

See also List of materials about Software Design in Haskell

Junior Middle Senior Architect
Haskell level Basic Haskell Intermediate Haskell Advanced Haskell Language-agnostic
Haskell knowledge scope Learn you a Haskell Get programming with Haskell Haskell in Depth Knows several languages from different categories
Get programming with Haskell Haskell in Depth Functional Design and Architecture
[Other books on Software Engineering in Haskell](https://github.com/graninas/software-design-in-haskell#B
#nullable enable
using System;
using System.IO;
namespace jt2.debug_helper_extensions
{
static class To_json_extensions
{
static string docPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
//try at https://dotnetfiddle.net/KvNhXi
#nullable enable
using System;
using System.Linq;
using System.Numerics;
using System.Globalization;
using static MyNamespace.ConsoleOutputHelpers;
@2jacobtan
2jacobtan / FizzBuzz_func.hs
Last active June 10, 2020 02:11
FizzBuzz via function composition
-- from https://www.youtube.com/watch?v=FyCYva9DhsI&t=21m03s
-- NDC conference talk: Clean Coders Hate What Happens to Your Code When You Use These Enterprise Programming Tricks
import Data.List (foldl')
import Data.List (intersperse)
import Data.Function ((&))
fizzbuzz :: Integer -> String
fizzbuzz n = fizz (buzz id) $ show n
where
@Guerra24
Guerra24 / win10-context-menus.css
Last active October 3, 2023 00:17
Self-contained CSS for context menus. For the updated/completed theme please use: https://github.com/Guerra24/Firefox-UWP-Style
menupopup {
-moz-appearance: none !important;
padding: 8px 2px 8px 2px !important;
background-color: #2B2B2B !important;
border: 1px #A0A0A0 solid !important;
min-width: 280px !important;
}
menuseparator {
-moz-appearance: none !important;
border: none !important;
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active June 6, 2024 13:00
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).
@2jacobtan
2jacobtan / Hide webpage floating elements (alt ver).js
Last active June 10, 2020 02:11
JavaScript bookmarklet: removes annoying floating elements on a webpage
/*
This alternate version works by appending a CSS rule to "document.head",
then appends the given class name to each floating element.
Overcomes the problem of child nodes having "visibility:visible", faced by the original version.
*/
javascript:
if (typeof aoeuToggle != "number"){
/* declare global variables for toggle functionality */