Skip to content

Instantly share code, notes, and snippets.

View schuster-rainer's full-sized avatar

Rainer Schuster schuster-rainer

View GitHub Profile
@hodzanassredin
hodzanassredin / FileSystemTypeProvider.fs
Created September 25, 2011 19:57
Sample of file system TypeProvider
namespace FilesTypeProvider
open System.Reflection
open Microsoft.FSharp.Core.CompilerServices
open Samples.FSharpPreviewRelease2011.ProvidedTypes
open System.Text.RegularExpressions
[<TypeProvider>]
type public CheckedFilesProvider() as this =
@robertlj
robertlj / gist:3552582
Created August 31, 2012 13:20
CLojureCLR command line build Mono Win7/Win8 (4.0 Profile)
xbuild build.proj /target:Test /property:Configuration="Debug 4.0";Platform="Any CPU"
xbuild build.proj /target:Build /property:Configuration="Debug 4.0";Platform="Any CPU"
xbuild build.proj /target:Dist /property:Configuration="Debug 4.0";Platform="Any CPU"
xbuild build.proj /target:Test /property:Configuration="Release 4.0";Platform="Any CPU"
xbuild build.proj /target:Build /property:Configuration="Release 4.0";Platform="Any CPU"
@helderco
helderco / db-open
Created October 6, 2015 14:51
Script to open a mysql database in Sequel Pro from a service in docker-compose.
#!/bin/bash
set -e
show_help() {
cat << EOF
Usage: ${0##*/} [-u USER] [-p PASS] [-P PORT] [-H HOST] [DATABASE]
${0##*/} -h
Open a standard connection in Sequel PRO.