View gist:992c5eee016bca064341
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
SetUp : Autofac.Core.DependencyResolutionException : An exception was thrown while invoking the constructor 'Void .ctor()' on type 'CouchbaseLiteLibraryFactory'. ---> An exception was thrown by the type initializer for Couchbase.Lite.Manager (See inner exception for details.) | |
----> System.TypeInitializationException : An exception was thrown by the type initializer for Couchbase.Lite.Manager | |
----> System.TypeInitializationException : An exception was thrown by the type initializer for Couchbase.Lite.ManagerOptions | |
----> System.TypeInitializationException : An exception was thrown by the type initializer for System.Net.ServicePointManager | |
----> System.Configuration.ConfigurationErrorsException : Error Initializing the configuration system. | |
----> System.Threading.ThreadAbortException : Thread was being aborted | |
TearDown : System.NullReferenceException : Object reference not set to an instance of an object |
View Stack trace without Autofac
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
SetUp : System.TypeInitializationException : An exception was thrown by the type initializer for System.Collections.Generic.List`1 | |
----> System.TypeLoadException : Could not load type 'Couchbase.Lite.Replication[]' from assembly 'Couchbase.Lite, Version=1.1.1.0, Culture=neutral, PublicKeyToken=null'. | |
TearDown : System.NullReferenceException : Object reference not set to an instance of an object | |
at Couchbase.Lite.Manager..ctor (System.IO.DirectoryInfo directoryFile, Couchbase.Lite.ManagerOptions options) [0x00000] in <filename unknown>:0 | |
at Couchbase.Lite.Manager.get_SharedInstance () [0x00000] in <filename unknown>:0 | |
at PhonicScore.LibraryCouchbaseLite.CouchbaseLiteLibraryFactory..ctor () [0x00007] in /Users/sebastian/Documents/Development/PhonicScore/_Common/Library/CouchbaseLiteLibraryFactory.cs:20 | |
at PhonicScore.Tests.Library.TestLibrarySheet.SetUp () [0x00022] in /Users/sebastian/Documents/Development/PhonicScore/_Common/Tests/Library_Tests/TestLibrarySheet.cs:37 | |
at (wrapper managed-to-na |
View auth.constants.js
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
(function() { | |
'use strict'; | |
angular | |
.module('app.auth') | |
.constant('authEvents', { | |
LOGIN_SUCCESS: 'auth_login_success', | |
LOGIN_FAILED: 'auth_login_failed', | |
LOGOUT_SUCCESS: 'auth_logout_success', | |
LOGOUT_FAILED: 'auth_logout_failed', |
View auth.service.js
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
(function() { | |
'use strict'; | |
angular | |
.module('app.auth') | |
.factory('authService', authService); | |
authService.$inject = ['User', 'authEvents']; | |
/* @ngInject */ |
View median.cpp
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
// Compute the median with std::nth_element | |
template<class T> | |
T vtkComputeMedianOfArray(T *aBegin, T *aEnd) | |
{ | |
T *aMid = aBegin + (aEnd - aBegin)/2; | |
std::nth_element(aBegin, aMid, aEnd); | |
T m = *aMid; | |
// if even size, get max of lower part of array and compute the average | |
if (aMid - aBegin == aEnd - aMid) |
View mathjs.d.ts
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
declare namespace MathJS { | |
interface Fraction {} | |
interface MathArray {} | |
interface Matrix {} | |
function config(options: any): void; |
View Gruntfile.js
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.exports = function(grunt) { | |
grunt.initConfig({ | |
// refreshes ts definition files | |
typings: { | |
install: {} | |
}, | |
}); | |
grunt.loadNpmTasks('grunt-typings'); |
View can2udp.service
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
[Unit] | |
Description=can2udp | |
After=multi-user.target socketcan-interface.service | |
Requires=socketcan-interface.service | |
[Service] | |
Type=simple | |
ExecStart=/home/pi/development/railroad/can2udp/src/can2udp -f -v | |
[Install] |
View .bootstraprc.yaml
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
--- | |
# Output debugging info | |
# loglevel: debug | |
# Major version of Bootstrap: 3 or 4 | |
bootstrapVersion: 4 | |
# If Bootstrap version 4 is used - turn on/off flexbox model | |
useFlexbox: true |
OlderNewer