Skip to content

Instantly share code, notes, and snippets.

View Xisabla's full-sized avatar

Gautier Miquet Xisabla

View GitHub Profile
@Xisabla
Xisabla / ban-words-fr.list
Created June 26, 2024 15:06
French ban words for filtering/banning purposes
abruti
baiser
bordel
branler
caca
chatte
chier
connard
connasse
couilles
@Xisabla
Xisabla / isodl.sh
Last active September 10, 2023 10:29
A linux tool to download files and perform checks, initially thought as a tool to download ISO files
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
#
# A linux tool to download files and perform checks, initially thought as a tool to download ISO files and
# perform checksums and sign checks.
#
# The config json file is composed as such:
#
# {
@Xisabla
Xisabla / .tmux.conf
Created June 15, 2023 17:48
Some other dotfiles
# -- general -------------------------------------------------------------------
set -g default-terminal "screen-256color"
if 'infocmp -x tmux-256color > /dev/null 2>&1' 'set -g default-terminal "tmux-256color"'
setw -g xterm-keys on
set -s escape-time 10 # faster command sequences
set -sg repeat-time 600 # increase repeat timeout
set -s focus-events on
@Xisabla
Xisabla / Makefile
Created June 10, 2022 13:10
Makefiles for C project with dynamic libraries (modules)
#[[--------------------------------------- Configuration ---------------------------------------]]#
# Make variables
CC = clang
CFLAGS = -Wall -g -O0 -DDEBUG
LDFLAGS =
LDLIBS = -ldl
MAKEFLAGS += --no-print-directory
@Xisabla
Xisabla / analysis.py
Created March 6, 2022 13:41
hfinger patched
import sys
import shutil
import tempfile
import os
import argparse
import magic
import subprocess
import json
import logging
@Xisabla
Xisabla / proxy.sh
Last active September 10, 2023 10:14
Proxy profile management tool
#!/usr/bin/env bash
#
# A linux tool to create and manage proxy profiles.
#
# The primary purpose of this tool is to allow to easily switch between
# different proxies. Then it allows to create proxy profiles through
# `proxy create` and to switch to create profile through `proxy set`.
# It is also possible to delete old profiles with `proxy delete` and
# to list all avalaible profiles with `proxy list`.

Very basic

git clone https://github.com/Xisabla/DAUville
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com
/*=========================================================================
Project: ${PROJECT_NAME}
File: ${FILE_NAME}
Copyright (c) $YEAR - All rights reserved
Distributed under the MIT License (https://opensource.org/licenses/MIT)
=========================================================================*/
@Xisabla
Xisabla / .screenrc
Last active June 15, 2023 17:50
dotfiles
# $Id: screenrc,v 1.15 2003/10/08 11:39:03 zal Exp $
#
# /etc/screenrc
#
# This is the system wide screenrc.
#
# You can use this file to change the default behavior of screen system wide
# or copy it to ~/.screenrc and use it as a starting point for your own
# settings.
#
#!/bin/bash
# Standard install
sudo dnf update -y
sudo dnf install arduino -y
sudo dnf install audacity -y
sudo dnf install chromium -y
sudo dnf install cmake -y