Skip to content

Instantly share code, notes, and snippets.

View r33int's full-sized avatar
💤
Lazy AF

Enzo r33int

💤
Lazy AF
View GitHub Profile
@luclu7
luclu7 / netsha.reg
Last active August 26, 2022 15:23
How to fix/remove W32/Netsha.A from your computer
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.exe]
@="exefile"
[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
@ZeroInfinityXDA
ZeroInfinityXDA / Notes.md
Last active February 3, 2024 08:15 — forked from rupansh/Notes.md
Android P semi-GSI notes
@LupusMichaelis
LupusMichaelis / cv-advice.md
Last active June 8, 2023 10:18
Conseils à la rédaction de CV

Après avoir donné mon avis et mes conseils sur beaucoup trop de CV, j'ai décidé de me soulager un peu de temps de travail en écrivant ce document de conseils. Car malheureusement, je souffre d'un mal existentiel :

Someone's wrong on the Internet.

Ce document ne reflète que mon opinion. Chacun a une vision très particulière et intime concernant les CV. Ce qui est une vérité absolue pour moi est une hérésie pour d'autres. Mais les règles que j'applique ne sont pas sorties de ma cuisse, c'est après plus de

@nolanlawson
nolanlawson / backup_twitter_media.py
Created December 4, 2017 00:36
Script to backup media (images) in a Twitter archive
#!/usr/bin/env python
# Given a Twitter archive, replace all references to Twitter hosted images with a downloaded local image.
# Usage: place in the directory of the Twitter export (at the same level as the index.html file) and run it.
# Note: doesn't work for video. Skips images that fail to download.
import errno
import os
import re
import requests
@Francesco149
Francesco149 / osu_on_linux_overhaul.md
Last active May 11, 2024 15:05
Ultimate guide to low-latency osu on linux
@denji
denji / nginx-tuning.md
Last active May 21, 2024 18:18
NGINX tuning for best performance

Moved to git repository: https://github.com/denji/nginx-tuning

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.

@spikegrobstein
spikegrobstein / nginx.conf
Last active September 22, 2023 04:19
nginx config for proxying requests for plex over a hostname-based virtualhost.
upstream plex-upstream {
# change plex-server.example.com:32400 to the hostname:port of your plex server.
# this can be "localhost:32400", for instance, if Plex is running on the same server as nginx.
server plex-server.example.com:32400;
}
server {
listen 80;
# server names for this server.
@jessedearing
jessedearing / gist:2351836
Created April 10, 2012 14:44 — forked from twoism-dev/gist:1183437
Create self-signed SSL certificate for Nginx
#!/bin/bash
echo "Generating an SSL private key to sign your certificate..."
openssl genrsa -des3 -out myssl.key 1024
echo "Generating a Certificate Signing Request..."
openssl req -new -key myssl.key -out myssl.csr
echo "Removing passphrase from key (for nginx)..."
cp myssl.key myssl.key.org
openssl rsa -in myssl.key.org -out myssl.key