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
[<AutoOpen>] | |
module EdgeJs.FSharp | |
open System | |
open System.Threading.Tasks | |
type Async with | |
static member Box (r:Async<'TResult>) = | |
async { | |
let! o = r |
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
///<reference path='typescriptServices.d.ts' /> | |
// causes IntelliSense to partially work | |
// needed by Node.js at runtime, but comment out to use IntelliSense | |
var TypeScript = require('./typescriptServices'); | |
// node.d.ts redefines require(), so must be below above statement | |
///<reference path='node.d.ts' /> | |
import fs = require('fs'); | |
import path = require('path'); |
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
open System | |
open System.IO | |
open System.Reflection | |
Directory.GetFiles(".","*.dll",SearchOption.TopDirectoryOnly) |> Seq.iter (fun f -> | |
printfn "%s" f | |
let a = Assembly.LoadFrom f | |
match a.GetCustomAttribute<AssemblyVersionAttribute>() with | |
| null -> () |
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
module RemoveConfigs.App | |
open System | |
open System.Collections.Generic | |
open System.Text.RegularExpressions | |
// reference Microsoft.Build that requires Microsoft.Build.Framework | |
open Microsoft.Build.Construction | |
open Microsoft.Build.Evaluation |
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
using ProtoBuf; | |
using System.IO; | |
namespace Riak | |
{ | |
[ProtoContract] | |
public sealed class RpbErrorResp | |
{ | |
public byte[] errmsg { get; set; } | |
public uint errcode { get; set; } |
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
namespace BareMin | |
open System | |
open Android.App | |
open Android.Views | |
open Android.Graphics | |
// my phone has a Canvas of 480 x 690 | |
// (0,0) is the upper left hand corner |
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
let cs s = java.lang.CharSequence.op_Implicit s | |
type org.redline_rpm.header.Format with | |
member x.Lead with get() = x.getLead() | |
member x.Signature with get() = x.getSignature() | |
member x.Header with get() = x.getHeader() | |
type org.redline_rpm.header.Header.HeaderTag with | |
member x.Name with get() = x.getName() |
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
apply plugin: 'java' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
compile('org.vafer:jdeb:1.3'){ | |
exclude module: 'maven-core' | |
exclude module: 'maven-plugin-api' |
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
[<AutoOpen>] | |
module Fantomas.AstRcd | |
open System | |
open Fantomas | |
open Microsoft.FSharp.Compiler.Ast | |
open Microsoft.FSharp.Compiler.Range | |
type ParsedImplFileInputRcd = { | |
File: string |
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"?> | |
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |
<PropertyGroup> | |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
<SchemaVersion>2.0</SchemaVersion> | |
<ProjectGuid>a5726914-661b-4f63-afe5-c6a07df2e33a</ProjectGuid> | |
<OutputType>Library</OutputType> | |
<RootNamespace>Xmen.Core</RootNamespace> |