Skip to content

Instantly share code, notes, and snippets.

{
"basics": {
"name": "Quentin Lapointe",
"label": "DevSecOps - ENSIMAG",
"picture": "",
"email": "[email protected]",
"phone": "0682355614",
"website": "",
"summary": "https://resume.lapw.at/en\nhttps://resume.lapw.at/fr",
"location": {
$ 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
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
@lapwat
lapwat / 3d
Created February 27, 2017 17:46
#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),
# 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
#!/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 April 18, 2016 17:02
Revue du TP Fractales
==== 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 April 18, 2016 14:37
Australian flag
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lapwat
lapwat / darkdance.txt
Created March 5, 2016 18:26
Darkdance
use_bpm 130
kick_v = 0
clock_v = 0
ha_v = 0
tb_v = 0
echoes_v = 0
voices_v = 0
sleep_voices = 1
@lapwat
lapwat / rain.txt
Last active March 7, 2016 16:45
Rain
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