Skip to content

Instantly share code, notes, and snippets.

View x4m3's full-sized avatar
:octocat:
trying to exit vim

Philippe Loctaux x4m3

:octocat:
trying to exit vim
View GitHub Profile
I am the Miaou user with id 7375 and name "philt3r" on https://miaou.dystroy.org
@x4m3
x4m3 / fairing.rs
Created March 24, 2023 18:12
fairing example
pub struct MyFairing {}
#[rocket::async_trait]
impl Fairing for MyFairing {
fn info(&self) -> fairing::Info {
fairing::Info {
name: "MyFairing",
kind: Kind::Request | Kind::Response,
}
}
@x4m3
x4m3 / readme.md
Created December 2, 2018 23:38
Discord authentication (server: fennifith)

Discord authentication (server: fennifith)

I hereby claim:

  • I am x4m3 on GitHub.
  • I am x4m3 (177854964943683584) on Discord.
@x4m3
x4m3 / cloudSettings
Last active July 15, 2020 12:26
my vscode settings
{"lastUpload":"2020-07-15T12:26:18.173Z","extensionVersion":"v3.4.3"}
@x4m3
x4m3 / keybase.md
Last active December 15, 2019 15:11
# video : https://youtu.be/UcJEP2caFZ0
# by phil: https://philippeloctaux.com
firewall: ufw
sudo ufw status
sudo ufw disable/enable
sudo ufw allow XXXXXX
sudo ufw deny XXXXXX
@x4m3
x4m3 / gist:4b910593139ce84c7362
Created May 6, 2015 19:27
apt-get progress bar
echo 'Dpkg::Progress-Fancy "1";' > /etc/apt/apt.conf.d/99progressbar