Skip to content

Instantly share code, notes, and snippets.

View cedriczirtacic's full-sized avatar
🐗
æ

cedric cedriczirtacic

🐗
æ
View GitHub Profile
@pdp7
pdp7 / nerp_beaglebone_tor.txt
Last active March 5, 2019 14:55
NERP 2014-09-01: Tor relay on BeagleBone Black (embedded systems meetup at Chicago hackerspace Pumping Station: One)
////////////////////////////////////////////////////
// NERP 2014-09-01: Tor relay on BeagleBone Black //
////////////////////////////////////////////////////
Notes and links from NERP (e.g. embedded systems meetup) at Chicago hackerspace Pumping Station: One:
http://www.meetup.com/NERP-Not-Exclusively-Raspberry-Pi/events/200602992/
Event blog post:
http://pumpingstationone.org/2014/09/nerp-tonight-a-tor-relay-demo-and-a-sketchy-update/
@grugq
grugq / gist:03167bed45e774551155
Last active April 15, 2025 11:22
operational pgp - draft

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.

@zxy1256
zxy1256 / Tmux.md
Last active January 6, 2024 04:18
Tmux

tmux shortcuts & cheatsheet

Sessions

start new:

tmux
@PaulMaddox
PaulMaddox / decrypt.sh
Created April 4, 2014 10:38
LUKS encrypted image file
#!/bin/bash
FILENAME="private.img";
FILESIZE="100M";
# Create encrypted volume if it doesn't exist
if [ ! -f $FILENAME ]; then
echo "Creating image file...";
dd if=/dev/zero of=$FILENAME bs=$FILESIZE count=0 seek=1
@pascalpoitras
pascalpoitras / 1.md
Last active April 10, 2025 14:12
My WeeChat configuration

This configuration is not maintained anymore. You should think twice before using it, Breaking change and security issue will likely eventually happens as any abandonned project.

@hubgit
hubgit / README.md
Last active March 11, 2025 17:21
Remove metadata from a PDF file, using exiftool and qpdf. Note that embedded objects may still contain metadata.

Anonymising PDFs

PDF metadata

Metadata in PDF files can be stored in at least two places:

  • the Info Dictionary, a limited set of key/value pairs
  • XMP packets, which contain RDF statements expressed as XML

PDF files

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 26, 2025 10:50
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@virtualstaticvoid
virtualstaticvoid / iptables_rules.sh
Created June 14, 2011 08:58
25 Most Frequently Used Linux IPTables Rules Examples
# Modify this file accordingly for your specific requirement.
# http://www.thegeekstuff.com
# 1. Delete all existing rules
iptables -F
# 2. Set default chain policies
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP