Skip to content

Instantly share code, notes, and snippets.


James Moore banshee

View GitHub Profile
View sample.kt
package com.banshee.kotlinsamplecode
class KotlinSample {
data class Holder(val x: Int, val s: String)
companion object {
// one of these for all instances of KotlinSample
val x = com.banshee.kotlinsamplecode.KotlinSampleObject.fn("whatever")
View gist:66462afe0af9ab72274acdc3573f0ba2
msbuild is from xamarin:
james@Jamess-MacBook-Pro:~/Projects/CallbackBugRepro/BadTestFile$ which msbuild
Script started on Fri Apr 13 09:26:14 2018
command: msbuild
[?1h=Microsoft (R) Build Engine version (xplat-master/67e8006d Thu Mar 8 17:15:24 EST 2018) for Mono
Copyright (C) Microsoft Corporation. All rights reserved.
View gist:15f1a5fbce0c71af6498656bb02ebc67
ANDROID_LINK_debug_arm64-v8a = -fPIC -isystem $(NDK)/sysroot/usr/include/aarch64-linux-android -D__ANDROID_API__=21 -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -std=c++11 -std=c++11 -fexceptions -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a --sysroot $(NDK)/platforms/android-21/arch-arm64 -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -L$(NDK)/sources/cxx-stl/llvm-libc++/libs/arm64-v8a -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname, -o $(ANDROID_NDK_TARGET_FILE) -Wl,-whole-archive $(LIBS) $(LDFLAGS) -Wl,-no-whole-archive -llog -lz -lm "$(NDK)/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/"
ANDROID_CXX_debug_arm64-v8a_flags = --target=aarch64-none-linux-android --gcc-toolchain=$(NDK)/toolchains/aarch64-linux-android-4.9/prebuilt/$(TOOLS_OS_PLATFORM) --sysroot=$(NDK)/sysroot -isystem $(NDK)/sysroot/usr/include/
banshee / report.txt
Created Apr 12, 2017
xamarin crash report
View report.txt
Process: VisualStudio [96608]
Path: /Applications/Visual
Version: (
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: VisualStudio [96608]
User ID: 501
Date/Time: 2017-04-12 11:19:18.369 -0700
banshee / errors.txt
Created Mar 30, 2017
spark shell errors
View errors.txt
Script started on Thu Mar 30 08:43:31 2017
command: ./bin/spark-shell --master local[4]
Using Spark's default log4j profile: org/apache/spark/
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
17/03/30 08:43:39 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
17/03/30 08:43:39 WARN Utils: Service 'SparkUI' could not bind on port 4040. Attempting port 4041.
17/03/30 08:43:41 WARN General: Plugin (Bundle) "org.datanucleus.api.jdo" is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL "file:/Users/james/spark/jars/datanucleus-api-jdo-3.2.6.jar" is already registered, and you are trying to register an identical plugin located at URL "file:/Users/james/spark-2.1.0-bin-hadoop2.7/jars/datanucleus-api-jdo-3.2.6.jar."
17/03/30 08:43:41 WARN General: Plugin (Bundle) "org.datanucleus" i
banshee / build.txt
Created Mar 10, 2017
build failure
View build.txt
Building: MultidexTest (Debug)
Build started 3/10/2017 1:57:47 PM.
Project "/Users/james/Projects/MultidexTest/MultidexTest/MultidexTest.csproj" (Build target(s)):
Target _SetLatestTargetFrameworkVersion:
Found Android SDK. API levels: 19, 21, 23, 24, 25
View AndroidManifest.xml
This is the manifest that Xamarin creates when you include Xamarin.Firebase.Messaging. It's what you get when you
have this in your base AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
xmlns:android =""
package ="com.digium.fcmtest2">
View AndroidManifestForFcm.xml
There's a version of AndroidManifest.xml that's generated by Xamarin Studio at
(That gist does not contain the manual changes for and
<?xml version="1.0" encoding="utf-8"?>
android:name="android.permission.WAKE_LOCK" />
View fsharpconsumer.fs
module FSharpConsumer
let a = FSharpNamespace.Class2.Something;
// Notice that in F# we use "open" for both modules and namespaces.
// See the F# spec section 14.1.3 Opening Modules and Namespace Declaration Groups
// for precise details.
open FSharpNamespace
let b = Class2.Something;
View fsharpmodulefile.fs
module FSharpModule
let fn() = 1
type Class1() =
member this.X = "F#"