Skip to content

Instantly share code, notes, and snippets.

View YoranSys's full-sized avatar

Yohann Fabri YoranSys

View GitHub Profile
@haade-administrator
haade-administrator / PiTInfo-heure-pleine-heure-creuse.yaml
Last active January 2, 2024 12:12
configuration téléinfo esphome avec homeassistant et Pitinfo plus wemos d1 heure pleine et heure creuse
substitutions:
devicename: TELEINFO-PiTinfo
friendly_name: téléinformation home-assistant
device_description: remontée des infos compteur électrique avec PiTinfo
esphome:
name: $devicename
comment: ${device_description}
platform: ESP8266
board: d1_mini
@startuml OAuth basic flow with auth code and access token
skinparam monochrome true
skinparam defaultFontSize 14
' plantuml: https://plantuml.com/sequence-diagram
' source: https://gist.github.com/hrchu/d88efb56e72534a1233d16f36eb3e3e9
title OAuth basic flow with auth code and access token
actor "You/Browser" as b
participant "slack.com" as s
@TimRepke
TimRepke / README.md
Last active July 11, 2023 12:01
PST Archive to RFC822 (*.eml) script

PST Archive to RFC822

This script extracts all emails from an Outlook PST archive and saves them into some output folder as individual RFC822 compliant *.eml files.

Installing the external dependency pypff may not be straight forward (it wasn't for me). I forked the original repository to make it work in Python 3. If you get errors, check their wiki pages for help or try my fork. Below are the steps that worked for me:

Clone https://github.com/libyal/libpff/tree/master/pypff

@dungmanh88
dungmanh88 / Change password with encrypted home directory in Ubuntu
Created September 27, 2016 01:10
Change password with encrypted home directory in Ubuntu
sudo passwd username
ecryptfs-mount-private ### Enter old password
ecryptfs-rewrap-passphrase ~/.ecryptfs/wrapped-passphrase ### Enter new password
ecryptfs-unwrap-passphrase ### Recheck passphrase with new password. Passphrase is unchanged when you change your login password
Passwords and Keys > Change password of login keyring