Skip to content

Instantly share code, notes, and snippets.

View resume.json
{
"basics": {
"name": "Quentin Lapointe",
"label": "DevSecOps - ENSIMAG",
"picture": "",
"email": "q.lapointe@gmail.com",
"phone": "0682355614",
"website": "",
"summary": "https://resume.lapw.at/en\nhttps://resume.lapw.at/fr",
"location": {
View void_luks
$ cryptsetup open --type plain /dev/nvme0n1 ssd
$ dd if=/dev/zero of=/dev/mapper/ssd bs=4M
$ fdisk /dev/nvme0n1
> p1: 500M EFI System
> p2: reste Linux filesystem
$ mkfs.ext2 -L boot /dev/nvme0n1p1
$ cryptsetup benchmark
$ cryptsetup -c aes-xts-plain64 -h sha512 -s 256 -y luksFormat /dev/nvme0n1p2
> YES
> PASSPHRASE
View dubyflow.rb
use_bpm 130
use_synth :piano
x = (ring 0.75, 4)
pans = (range -0.75, 0.75, 0.5).mirror
frequencies = (ring 1)
chords = :e3
chord_scale = (ring :minor, :minor, :minor, :minor)
lfo = (range 40, 70, 5).mirror
live_loop :chords do
View 3d
#include "./../include/IndexedCubeRenderable.hpp"
#include "./../include/gl_helper.hpp"
#include "./../include/log.hpp"
#include "./../include/Utils.hpp"
#include <glm/gtc/type_ptr.hpp>
#include <GL/glew.h>
IndexedCubeRenderable::IndexedCubeRenderable(ShaderProgramPtr shaderProgram) :
Renderable(shaderProgram),
View chewam.zsh-theme
# PROMPT='%{$fg[magenta]%}[%~] %{$reset_color%}➜ '
#
# # The right-hand prompt
#
# RPROMPT='%{$fg[red]%}${battery_command} %{$fg[yellow]%}%D{ %e %b} ${time}%{$reset_color%}'
#
# # Add this at the start of RPROMPT to include rvm info showing ruby-version@gemset-name
# # %{$fg[yellow]%}$(~/.rvm/bin/rvm-prompt)%{$reset_color%}
#
# # local time, color coded by last return code
View batcharge.py
#!/usr/bin/env python
# coding=UTF-8
import math, subprocess
p = subprocess.Popen(["ioreg", "-rc", "AppleSmartBattery"], stdout=subprocess.PIPE)
output = p.communicate()[0]
o_max = [l for l in output.splitlines() if 'MaxCapacity' in l][0]
o_cur = [l for l in output.splitlines() if 'CurrentCapacity' in l][0]
@lapwat
lapwat / fractales_revue.txt
Created Apr 18, 2016
Revue du TP Fractales
View fractales_revue.txt
==== Fiche d'évaluation ====
=== Cette évaluation porte sur le travail de ===
identifiant du rendu : ???
=== Identité du relecteur ===
Nom : Lapointe
Prénom : Quentin
=== Compétence du relecteur en programmation C ===
@lapwat
lapwat / australian_flag.svg
Last active Apr 18, 2016
Australian flag
View australian_flag.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View darkdance.txt
use_bpm 130
kick_v = 0
clock_v = 0
ha_v = 0
tb_v = 0
echoes_v = 0
voices_v = 0
sleep_voices = 1
View rain.txt
use_bpm 110
master_v = (ramp *range(1.1, 1, -0.1))
waves_v = 0
kick_v = 0
snare_v = 0
cymb_v = 0
octaves_v = 0
woosh_v = 0