Skip to content

Instantly share code, notes, and snippets.

View seclerp's full-sized avatar
:octocat:

Andrii Rublov seclerp

:octocat:
View GitHub Profile
@swlaschin
swlaschin / fsharpjobs.md
Last active September 19, 2024 22:48
My suggestions on how to look for F# jobs

How to find F# jobs

People often ask me how to find F# jobs. I don't have any special connections to companies using F#, and I don't have any special tricks either. I wish I did!

So, given that, here's my take on F# jobs.

Job hunting

For job hunting my suggestions are:

open Microsoft.FSharp.Quotations.Patterns
open System.Reflection
let nullTraverse<'a> (expr: Quotations.Expr<'a>) (originObj : obj) : 'a option =
let inline tryGet (p : PropertyInfo) o =
p.GetMethod.Invoke(o,null)
|> Option.ofObj
let rec innerTraverse (nullableObj : obj) = function
| PropertyGet(None, props, _) -> tryGet props obj
@DavidWells
DavidWells / aligning-images.md
Last active September 23, 2024 13:44
Guide to aligning images in github readme.md files. https://davidwells.io/snippets/how-to-align-images-in-markdown

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

@jeremybeavon
jeremybeavon / MSBuildHelper.3.5.cs
Last active May 9, 2021 17:51
Programmatically call MSBuild from C#
// Requires the following references:
// Microsoft.Build.Engine
// Microsoft.Build.Framework
using System.Collections.Generic;
using Microsoft.Build.BuildEngine;
public static class MsBuildHelper
{
public static bool RunMsBuild(string projectFile, string target, IDictionary<string, string> properties)
@pitch-gist
pitch-gist / gist:2999707
Created June 26, 2012 22:21
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>