Skip to content

Instantly share code, notes, and snippets.

View pierreozoux's full-sized avatar

Pierre Ozoux pierreozoux

View GitHub Profile
@pierreozoux
pierreozoux / death-letter-en.txt
Created November 20, 2018 08:20 — forked from aeris/death-letter-en.txt
GDPR death letter
Dear Sir/Madam:
I am writing to you in your capacity as data protection officer for your
company. In light of recent spam received on this email address,
I am making this request for access to personal data
pursuant to Article 15 of the General Data Protection Regulation.
I am concerned that your company’s information practices may be putting my
personal information at undue risk of exposure or in fact has breached its
obligation to safeguard my personal information.
@pierreozoux
pierreozoux / stale_security_groups.py
Last active September 30, 2021 01:31 — forked from astrikos/stale_security_groups.py
Script to detect stale AWS security groups
#!/usr/bin/env python3
import boto3
import argparse
class StaleSGDetector(object):
"""
Class to hold the logic for detecting AWS security groups that are stale.
"""
def __init__(self):
super(StaleSGDetector, self).__init__()
@pierreozoux
pierreozoux / docker-tinc.md
Created November 27, 2015 19:36 — forked from noteed/docker-tinc.md
Docker - Tinc setup
@pierreozoux
pierreozoux / docker-ovs.md
Created November 27, 2015 19:30 — forked from noteed/docker-ovs.md
Docker - Open vSwitch setup
@pierreozoux
pierreozoux / comcast.js
Created November 23, 2015 09:47 — forked from Jarred-Sumner/comcast.js
Comcast injects this into webpages to show copyright notices
// Comcast Cable Communications, LLC Proprietary. Copyright 2014.
// Intended use is to display browser notifications for critical and time sensitive events.
var _ComcastAlert = (function(){
return {
SYS_URL: '/e8f6b078-0f35-11de-85c5-efc5ef23aa1f/aupm/notify.do'
, dragObj: {zIndex: 999999}
, browser: null
, comcastCheck: 1
, comcastTimer: null
, xmlhttp: null
@pierreozoux
pierreozoux / programme.md
Last active August 29, 2015 14:19
Programme de formation Docker

Formation : Docker

Baseline : Apprenez à manipuler les containers Docker !

Durée : 2 jours

Public visé

Cette formation s'adresse aux développeurs et administrateurs de systèmes souhaitant apprendre les bases de Docker pour améliorer leurs méthodes de travail.

Description

### Keybase proof
I hereby claim:
* I am pierreozoux on github.
* I am pierreozoux (https://keybase.io/pierreozoux) on keybase.
* I have a public key whose fingerprint is 172C 25C7 2840 DB0A D889 26A0 9426 5A67 410D 4B3C
To claim this, I am signing this object:
@pierreozoux
pierreozoux / demo
Created October 22, 2014 11:33
Difference between STARTTLS and TLS
# So TLS, which is the successor of SSL, is "Transport Layer Security".
# It is a kind of super protocol that initiates an encrypted tunnel between the client and the server,
# and then, you can use your normal verbs from your protocol as it was not encrypted.
# For instance with http. Let's say you want to get a page from ubicast.eu
# go to your terminal, and you can get it with
telnet ubicast.eu 80
GET / HTTP/1.0
# and you get the index of the site.
@pierreozoux
pierreozoux / about_me.html
Last active August 29, 2015 14:04
IndieWeb asides for Octopress
<section class="h-card">
<h1>
<a class="p-name u-url" href="{{ site.url }}">{{ site.author }}</a>
</h1>
{% if site.gravatar_email %}
<img class="u-photo" src="{% gravatar_image %}" alt="Gravatar of {{ site.author }} " title="Gravatar of {{ site.author }}" /><br/>
{% endif %}
{% if site.bio %}
<h2>Bio</h2>
<p class="p-note">{{ site.bio }}</p>
@pierreozoux
pierreozoux / car.js
Last active July 25, 2016 21:44
Issue in context - how to solve that?
function Car(color) {
this.color = color
}
Car.prototype.getColor = function() {
return this.color;
}
car = new Car('blue');