Skip to content

Instantly share code, notes, and snippets.

Frédéric Camblor fcamblor

Block or report user

Report or block fcamblor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fcamblor / Dockerfile
Last active Jun 27, 2019
Async profiler on docker-alpine
View Dockerfile
FROM tomcat:7-jre8-alpine
# See
RUN apk update && apk add --no-cache libc6-compat perl openjdk8-dbg
RUN mkdir /usr/local/async-profiler/ &&\
wget -O /usr/local/async-profiler/async-profiler.tar.gz &&\
cd /usr/local/async-profiler/ &&\
tar -xvzf async-profiler.tar.gz &&\
rm -f /usr/local/async-profiler/async-profiler.tar.gz
fcamblor /
Last active Aug 8, 2019
[MAC users] Updating Oracle JDK to OpenJDK

Starting from February 2019, Oracle JDK updates will require Commercial license if you make any business using Java (eg, you're a Java Developper not spending only your spare time developping with Java).

It includes Java not only on your server, but on your laptop as well.

Source | Source

What's nasty is Java versions will remains free to download since if you use it as an individual/personal use, you won't be concerned by the commercial aspects of the license.

fcamblor /
Last active May 13, 2019 — forked from eddiemoya/
Flip the last two commits in a branch using git-cherry-pick, git-update-ref and git-rev-parse. Interesting exercise using quite a bit of plumbing commands.
git rev-parse --verify $flip_last_branch_name > /dev/null 2>&1;
if [ "$res" = "0" ]; then
echo "An ongoing flip-last is already in progress ($res) ... execute following command to remove it : git branch -D $flip_last_branch_name";
exit -1;
fcamblor /
Last active Jun 20, 2019
CFP Speaker infos

Créateur de la conférence BDX I/O et ancien Bordeaux JUG leader, Frédéric aime cotoyer les différentes communautés tech et apprendre de nouvelles choses.
Le jour, il est Tech Lead sur les technos web/mobile chez 4SH. La nuit, il se transforme en commiter OSS (RestX et plein d'autres petits projets).
Il est extrêmement enthousiaste d'enfin voir arriver du typage statique sur le front avec Typescript.
⚠️Attention ⚠️: il trouve très souvent une solution à un problème avec une Google Spreadsheet.

fcamblor / 1_run-this-in-old-jira.js
Last active Oct 16, 2018
OLD JIRA to NEW JIRA Versions migrator
View 1_run-this-in-old-jira.js
// Navigate on "Project Version Administration" screen in OLD JIRA
// (<PROJECT KEY>/versions)
// and execute cote below in GOOGLE CHROME console
function copyEveryOldVersionInClipboard(){
var versions = jQuery("#project-config-versions-table tbody tr").map((idx, trEl) => {
var $tr = jQuery(trEl);
var releaseDate = $tr.find("[data-field-name='userReleaseDate']").text();
if(releaseDate === 'Add release date'){ releaseDate = ''; }
var description = $tr.find("[data-field-name='description']").text();
fcamblor / dev-mode-hotcompile.log
Last active May 9, 2018
restx & java10 errors
View dev-mode-hotcompile.log
/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/bin/java "-javaagent:/Users/fcamblor/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/181.4892.27/IntelliJ IDEA 2018.1 Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/181.4892.27/IntelliJ IDEA 2018.1" -Dfile.encoding=UTF-8 -classpath /Users/fcamblor/Documents/projects/restx/restx-samplest/target/classes:/Users/fcamblor/.m2/repository/io/restx/restx-core/0.36-SNAPSHOT/restx-core-0.36-SNAPSHOT.jar:/Users/fcamblor/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.10/jackson-core-2.8.10.jar:/Users/fcamblor/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.10/jackson-annotations-2.8.10.jar:/Users/fcamblor/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.10/jackson-databind-2.8.10.jar:/Users/fcamblor/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.8.10/jackson-
fcamblor / devoxxfr2018-specials.json
Created Apr 17, 2018
View devoxxfr2018-specials.json
"slots": [{
"roomId": "startups",
"notAllocated": false,
"fromTimeMillis": 1524036600000,
"toTimeMillis": 1524047400000,
"break": null,
"roomSetup": "classroom",
"roomName": "Village des startups",
"talk": {
fcamblor /
Created Mar 17, 2018

Simply include debug-requirejs-loading.js script before starting your requirejs dependencies :

<script src="scripts/require.js"></script>
<script src="path/to/debug-requirejs-loading.js"></script>
<script type="text/javascript">
require(['data/main'], function(){ console.log("requirejs started !"); });

It will show :

fcamblor / restx-raw-type-list.txt
Last active Feb 21, 2018
RestX "raw" types list
View restx-raw-type-list.txt
For an upcoming RestX feature (see, we need to identify what are the common "raw types" you are using on your projects.
A "raw type" has generally following properties :
- it allows to represent a "single" value
- it should be deserializable from a single string value
- it should be serializable to a single string value
- instance is generally immutable
Here are the current listing of identified types :
You can’t perform that action at this time.