Skip to content

Instantly share code, notes, and snippets.


Stanislas angristan

View GitHub Profile

Keybase proof

I hereby claim:

  • I am angristan on github.
  • I am angristan ( on keybase.
  • I have a public key ASCvz4pVclwO1ydYa-7t88TJ4SVEyASogumOwH6c-5yLqgo

To claim this, I am signing this object:

angristan / hosts
Last active May 31, 2020
Windows 10 Privacy Hosts file
View hosts
angristan / h2o.service
Created Nov 17, 2016
h2o webserver systemd init script
View h2o.service
Description=H2O - the optimized HTTP/1, HTTP/2 server
ExecStart=/usr/local/bin/h2o --mode master --conf /etc/h2o/h2o.conf
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
angristan / h2o.conf
Created Nov 17, 2016
h2o webserver exemple conf, just in case
View h2o.conf
user: www-data
num-threads: 2
max-connections: 1024
pid-file: /run/
access-log: /var/log/h2o/access.log
error-log: /var/log/h2o/error.log
http1-request-timeout: 10
file.dirlisting: OFF
angristan / autoexec.cfg
Last active Mar 18, 2017
Personnal CS:GO conf
View autoexec.cfg
// Crosshair
cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "0.1"
cl_crosshairalpha "1000"
cl_crosshaircolor "1"
cl_crosshaircolor_b "255"
angristan /
Last active Aug 24, 2019 block list
View block list

Reminder on block types

Block type Explanation
Reject media Removes locally stored media files and refuses to download any in the future.
Silence Makes the account's/instance's posts invisible to anyone who isn't following them
Silence + reject media Combination of the two above
Suspend Removes all of the account's content, media, and profile data
angristan /
Last active Mar 7, 2020
My cryptocurrency addresses

Thanks for donating!

  • BTC bc1qwjpa374gq9rywnrdt60r2alp8ugjemfnuvm9lf
  • ETH 0x8559064B126196D9ef41685CFc747A7afB91A87A
  • LTC MLL7xq5XHCfvqqA4H82neakeRBHKtDSKXV
angristan / ip.php
Created Jan 23, 2018
Get the client IP address and reverse DNS
View ip.php
echo "<br>";
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
echo $hostname;
angristan /
Last active Jun 13, 2020
Script to install Docker and Docker-Compose on Debian
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common sudo
curl -fsSL$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64]$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"
apt-get update
angristan /
Last active Jun 27, 2019
MySQL cheatsheet

Manage databases

Create database


Delete database

You can’t perform that action at this time.