This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Converts the MSpec (http://github.com/machine/machine.specifications) xml | |
output to JUnit output format. | |
The aim of this transformation is to integrate MSpec tests to Jenkins CI. | |
Jenkins understands test results presented in JUnit format. | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\dev\neoeinstein\FAKE\packages\FSharp.Formatting.CommandTool\tools\fsformatting.exe "metadataformat" "--generate" "--outdir" "./docs/apidocs/" "--layoutroots" "./help/templates/" "./help/templates/reference/" "--sourceRepo" "https://github.com/fsharp/FAKE/blob/master" "--sourceFolder" "C:\dev\neoeinstein\FAKE" "--parameters" "page-description" "FAKE - F# Make" "page-author" "Steffen Forkmann, Mauricio Scheffer, Colin Bull" "project-author" "Steffen Forkmann, Mauricio Scheffer, Colin Bull" "github-link" "https://github.com/fsharp/FAKE" "project-github" "http://github.com/fsharp/fake" "project-nuget" "https://www.nuget.org/packages/FAKE" "root" "http://fsharp.github.io/FAKE" "project-name" "FAKE - F# Make" --dllfiles "C:\dev\neoeinstein\FAKE\build\FakeLib.dll" | |
[0 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.82.0, Culture=en-US, PublicKeyToken=null | |
[0 sec] Resolving assembly: FSharp.Compiler.Service.resources, Version=0.0.82.0, Culture=en-US, PublicKeyToken=null | |
[0 sec] Resolving ass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FastPrintf - a fast F# printf replacement | |
// Copyright (C) 2011-2012, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com) | |
// Report bugs and download new versions at http://hg.zeuxcg.org/fastprintf | |
// This library is distributed under the MIT License. | |
[<AutoOpen>] | |
module FastPrintf | |
// Configuration defines: | |
// FASTPRINTF_COMPAT_FS2 - enables F# 2.0 compatibility (no padding for %c) | |
// FASTPRINTF_COMPAT_FX3 - enables .NET 3.x compatibility (no ConcurrentDictionary) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/doc/Howto-thandy.txt b/doc/Howto-thandy.txt | |
index 98ee4ee..f542ca5 100644 | |
--- a/doc/Howto-thandy.txt | |
+++ b/doc/Howto-thandy.txt | |
@@ -234,6 +234,15 @@ history, and the head of the 'master' branch now just point | |
s at them. | |
If there are changes, git will try to merge for you. | |
+`git pull` is essentially just `git fetch` followed by `git merge`. If you |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## These directives are to help preserve anonymity while allowing for aggregation of data | |
## Only use this if you are proactively shredding log files | |
## If doing running statistical analysis that depends on timestamps | |
#LogFormat "%{Service}e:%p %l %{GEOIP_COUNTRY_NAME}e %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" anonymous | |
## For general use | |
LogFormat "%{Service}e:%p %l %{GEOIP_COUNTRY_NAME}e %{[%d/%b/%Y:%H:00:00 %z]}t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" anonymous | |
SetEnv Service Normal | |
SetEnvIfNoCase Host ".onion$" Service=Hidden GEOIP_COUNTRY_CODE=HS GEOIP_COUNTRY_NAME=Hidden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Important Links: | |
SNMP RFCs: | |
2578: Structure of Management Information Version 2 (SMIv2) | |
http://tools.ietf.org/html/rfc2578 | |
2579: Textual Conventions for SMIv2 | |
http://tools.ietf.org/html/rfc2579 | |
2580: Conformance Statements for SMIv2 | |
http://tools.ietf.org/html/rfc2580 | |
SNMP MIB Example: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Your location of the Jwt source | |
#I @"packages/System.IdentityModel.Tokens.Jwt/lib/net45" | |
#r "System.IdentityModel.Tokens.Jwt.dll" | |
#r "System.IdentityModel" | |
open System.IdentityModel.Tokens | |
let token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImV4cCI6MTU3NzgzNjgwMCwiaXNzIjoiSVNTVUVSIiwiYXVkIjoiQVVESUVOQ0UifQ.POsywz2VWFrISYj8PBFaeOsPMqaEaQIOJ1eZyaM9JsA" | |
let secretSecurityKey = InMemorySymmetricSecurityKey(System.Text.Encoding.UTF8.GetBytes("secret\000\000\000\000\000\000\000\000\000\000")) | |
let tokenParams = TokenValidationParameters(IssuerSigningKey = secretSecurityKey,ValidAudience="AUDIENCE",ValidIssuer="ISSUER") | |
let handler = JwtSecurityTokenHandler() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Source: https://github.com/neoeinstein/Hopac.Plus/blob/master/src/Hopac.Plus/Supervision.fs | |
namespace Hopac.Plus.Supervision | |
open Hopac | |
open Hopac.Infixes | |
open Hopac.Plus | |
open Hopac.Plus.Extensions | |
type Policy = | |
| Restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie | |
EXPOSE 8080 | |
RUN apt-get update && \ | |
apt-get install -y libunwind8 libicu52 && \ | |
rm -rf /var/lib/apt/lists/* | |
ADD bin/Release/netcoreapp1.3/debian.8-x64/publish/* /usr/local/lib/freya-svc/ | |
ENTRYPOINT /usr/local/lib/freya-svc/freya-poc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Decompiled with JetBrains decompiler | |
// Type: Microsoft.FSharp.Core.OptionModule | |
// Assembly: FSharp.Core, Version=4.4.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a | |
// MVID: 58348223-904C-F4DA-A745-038323823458 | |
// Assembly location: C:\dev\neoeinstein\visualfsharp\release\net40\bin\FSharp.Core.dll | |
// Compiler-generated code is shown | |
// IL code is shown in comments | |
using Microsoft.FSharp.Collections; | |
using System; |
OlderNewer