Skip to content

Instantly share code, notes, and snippets.

View chestercodes's full-sized avatar

Chester chestercodes

View GitHub Profile
@swlaschin
swlaschin / type-dependency-graph.fsx
Last active September 16, 2024 16:53
This script analyzes the dependencies between top level types in a .NET Assembly. It is then used to compare the dependency relationships in some F# projects with those in some C# projects.
(*
This script analyzes the dependencies between top level types in a .NET Assembly.
It is then used to compare the dependency relationships in some F# projects with those in some C# projects.
Note that no attempt has been made to optimize the code yet!
REQUIRES:
* Mono.Cecil for code analysis
From http://www.mono-project.com/Cecil#Download
@chmanie
chmanie / interceptor.js
Last active June 17, 2021 03:21
Intercept and assert HTTP calls in Selenium
module.exports = {
setup: function setup () {
window.__expectations = [];
window.__requests = [];
var _XHR = window.XMLHttpRequest;
window.XMLHttpRequest = function () {
var xhr = new _XHR();
var originalOpen = xhr.open;
var lastMethod;
xhr.open = function () {
@lafleurh
lafleurh / SyncFolders.ps1
Last active June 3, 2024 12:53
PowerShell script to do a two-way sync of Windows folders
Param (
[string]$LeftFolder,
[string]$RightFolder
)
function CreateFolderStructure([string]$Path)
{
if (-not [string]::IsNullOrWhiteSpace($Path))
{
if (-not (Test-Path $Path))
@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: