Skip to content

Instantly share code, notes, and snippets.

@cbrun
cbrun / Full-Markdown.md
Created March 7, 2025 12:41 — forked from allysonsilva/Full-Markdown.md
⚡️ Full Markdown Example

Headers

# h1 Heading 8-)
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading
import org.eclipse.emf.ecore.EObject;
import org.eclipse.jface.text.Document;
import org.eclipse.sirius.business.api.session.Session;
public class DocumentWithSession extends Document {
private Session session;
private EObject eObject;
@cbrun
cbrun / find-doc-jars.sh
Created August 9, 2016 08:46
crude script identifying eclipse plugins which are contributing infocenter content
for file in $1*.jar; do
if [[ ${file} != *"source_"* ]];then
if ( unzip -c "$file" | grep -q "org.eclipse.help.toc"); then
echo "$file"
fi
fi
done

Keybase proof

I hereby claim:

  • I am cbrun on github.
  • I am cbr (https://keybase.io/cbr) on keybase.
  • I have a public key whose fingerprint is EA54 7305 A063 139B CF25 4537 3292 2081 4063 705D

To claim this, I am signing this object:

package org.gemoc.arduino.operationalsemantics
import fr.inria.diverse.k3.al.annotationprocessor.Aspect
import fr.inria.diverse.k3.al.annotationprocessor.InitializeModel
import fr.inria.diverse.k3.al.annotationprocessor.Main
import fr.inria.diverse.k3.al.annotationprocessor.OverrideAspectMethod
import fr.inria.diverse.k3.al.annotationprocessor.Step
import fr.obeo.dsl.arduino.ArduinoUtils
import fr.obeo.dsl.arduino.BinaryBooleanExpression
import fr.obeo.dsl.arduino.BinaryIntegerExpression
@cbrun
cbrun / pom.xml
Last active August 29, 2015 14:28
Launching a UML 2 C code generation from Maven using Acceleo Launcher
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<name>Export Embedded C code from UML model</name>
<groupId>org.eclipse.acceleo.examples</groupId>
<artifactId>org.eclipse.acceleo.examples.equinox.launcher.aird
</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
conversion.put("<%false%>",""); //194 occurrences
conversion.put("<%eContainer(\"Interaction\")%>",""); //180 occurrences
conversion.put("<%name%>",""); //133 occurrences
conversion.put("<%if ($startingEndPredecessor){%><%$startingEndPredecessor.semanticEnd%><%}%>",""); //132 occurrences
conversion.put("<%eContents.filter(\"EClass\")%>",""); //119 occurrences
conversion.put("send_<%message.name%>",""); //108 occurrences
conversion.put("m<%eContainer(\"Interaction\").messages.nSize %>",""); //99 occurrences
conversion.put("receive_<%message.name%>",""); //93 occurrences
conversion.put("<%if ($finishingEndPredecessor){%><%$finishingEndPredecessor.semanticEnd%><%}%>",""); //90 occurrences
conversion.put("<%eType%>",""); //84 occurrences
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.ecoretools</groupId>
<artifactId>rcpttTests</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>rcpttTest</packaging>
<properties>
<ci4rcptt-maven-version>1.5.6-SNAPSHOT</ci4rcptt-maven-version>
@cbrun
cbrun / HTMLResourceImpl.java
Created June 11, 2014 12:30
Simple HTML Parser for EMF
package org.eclipse.emf.compare.example.webdev;
import java.io.IOException;
import java.io.InputStream;
import java.util.Map;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.InternalEObject;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
@cbrun
cbrun / pom.xml
Created January 26, 2014 10:34
Auto-provision and launch b3 aggregation using Maven/Tycho
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<name>Eclipse SimRel Aggregation</name>
<groupId>org.eclipse.simrel</groupId>
<artifactId>org.eclipse.simrel.aggregate</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>