Skip to content

Instantly share code, notes, and snippets.

View mathieuravaux's full-sized avatar

Mathieu Ravaux mathieuravaux

  • Paris
View GitHub Profile
@cldwalker
cldwalker / spike-day-02-03-20.md
Last active December 29, 2023 04:52
GraalVM dive in Clojure at work

Spike

I looked into the state of GraalVM and Clojure and wrote some small work-related scripts.

GraalVM Build Tools

@MichaelDrogalis
MichaelDrogalis / gist:bc620a7617396704125b
Last active May 22, 2018 14:26
The Anatomy of an Onyx Program

The Anatomy of an Onyx Program

In this tutorial, we'll take an in-depth view of what's happening when you execute a simple Onyx program. All of the code can be found in the Onyx Starter repository if you'd like to follow along. The code uses the development environment with HornetQ and ZooKeeper running in memory, so you don't need additional dependencies to run the example for yourself on your machine.

The Workflow

At the core of the program is the workflow - the flow of data that we ingest, apply transformations to, and send to an output for storage. In this program, we're going to ingest some sentences from an input source, split the sentence into individual words, play with capitalization, and add a suffix. Finally, we'll send the transformed data to an output source.

Let's examine the workflow pictorially:

@mloughran
mloughran / .gitignore
Last active January 1, 2016 05:49
Comparison of using run time & memory usage to run a ruby script that requires a single gem (which does nothing) then exits.
.bundle
bundle
vendor
@meesterdude
meesterdude / README.md
Last active March 23, 2017 17:42
emoji_spec is a microgem to put emoji in your rspec output.

Emoji Spec

results Tired of the same, dull rspec output? liven it up with some emoji!

Below are the sets presently available, and their corresponding id. if you don't set an ID, one will be randomly chosen every run. Emoji icons may not render in certain terminals.

(pass, fail, pending)

emoji

@ragingwind
ragingwind / Backend Architectures Keywords and References.md
Last active April 17, 2024 10:51
Backend Architectures Keywords and References
@skierkowski
skierkowski / deploy-to-heroku-without-git.rb
Created February 18, 2013 05:30
Very basic example of deploying to Heroku without git
require 'json'
require 'rest-client'
require 'heroku'
require "heroku/command/base"
require "anvil"
require "anvil/engine"
require "uri"
class Cisaurus
@ryandotsmith
ryandotsmith / hack-reactor.md
Last active November 24, 2022 07:01
Hack Reactor Talk

Tales From a Heroku User

Here are some things I have learned along the way.

Last Updated: 2013-02-08

Original Audience: Hack Reactor

About

anonymous
anonymous / gen_event_caster.erl
Created January 7, 2013 12:59
-module(gen_event_caster).
-author('Fernando Benavides <elbrujohalcon@inaka.net>').
-behaviour(gen_event).
-export([start/2]).
-export([init/1, handle_event/2, handle_call/2, handle_info/2, terminate/2, code_change/3]).
-type receiver() :: atom() | pid().
@rubiii
rubiii / how_it_works.md
Created December 2, 2012 11:14
MacVim-Formatter for RSpec
$ rspec --format MacVimFormatter --color spec
705696364586003 93566 enc/encdb.so
705696365603476 19532 enc/encdb.so
705696365698893 89233 enc/trans/transdb.so
705696366174494 102380 rubygems.rb
705696369476830 118348 rubygems/defaults
705696369880115 59824 rbconfig
705696372745657 73832 rubygems/deprecate
705696373318504 61119 rubygems/exceptions
705696373838301 96976 rubygems/defaults/operating_system
705696373947581 85294 rubygems/defaults/ruby