Skip to content

Instantly share code, notes, and snippets.

View L3houx's full-sized avatar

Félix Lehoux L3houx

View GitHub Profile
@L3houx
L3houx / Proxmox VM Resizing
Created February 25, 2023 00:36
Commands to resize VMs after updating disk size.
df -h
pvs
pvresize /dev/sda3
lvresize -r -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
parted -s -a opt /dev/sda "resizepart 3 100%"
@L3houx
L3houx / traefik-config-install.md
Created September 9, 2022 23:41
Install and Configure Traefik

Commandes:

sudo apt-get install apache2-utils

htpasswd -nb admin <super-duper-password-here>

mkdir /opt/traefik

cd /opt/traefik

Install Docker

Lien

sudo apt-get update

sudo apt-get install \
  ca-certificates \
  curl \
 gnupg \
@L3houx
L3houx / Google-Analytics-Using-Table-Smashing-Dashboard.md
Created March 26, 2020 21:06
Google Analytics Using Table - Smashing Dashboard Widget

Google Analytics Using Table - Smashing Dashboard Widget

This will allow you to visualize data easier in tables. It could aslo be easily adapted to show other data, only need to change fields in the GA request to get different data.

  • Create a script dashboard.erb in the dashboard directory
<% content_for :title do %>Super Dashboard<% end %>

<div class="gridster">
@L3houx
L3houx / GitHub-Issues-Using-Table-for-Smashing-Dashboard.md
Created March 20, 2020 18:14
GitHub Issues Using Table for Smashing Dashboard

GitHub Issues Using Table - Smashing Dashboard Widget

This will allow you to visualize data easier in tables. It could aslo be easily adapted to show other data, only need to change the URI for another github type of data.

  • Create a script dashboard.erb in the dashboard directory
    <% content_for :title do %>Super Dashboard<% end %>

    <div class="gridster">
    <ul>
### Keybase proof
I hereby claim:
* I am l3houx on github.
* I am l3houx (https://keybase.io/l3houx) on keybase.
* I have a public key ASCQ6dJmLZGxT3BC8koeFQLBZEs6dYvFtUFZ1LBCOtu_wwo
To claim this, I am signing this object:
@L3houx
L3houx / login_detection.py
Last active March 5, 2018 16:19
Login detection on clear net (proof of concept)
import scrapy
class QuotesSpider(scrapy.Spider):
name = "login_detection"
start_urls = [
'https://pastebin.com/login',
'https://pastebin.com',
'https://github.com',
'https://pastebin.com/ztUQFAzL',