Skip to content

Instantly share code, notes, and snippets.

Pier Carlo Chiodi pierky

Block or report user

Report or block pierky

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@meineerde
meineerde / haproxy.config
Last active Apr 25, 2019
Set all cookies set in the HTTP response to HttpOnly
View haproxy.config
acl httponly_cookie res.hdr(Set-Cookie),lower -m sub httponly
rspirep ^(set-cookie:.*) \1;\ HttpOnly if !httponly_cookie
@rraptorr
rraptorr / ct-submit.py
Last active Apr 15, 2019
Simple Certificate Transparency certificate submission client
View ct-submit.py
#!/usr/bin/python
import sys
import argparse, json, base64, struct
import urllib2
from datetime import datetime
LOGS = {
'icarus': 'https://ct.googleapis.com/icarus',
'pilot': 'https://ct.googleapis.com/pilot',
@maciej
maciej / git-change-date.sh
Last active Jul 25, 2018
git: Change the commit and/or author date of git commits.
View git-change-date.sh
#!/bin/sh
#
# Change the commit and/or author date of git commits.
#
# change-date [-f] commit-to-change [branch-to-rewrite [commit-date [author-date]]]
#
# If -f is supplied it is passed to "git filter-branch".
#
# If <branch-to-rewrite> is not provided or is empty HEAD will be used.
@dupuy
dupuy / README.rst
Last active May 19, 2019
Common markup for Markdown and reStructuredText
View README.rst

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

You can’t perform that action at this time.