Skip to content

Instantly share code, notes, and snippets.

View fabienheureux's full-sized avatar
🐰
Working from home

Fabien Le Frapper fabienheureux

🐰
Working from home
View GitHub Profile
@fabienheureux
fabienheureux / input.scss
Created November 8, 2021 09:16
Generated by SassMeister.com.
.hero {
&__introduction {
/* coucou */
}
}
@fabienheureux
fabienheureux / migration.py
Last active August 18, 2021 10:36
Update Wagtail's image model on an existing project
# Generated by Django 2.2.24 on 2021-08-17 11:33
from django.db import migrations
from django.forms.models import model_to_dict
from wagtail.images.models import Image as PreviousImage
from image.models import CustomImage as Image
def migrate_images(apps, schema_editor):
for image in PreviousImage.objects.all():
version: '3.1'
services:
portainer
image: portainer/portainer:latest
ports:
- 9000:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data portainer/portainer
#!/bin/bash
# Start by installing necessary softwares
apt update
apt install build-essential sudo -y
# well, its role is to serve you...
adduser alfred
usermod -aG sudo alfred
#!/bin/bash
## Setup script variables
RED="\033[0;31m"
NC="\033[0m" # No Color
## Array of packages to install through package manager
declare -a sexiness=("i3-gaps" "polybar" "font-iosevka")
declare -a multimedia=("ffmpeg" "ranger" "imageMagick" "flameshot" "gimp")
declare -a productivity=("dropbox" "dmenu")
git init --bare $HOME/.pointfichiers
alias config='/usr/bin/git --git-dir=$HOME/.pointfichiers/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
echo "alias config '/usr/bin/git --git-dir=$HOME/.pointfichiers/ --work-tree=$HOME'" >> $HOME/.config/fish/config.fish

Keybase proof

I hereby claim:

  • I am fabienheureux on github.
  • I am fabienheureux (https://keybase.io/fabienheureux) on keybase.
  • I have a public key ASBZFFWLqsy8LOu5U-AVjbbmNRhqu8IseAM8MFF6V-2zXQo

To claim this, I am signing this object:

There is long text hidden if you click me

A veeeery long payload

{ 
	"merge-audits": [],
"form-submissions": [
	{
#!/bin/sh
###########
# basic #
###########
# homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap caskroom/versions
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
# editorconfig-tools is unable to ignore longs strings or urls