Skip to content

Instantly share code, notes, and snippets.

View jponge's full-sized avatar

Julien Ponge jponge

View GitHub Profile
@jponge
jponge / Main.java
Created February 6, 2012 15:46
A Jetty-based HTTP proxy. As easy as it can be.
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.servlet.ServletHandler;
import org.eclipse.jetty.servlets.ProxyServlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.io.IOException;
@jponge
jponge / proposal.md
Last active August 6, 2021 15:52
Draft of our upcoming proposal of Golo to the Eclipse Foundation

Discussion

Background

Describe where the project came from. What is the historical journey of the project; who/what company wrote the project. Did it go through any significant alterations/rewrites/language changes?

Golo comes from the research activities of the Dynamid team of the CITI-INRIA Laboratory at INSA-Lyon. After experimentations in the JooFlux dynamic aspect and code injection toolkit, we realized that we could take advantage of the invokedynamic / JSR 292 to design a small, efficient and easy to hack dynamically-typed programming language for the JVM. By "easy to hack", we mean that language and runtime experiments can be approached by students and hobbyists, not just programming language design experts.

We released the first preview of Golo at the Devoxx France conference in March 2013. The language was presented in various JUGs and conferences, including De

<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== -->
<!-- -->
<!-- Generated by Maven Help Plugin on 2021-07-05T15:07:56+02:00 -->
<!-- See: http://maven.apache.org/plugins/maven-help-plugin/ -->
<!-- -->
<!-- ====================================================================== -->
<!-- ====================================================================== -->
<!-- -->
<!-- Effective POM for project -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.smallrye</groupId>
<artifactId>smallrye-build-parent</artifactId>
<version>29-SNAPSHOT</version>
<packaging>pom</packaging>
<name>SmallRye: Build Parent</name>
<description>SmallRye Build Parent POM</description>
<url>https://smallrye.io</url>
<inceptionYear>2018</inceptionYear>
//usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS io.vertx:vertx-core:4.0.0
import io.vertx.core.Vertx;
public class RunVertx {
public static void main(String... args) {
var vertx = Vertx.vertx();
vertx.createHttpServer()
# A few aliases for exa, a ls replacement
alias l="exa --sort Name"
alias ll="exa --sort Name --long"
alias la="exa --sort Name --long --all"
alias lr="exa --sort Name --long --recurse"
alias lra="exa --sort Name --long --recurse --all"
alias lt="exa --sort Name --long --tree"
alias lta="exa --sort Name --long --tree --all"
alias ls="exa --sort Name"
@jponge
jponge / keybase.md
Created January 10, 2020 19:25
keybase.md

Keybase proof

I hereby claim:

  • I am jponge on github.
  • I am jponge (https://keybase.io/jponge) on keybase.
  • I have a public key whose fingerprint is CB14 9A91 D734 1C3D 9ED3 BC1F 9944 7033 FD4E 69B4

To claim this, I am signing this object:

@jponge
jponge / RewriteJsonObject.java
Created September 10, 2019 09:03
Rewriting Vert.x JsonObject to make it JS-friendly in ES4X / GraalVM
import org.objectweb.asm.*;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Arrays;
import static org.objectweb.asm.ClassWriter.COMPUTE_FRAMES;
import static org.objectweb.asm.Opcodes.*;
@jponge
jponge / gmail-github-filters.md
Created July 5, 2019 14:03 — forked from ldez/gmail-github-filters.md
Gmail and GitHub - Filters

Gmail and GitHub

Create new filters and create new labels.

Pull Request

from:(notifications@github.com) AND {"Patch Links" "approved this pull request." "requested changes on this pull request." "commented on this pull request." "pushed 1 commit." "pushed 2 commits." "pushed 3 commits."}

label: gh-pull-request

@jponge
jponge / docker-compose.yml
Created May 17, 2019 20:02
Docker Kafka and ZooKeeper using Strimzi
version: '3'
services:
zookeeper:
image: strimzi/zookeeper
command: [
"sh", "-c",
"bin/zookeeper-server-start.sh config/zookeeper.properties"
]
ports: