I hereby claim:
- I am flq on github.
- I am fquednau (https://keybase.io/fquednau) on keybase.
- I have a public key ASDraf_OUnnhDWmgwKEoWTSV7QHQ1pjDPm0pCCSGME0ttwo
To claim this, I am signing this object:
function indent([parameter(ValueFromPipeline)]$Content) | |
{ | |
$StringWriter = New-Object System.IO.StringWriter | |
$XmlWriter = New-Object System.XMl.XmlTextWriter $StringWriter | |
$xmlWriter.Formatting = "indented" | |
$xmlWriter.Indentation = 2 | |
$Content.WriteContentTo($XmlWriter) | |
$XmlWriter.Flush() | |
$StringWriter.Flush() | |
Write-Output $StringWriter.ToString() |
module BitempTests | |
type TimePoint<'S> = { | |
recorded : int; | |
actual : int; | |
state : 'S; | |
} | |
type HistoryEntry<'S> = { | |
time : int; |
I hereby claim:
To claim this, I am signing this object:
using System.Collections.Generic; | |
using Xunit; | |
using static NMeasure.U; | |
using static NMeasure.Tests.IiUnits; | |
namespace NMeasure.Tests | |
{ | |
public class IIUnitsTests | |
{ | |
public IIUnitsTests() |
-- http://projecteuler.net/problem=1 | |
sum [x | x <- [0..999], any (\d -> mod x d == 0) [3,5]] |
module Main where | |
import Control.Monad | |
import Data.List (maximumBy,minimumBy,find,(\\)) | |
import Data.Ord | |
import Graphics.UI.SDL as FX | |
type Point = (Int,Int) | |
type MovementPattern = [(Movement, [(Int, Int)] -> Bool)] |
- Cloned from a remote repository | |
- Initialized an empty repository | |
- Pulled from a remote repository | |
- Made first commit | |
- Pushed to a remote repository | |
- Made first local branch | |
- Pushed a new branch | |
- Added a second remote | |
- Merged a branch into another one | |
- Deleted a local branch |
import {assign} from 'lodash' | |
function startModule() { | |
//etc. | |
} | |
global['Project'] = assign(global['Project'] || {}, { | |
startModule | |
}); |
using System; | |
using System.Configuration; | |
using System.Diagnostics; | |
using System.IO; | |
namespace DifftoolStarter | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
function zzz { | |
$source = @" | |
[DllImport("powrprof.dll")] | |
public static extern void SetSuspendState(bool hibernate, bool forceCritical, bool disableWakeEvent); | |
"@ | |
$app = Add-Type -Namespace "Standby" -MemberDefinition $source -Name Sleep -PassThru; | |
$app::SetSuspendState($false,$true,$false); | |
} |