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:
| # GNU Screen - main configuration file | |
| # All other .screenrc files will source this file to inherit settings. | |
| # Author: Christian Wills - [email protected] | |
| # Allow bold colors - necessary for some reason | |
| attrcolor b ".I" | |
| # Tell screen how to set colors. AB = background, AF=foreground | |
| termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' |
| [Solarized Dark] | |
| text(bold)=839496 | |
| magenta(bold)=6c71c4 | |
| text=839496 | |
| white(bold)=fdf6e3 | |
| green=859900 | |
| red(bold)=cb4b16 | |
| green(bold)=586e75 | |
| black(bold)=073642 | |
| red=dc322f |
| From 7341a316c38a61cc745ce04e618916677007883b Mon Sep 17 00:00:00 2001 | |
| From: Timothy Brom <[email protected]> | |
| Date: Wed, 29 Feb 2012 11:29:55 -0500 | |
| Subject: [PATCH] Fixed error about strexh and strexb using the same register | |
| --- | |
| example/libs_stm/inc/core_support/core_cm3.c | 4 ++-- | |
| 1 files changed, 2 insertions(+), 2 deletions(-) | |
| diff --git a/example/libs_stm/inc/core_support/core_cm3.c b/example/libs_stm/inc/core_support/core_cm3.c |
| ############################################################################### | |
| # The MIT License | |
| # | |
| # Copyright 2012-2014 Jakub Jirutka <[email protected]>. | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is |
| #!/bin/bash | |
| # | |
| # Example of how to parse short/long options with 'getopt' | |
| # | |
| OPTS=`getopt -o vhns: --long verbose,dry-run,help,stack-size: -n 'parse-options' -- "$@"` | |
| if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi | |
| echo "$OPTS" |
| #!/bin/bash | |
| aptitude -y install expect | |
| // Not required in actual script | |
| MYSQL_ROOT_PASSWORD=abcd1234 | |
| SECURE_MYSQL=$(expect -c " | |
| set timeout 10 |
A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.
##Creating the DMG file #Disk Utility
| #!/usr/bin/env bash | |
| if [ "$1" == "" ]; then | |
| echo "usage: $0 <docker_id>" | |
| echo "Exposes the netns of a docker container to the host" | |
| exit 1 | |
| fi | |
| ppid=`docker inspect $1 | grep Pid | awk '{print $2 + 0}'` | |
| if [ "$ppid" == "" ]; then | |
| echo "lxc parent pid not found" |
| davs://[email protected]/webdav/someFolder |