Skip to content

Instantly share code, notes, and snippets.

@Hunsu
Hunsu / resume.json
Last active December 1, 2021 21:54
resume.json
{
"basics": {
"name": "Rabah Meradi",
"label": "Senior Software Engineer @Rakuten France",
"image": "https://avatars.githubusercontent.com/u/6278443?v=4",
"email": "rabahmeradi@gmail.com",
"phone": "+33669035233",
"url": null,
"summary": "Senior full stack developer with expertise in backend (Java and Spring), frontend (ReactJS). I also have good experience with DevOps (CI/CD, Ansible). I love learning new things. ",
"profiles": [
@Hunsu
Hunsu / gist:6cc469c8caee622477ea
Last active September 12, 2021 13:14
Add image to word using docx4j
public class AddingAnInlineImage {
/**
* As is usual, we create a package to contain the document.
* Then we create a file that contains the image we want to add to the document.
* In order to be able to do something with this image, we'll have to convert
* it to an array of bytes. Finally we add the image to the package
* and save the package.
*/
public static void main (String[] args) throws Exception {
WordprocessingMLPackage wordMLPackage =
#!/bin/bash
# subsrec: Script to execute after a torrent completes within Deluge.
# 1. Install pip
# Ubuntu: sudo apt-get install python-pip
# Fedora: sudo yum install python-pip
# 2. Install subliminal
# sudo pip install subliminal