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
#![allow(non_snake_case)] | |
#![allow(dead_code)] | |
// port of: | |
// Creating and Printing a TypeScript AST | |
// https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#creating-and-printing-a-typescript-ast | |
extern crate typescript_ts as ts; | |
extern crate chakracore; | |
use chakracore::context::ContextGuard; |
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
GNU ld (GNU Binutils) 2.25.1 | |
Supported emulations: | |
i386pep | |
i386pe | |
using internal linker script: | |
================================================== | |
/* Default linker script, for normal executables */ | |
/* Copyright (C) 2014 Free Software Foundation, Inc. | |
Copying and distribution of this script, with or without modification, | |
are permitted in any medium without royalty provided the copyright |
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
cargo : Compiling octh_helloworld v0.1.0 (file:///C:/Users/camer/rs/octh_helloworld) | |
At line:1 char:1 | |
+ cargo build 2>&1 > build.txt | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : NotSpecified: ( Compiling oc...cth_helloworld):String) [], RemoteException | |
+ FullyQualifiedErrorId : NativeCommandError | |
error | |
: linking with `C:/Octave/Octave-4.2.1/bin/gcc.exe` failed: exit code: 1 | |
| |
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
# run this in PowerShell as Administrator | |
# it will launch Visual Studio Installer and prompt you to add | |
# all artifacts required to build Visual F# | |
if (-not (Get-Module -ListAvailable -Name VSSetup)) { | |
Install-Module VSSetup -Scope CurrentUser | |
} | |
$vs = Get-VSSetupInstance | |
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vs_installershell.exe" modify ` |
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
dotnet sourcelink-git create ` | |
-f "obj\Debug\net4\sourcelink.json" ` | |
-u "https://raw.githubusercontent.com/onovotny/bc-csharp/{commit}/*" ` | |
-s ".\AssemblyInfo.cs" ` | |
-s ".\asn1\Asn1Encodable.cs" ` | |
-s ".\asn1\Asn1EncodableVector.cs" ` | |
-s ".\asn1\Asn1Exception.cs" ` | |
-s ".\asn1\ASN1Generator.cs" ` | |
-s ".\asn1\Asn1InputStream.cs" ` | |
-s ".\asn1\Asn1Null.cs" ` |
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
{ | |
"frameworks": { | |
"net46": { | |
"dependencies": { | |
"Argu": "3.7", | |
"FSharp.Configuration": "0.6.4", | |
"FSharp.Data": "2.3.2", | |
"FSharp.Data.SqlClient": "1.8.2", | |
"Google.Cloud.Logging.Log4Net": "1.0.0-beta08", | |
"Microsoft.SqlServer.Types": "11.0.2", |
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
git config --global --unset core.autocrlf | |
git config --system --unset core.autocrlf | |
git config --global --unset core.eol | |
git config --system --unset core.eol | |
git clone $repo test | |
git clone -c core.autocrlf=false $repo testAutocrlfFalse | |
git clone -c core.autocrlf=false -c core.eol=crlf $repo testAutocrlfFalseEolCrlf | |
git clone -c core.autocrlf=false -c core.eol=lf $repo testAutocrlfFalseEolLf | |
git clone -c core.autocrlf=input $repo testAutocrlfInput |
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
#!/bin/sh -e | |
npm install --save-dev typescript | |
npm install --save-dev http-server | |
# browser | |
npm install --save whatwg-fetch | |
npm install --save-dev @types/whatwg-fetch | |
npm install --save es6-promise | |
npm install --save systemjs | |
npm install --save-dev @types/systemjs |
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
interface FreeGeoIP { | |
ip: string; | |
country_code: string; | |
country_name: string; | |
region_code: string; | |
region_name: string; | |
city: string; | |
zip_code: string; | |
time_zone: string; | |
latitude: number; |
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
interface FreeGeoIP { | |
ip: string; | |
country_code: string; | |
country_name: string; | |
region_code: string; | |
region_name: string; | |
city: string; | |
zip_code: string; | |
time_zone: string; | |
latitude: number; |