Skip to content

Instantly share code, notes, and snippets.

View AljoschaMeyer's full-sized avatar

Aljoscha Meyer AljoschaMeyer

View GitHub Profile
@AljoschaMeyer
AljoschaMeyer / release.json
Last active April 10, 2017 16:23
ssbpm tmp0 release message
{
"type": "ssbpm/tmp0/release",
"package": "&aPackageHash=.abc123",
"change": "minor",
"dependencies": [
{
"link": "&aReleaseHash=.ybc123",
"fixed": false
}
],
@AljoschaMeyer
AljoschaMeyer / Bar.java
Created August 11, 2016 12:46
Different representations of two simple Java classes, one of which extends the other. Classes are represented as source code, as ASTs, as ASGs without unification and as ASGs with unification.
package foo;
public class Bar extends Foo {
}
@AljoschaMeyer
AljoschaMeyer / framework.xml
Created August 11, 2016 12:27
example output java asg plugin
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="ASCII"?>
<javagraphs:JavaASG xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:javagraphs="http://aljoscha-meyer.de/javagraphs/javagraphs/asg">
<allPackageBindings Name="asgframework.asgClassGeneration" referringNames="//@allCompilationUnits.0/@Package/@Name //@allCompilationUnits.0/@Package/@Name/@Name //@allCompilationUnits.9/@Package/@Name //@allCompilationUnits.9/@Package/@Name/@Name //@allCompilationUnits.10/@Package/@Name //@allCompilationUnits.10/@Package/@Name/@Name //@allCompilationUnits.15/@Package/@Name //@allCompilationUnits.15/@Package/@Name/@Name //@allCompilationUnits.16/@Imports.14/@Name/@Qualifier //@allCompilationUnits.16/@Imports.14/@Name/@Qualifier/@Name //@allCompilationUnits.18/@Package/@Name //@allCompilationUnits.18/@Package/@Name/@Name //@allCompilationUnits.21/@Package/@Name //@allCompilationUnits.21/@Package/@Name/@Name //@allCompilationUnits.22/@Package/@Name //@allCompilationUnits.22/@Package/@Name/@Name //@allCompilationUnits.23/@Package/
@AljoschaMeyer
AljoschaMeyer / snippets.cson
Last active July 30, 2016 12:57
Example for adding lilypond snippets in atom
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
@AljoschaMeyer
AljoschaMeyer / script.sh
Created March 14, 2016 11:07
Quick markdow preview in the browser using remarkable. Usage: `script.sh input.md output.html`
(echo -n '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Markdown</title>
<link rel="stylesheet" href="' && echo -n ~/md2html/style.css && echo '">
</head>
<body>' && remarkable $1 && echo ' </body>
</html>
') > $2