For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| from pyparsing import * | |
| # By default, PyParsing treats \n as whitespace and ignores it | |
| # In our grammer, \n is significant, so tell PyParsing not to ignore it | |
| ParserElement.setDefaultWhitespaceChars(" \t") | |
| def parse(input_string): | |
| def convert_prop_to_dict(tokens): | |
| """Convert a list of field property tokens to a dict""" | |
| prop_dict = {} |
| #!/bin/sh | |
| # Find the mails you want to compress in a single maildir. | |
| # | |
| # Skip files that don't have ,S=<size> in the filename. | |
| # | |
| # Compress the mails to tmp/ | |
| # | |
| # Update the compressed files' mtimes to be the same as they were in the original files (e.g. touch command) | |
| # |
This tutorial guides you through creating your first Vagrant project.
We start with a generic Ubuntu VM, and use the Chef provisioning tool to:
Afterwards, we'll see how easy it is to package our newly provisioned VM
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
| // Rust 0.10-pre (Tue Mar 18, 2014) | |
| // $ rustc -L rust-openssl/build/ -L rust-toml/lib doing.rs | |
| // assuming https://github.com/sfackler/rust-openssl is cloned and compiled, | |
| // and https://github.com/mneumann/rust-tom is cloned and compiled | |
| #[feature(macro_rules)]; | |
| #[allow(deprecated_owned_vector)]; | |
| extern crate openssl; | |
| extern crate serialize; |
| You appear to be advocating a new: | |
| [ ] cloud-hosted [ ] locally installable [ ] web-based [ ] browser-based [ ] language-agnostic | |
| [ ] language-specific IDE. Your IDE will not succeed. Here is why it will not succeed. | |
| You appear to believe that: | |
| [ ] Syntax highlighting is what makes programming difficult | |
| [ ] Garbage collection is free | |
| [ ] Computers have infinite memory | |
| [ ] Nobody really needs: |
| #!/usr/bin/env ruby | |
| # Author : Emad Elsaid (https://github.com/blazeeboy) | |
| require 'pygmentize' # gem install pygmentize | |
| require 'redcarpet' # gem install redcarpet | |
| # consecutive lines of code | |
| # should be highlighted using pygmentize | |
| # and converter to markdown block simply | |
| # using the markdown syntax for code | |
| # used by github flavored markdown |