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
| #!/bin/sh -e | |
| ### BEGIN INIT INFO | |
| # hyperboria.sh - An init script (/etc/init.d/) for cjdns | |
| # Provides: cjdroute | |
| # Required-Start: $remote_fs $network | |
| # Required-Stop: $remote_fs $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Cjdns router | |
| # Description: A routing engine designed for security, scalability, speed and ease of use. |
| mkdir ~/Downloads | |
| cd ~/Downloads | |
| wget https://otr.cypherpunks.ca/libotr-4.1.1.tar.gz | |
| tar -xzf libotr-4.1.1.tar.gz | |
| cd libotr-4.1.1 | |
| sudo apt-get install automake libtool autoconf irssi-dev tor git bitlbee-plugin-otr irssi-plugin-otr libgcrypt-dev gcc libglib2.0-dev -y | |
| ./configure --prefix=/usr && make && sudo make install | |
| mkdir ~/projects | |
| cd ~/projects | |
| git clone https://github.com/cryptodotis/irssi-otr.git |
| ORPort 443 | |
| Exitpolicy reject *:* | |
| Nickname EFFisMyHero | |
| ContactInfo <pdp7pdp7 AT gmail dot com> GPG: 0x84D44A9317F1138E | |
| Log notice file /var/log/tor/notices.log | |
| RelayBandwidthRate 1024 KB | |
| RelayBandwidthBurst 1024 KB | |
| MaxAdvertisedBandwidth 1024 KB | |
| DisableDebuggerAttachment 0 |
| #/usr/bin/env python | |
| import sys | |
| from application.notification import NotificationCenter | |
| from sipsimple.account import AccountManager | |
| from sipsimple.application import SIPApplication | |
| from sipsimple.core import SIPURI, ToHeader | |
| from sipsimple.lookup import DNSLookup, DNSLookupError |
| # show EXIF data | |
| exiftool image.jpg | |
| # first install exiftool, then use "-All=" to wipe all EXIF data from JPG | |
| # this will modify image.jpg and create backup file image.jpg_original | |
| exiftool -All= image.jpg |
| /network add freenode | |
| /server add -auto -net freenode -ssl -ssl_verify chat.freenode.net 6697 |
This guide is meant to be a signpost to guide the way, not a dictionary to memorize. Your mileage may vary. Two great sites to check speed and security: http://tools.pingdom.com/fpt/ & https://securityheaders.io
Buy a new Digital Ocean droplet with Wordpress pre-installed ($10 per month).
ssh into the new instance based on the credentials Digital Ocean provided.
| git tag 0.1.5 -m "Added backwards compatibility for < Python 2.2.3." | |
| git push --tag | |
| python setup.py register -r pypi | |
| python setup.py sdist upload -r pypi |
| """ | |
| Configuration example for ``ptpython``. | |
| Copy this file to ~/.ptpython/config.py | |
| """ | |
| from __future__ import unicode_literals | |
| from prompt_toolkit.filters import ViInsertMode | |
| from prompt_toolkit.key_binding.input_processor import KeyPress | |
| from prompt_toolkit.keys import Keys | |
| from pygments.token import Token |