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:
| import itertools | |
| import boto | |
| ec2 = boto.connect_ec2() | |
| chain = itertools.chain.from_iterable | |
| existing_instances = list(chain([res.instances for res in ec2.get_all_instances()])) | |
| print existing_instances #gives you a list of all instances | |
| /* from http://code.google.com/p/httperf/issues/detail?id=1 */ | |
| Index: configure.ac | |
| =================================================================== | |
| --- configure.ac (revision 132) | |
| +++ configure.ac (working copy) | |
| @@ -83,6 +83,8 @@ | |
| AC_FUNC_VPRINTF | |
| AC_CHECK_FUNCS([getopt_long]) | |
| :+1: | |
| :-1: | |
| :airplane: | |
| :art: | |
| :bear: | |
| :beer: | |
| :bike: | |
| :bomb: | |
| :book: | |
| :bulb: |
| (function(window,undefined){ | |
| // Prepare our Variables | |
| var | |
| document = window.document, | |
| $ = window.jQuery; | |
| // Wait for Document | |
| $(window).bind(function(){ | |
| // Prepare Variables |
| repo for a more modern version of qt (4.7) | |
| http://atrpms.net/documentation/install/ | |
| http://packages.atrpms.net/dist/el5/qt4/ | |
| cat /etc/yum.repos.d/atrpms.repo | |
| [atrpms] | |
| name=ATrpms manual | |
| baseurl=http://dl.atrpms.net/el5-$basearch/atrpms/testing/ | |
| gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms |
| #See: http://daringfireball.net/2010/07/improved_regex_for_matching_urls | |
| import re, urllib | |
| GRUBER_URLINTEXT_PAT = re.compile(ur'(?i)\b((?:https?://|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:\'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))') | |
| for line in urllib.urlopen("http://daringfireball.net/misc/2010/07/url-matching-regex-test-data.text"): | |
| print [ mgroups[0] for mgroups in GRUBER_URLINTEXT_PAT.findall(line) ] |