Skip to content

Instantly share code, notes, and snippets.

@webcane
webcane / rest-api-response-format.md
Created May 2, 2023 06:11 — forked from igorjs/rest-api-response-format.md
REST API response format based on some of the best practices
Verifying that "webcane.id" is my Blockstack ID. https://onename.com/webcane
<table>
<tr th:each="var : ${#vars}">
<td th:text="${var.key}"></td>
<td th:text="${var.value}"></td>
</tr>
</table>
@webcane
webcane / java
Created January 1, 2016 20:17
e4c exception: InjectionException: AssertionFailedException: null argument
org.eclipse.e4.core.di.InjectionException: org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:62)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:225)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:107)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.runProcessor(ModelAssembler.java:259)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.runProcessors(ModelAssembler.java:221)
at org.eclipse.e4.ui.internal.workbench.ModelAssembler.processModel(ModelAssembler.java:82)
at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:265)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:435)
@webcane
webcane / .project
Last active August 29, 2015 14:23
.project
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>NAME_OF_PROJECT</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
@webcane
webcane / .classpath
Last active August 29, 2015 14:23
.classpath
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<plugin>
<extension
id="modelPartDescriptorContribution"
point="org.eclipse.e4.workbench.model">
<fragment
uri="partDescriptorFragment.e4xmi">
</fragment>
</extension>
</plugin>
@webcane
webcane / Data-uri-converter.markdown
Created April 28, 2014 07:19
A Pen by Moncho Varela.
@webcane
webcane / fence-animation.markdown
Created March 14, 2014 18:15
A Pen by Mikhail Niedre.
<!doctype html>
<html>
<head>
<!-- Run in full-screen mode. -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Make the status bar black with white text. -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">