Skip to content

Instantly share code, notes, and snippets.

View ErikSchierboom's full-sized avatar
💭
I only respond on Tuesdays & Fridays

Erik Schierboom ErikSchierboom

💭
I only respond on Tuesdays & Fridays
View GitHub Profile
@ErikSchierboom
ErikSchierboom / 48in24.md
Last active January 4, 2024 10:33
48in24.md
@ErikSchierboom
ErikSchierboom / functional-february.md
Last active January 26, 2023 11:28
Functional february (C# vs F#)

Functional first

let createAddFunction amount =
    let addFunction = fun x -> amount + x
    addFunction

let applyFunction func x =
    func x
@ErikSchierboom
ErikSchierboom / exercise
Last active January 17, 2023 08:16
Script to submit exercism exercise
#!/usr/bin/env bash
exercise=$(echo $PWD | awk -F/ '{print $(NF)}')
track=$(echo $PWD | awk -F/ '{print $(NF-1)}')
if [[ $(git ls-files --error-unmatch README.md 2> /dev/null) ]]; then
type="iteration"
else
type="solution"
fi
@ErikSchierboom
ErikSchierboom / WeighingMachinePossibleSolution.cs
Last active September 28, 2021 09:50 — forked from 18-F-cali/WeighingMachinePossibleSolution.cs
Weighing machine possible solution
using System;
class WeighingMachine
{
private int _weight;
public WeighingMachine(int precision)
{
Precision = precision;
}
@ErikSchierboom
ErikSchierboom / open-issues.md
Last active May 21, 2021 18:07
Open issues on Exercism per 2021-05-21
track status # issues
exercism/05ab1e OPEN 18
exercism/05ab1e CLOSED 1
exercism/ada OPEN 19
exercism/ada CLOSED 1
exercism/analyzer-builder OPEN 1
exercism/analyzer-orchestrator OPEN 1
exercism/analyzer-pipeline OPEN 1
exercism/arkov CLOSED 2
@ErikSchierboom
ErikSchierboom / active-maintainers.txt
Last active May 28, 2021 17:42
Active Exercism maintainers
Track: 05ab1e
0 current maintainers
0 active maintainers
0 inactive maintainers
Track: ada
0 current maintainers
0 active maintainers
0 inactive maintainers
@ErikSchierboom
ErikSchierboom / practice-exercise-migration.md
Created February 5, 2021 13:58
Practice Exercise migration

We've made some changes to the v3 spec this week, most notably we've defined what the file structure looks like for Practice Exercises. See the spec for more information.

This PR applies changes to the track to conform to the latest spec. Each change is made as a separate commit, to help with reviewing. When merging this PR, I would suggest to not squash this to preserve the individual commits.

As having this PR merged is essential to prepare this track for Exercism v3, we'll automatically merge this PR one week after it was opened (if it hasn't been merged already).

Here are the changes made:

Add practices field to Practice Exercises

@ErikSchierboom
ErikSchierboom / tags.md
Last active January 19, 2021 13:25
Exercism v3 tags

Paradigm

  • Declarative
  • Functional
  • Imperative
  • Logic
  • Object-oriented
  • Procedural

Typing

@ErikSchierboom
ErikSchierboom / docker-compose.yml
Created July 24, 2020 17:22
Exercism v3 website
version: "3.2"
services:
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: password
volumes:
- ./v3-website/docker/init.sql:/docker-entrypoint-initdb.d/v3-website.sql
redis:
@ErikSchierboom
ErikSchierboom / results.json
Created May 8, 2020 13:53
Generated results.json
{
"status": "fail",
"tests": [
{
"name": "Test Using Assert Equal In Expression Body With Expected Int",
"test": "FakeExpressionBodies.Test_Using_Assert_Equal_In_Expression_Body_With_Expected_Int",
"expected": "-5",
"command": "Fake.Invert(5)",
"status": "pass"
},