Skip to content

Instantly share code, notes, and snippets.

View extrawurst's full-sized avatar
💭
→☕️→👨‍💻→♥️

extrawurst

💭
→☕️→👨‍💻→♥️
View GitHub Profile
WARNING [2014-02-04 18:14:55Z]: GLib-GObject-Warning: Attempt to add property __gtksharp_61_MonoDevelop_Ide_Gui_Components_ExtensibleTreeView+2bCustomCellRendererText::show-popup-button after class was initialised
Stack trace:
bei GLib.Object.gtksharp_register_property(IntPtr type, IntPtr name, IntPtr nick, IntPtr blurb, UInt32 property_id, IntPtr property_type, Boolean can_read, Boolean can_write)
bei GLib.Object.AddProperties(GType gtype, Type t)
bei GLib.Object.RegisterGType(Type t)
bei GLib.Object.LookupGType(Type t)
bei GLib.Object.LookupGType()
bei GLib.Object.CreateNativeObject(String[] names, Value[] vals)
bei Gtk.Object.CreateNativeObject(String[] names, Value[] vals)
bei Gtk.CellRendererText..ctor()
System.IO.FileLoadException: Eine von "DebugEngineWrapper.dll" importierte Prozedur konnte nicht geladen werden.
Dateiname: 'DebugEngineWrapper.dll'
bei System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
bei System.Reflection
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at D_Parser.Resolver.ASTScanner.AbstractVisitor.ScanSingleStatement(IStatement Statement, CodeLocation Caret, MemberFilter VisibleMembers)
at D_Parser.Resolver.ASTScanner.AbstractVisitor.ScanStatementHierarchy(IStatement Statement, CodeLocation Caret, MemberFilter VisibleMembers)
at D_Parser.Resolver.ASTScanner.AbstractVisitor.IterateThroughScopeLayers(CodeLocation Caret, MemberFilter VisibleMembers)
at D_Parser.Resolver.TypeResolution.TypeDeclarationResolver.ResolveIdentifier(Int32 idHash, ResolutionContext ctxt, ISyntaxRegion idObject, Boolean ModuleScope)
at D_Parser.Resolver.ExpressionSemantics.ExpressionTypeEvaluation.GetOverloads(IdentifierExpression id, ResolutionContext ctxt, IEnumerable`1 resultBases, Boolean deduceParameters)
at D_Parser.Resolver.TypeResolution.DResolver.ResolveTypeLoosely(IE
System.NullReferenceException: Object reference not set to an instance of an object.
at D_Parser.Resolver.ASTScanner.AbstractVisitor.ScanSingleStatement(IStatement Statement, CodeLocation Caret, MemberFilter VisibleMembers)
at D_Parser.Resolver.ASTScanner.AbstractVisitor.ScanStatementHierarchy(IStatement Statement, CodeLocation Caret, MemberFilter VisibleMembers)
at D_Parser.Resolver.ASTScanner.AbstractVisitor.IterateThroughScopeLayers(CodeLocation Caret, MemberFilter VisibleMembers)
at D_Parser.Completion.MemberCompletionEnumeration.EnumAllAvailableMembers(ICompletionDataGenerator cdgen, IBlockNode ScopedBlock, IStatement ScopedStatement, CodeLocation Caret, ParseCacheView CodeCache, MemberFilter VisibleMembers, ConditionalCompilationFlags compilationEnvironment)
at D_Parser.Completion.Providers.CtrlSpaceCompletionProvider.BuildCompletionDataInternal(IEditorData Editor, Char enteredChar)
at D_Parser.Completion.CodeCompletion.GenerateCompletionData(IEditorData editor, ICompletionDataGenerato
@extrawurst
extrawurst / gist:82864f72bb97dfea2481
Created April 15, 2015 01:21
d demplate for Type member
auto foo(T)()
{
pragma(msg, T.stringof);
return __traits(getAttributes, T);
}
pragma(msg, foo(MyType.member)); // leads to "Error: need 'this' for 'member' of type 'bool'"
pragma(msg, __traits(getAttributes, MyType.member)); // works
Monster.startMonster(fbb);
Monster.addPos(fbb, Vec3.createVec3(fbb, 1.0f, 2.0f, 3.0f, 3.0, (byte)4, (short)5, (byte)6));
Monster.addHp(fbb, (short)80);
Monster.addName(fbb, str);
Monster.addInventory(fbb, inv);
Monster.addTest_type(fbb, (byte)1);
Monster.addTest(fbb, mon2);
Monster.addTest4(fbb, test4s);
int mon = Monster.endMonster(fbb);
import derelict.imgui.imgui;
void main()
{
... load opengl and initialize window ...
DerelictImgui.load(); // initialize dynamic bindings
ImGuiIO* io = ig_GetIO();
// callback that imgui calls to let us render everything for it
@Path("/settings")
public class RestResource {
...
@GET
@Produces(MediaType.APPLICATION_JSON)
public Response getGlobalSettings() {
validate(() -> validationService.validateForGlobal(Permission.ADMIN));
<rest key="slack-rest" path="/stash2slack" version="1.0">
<description>Stash2Slack Rest API</description>
</rest>
@extrawurst
extrawurst / main.go
Created December 6, 2018 10:46
import part of my go file
package main
import (
"github.com/aws/aws-lambda-go/lambda"
"github.com/aws/aws-sdk-go/service/dynamodb"
"github.com/aws/aws-sdk-go/service/dynamodb/dynamodbattribute"
"github.com/aws/aws-sdk-go/aws"
awssession "github.com/aws/aws-sdk-go/aws/session"
alexa "github.com/ericdaugherty/alexa-skills-kit-golang"
)