For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
# United States of America Python Dictionary to translate States, | |
# Districts & Territories to Two-Letter codes and vice versa. | |
# | |
# Canonical URL: https://gist.github.com/rogerallen/1583593 | |
# | |
# Dedicated to the public domain. To the extent possible under law, | |
# Roger Allen has waived all copyright and related or neighboring | |
# rights to this code. Data originally from Wikipedia at the url: | |
# https://en.wikipedia.org/wiki/ISO_3166-2:US | |
# |
EMOJI CHEAT SHEET
Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.
People
😄
# Helps define a constant in Python | |
# From Section 6.3: Defining Constants | |
# Python Cookbook (2 Ed) by Alex Martelli et al. | |
# | |
# Usage: | |
# import const | |
# const.magic = 23 # First binding is fine | |
# const.magic = 88 # Second binding raises const.ConstError | |
class _const: |
# Centos 7.1 | |
yum -y install wget | |
wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm | |
rpm -ivh nux-dextop-release-0-5.el7.nux.noarch.rpm | |
yum -y install deluge-web | |
systemctl start deluge-web | |
systemctl stop firewalld |
#!/bin/bash | |
# Centos 7/8 John the Ripper Installation | |
#release=(j 1.8.0) | |
release=(k 1.9.0) | |
# Check Centos version | |
if [ -f /etc/redhat-release ] ; then | |
source /etc/os-release | |
if [ $VERSION_ID == "8" ] ; then | |
packager=dnf | |
elif [ $VERSION_ID == "7" ] ; then |
Run:
brew install gnupg pinentry-mac
git config --global user.signingkey <key>
git config --global commit.gpgsign true
git config --global gpg.program gpg
Then add the following line to ~/.gnupg/gpg-agent.conf
:
pinentry-program /usr/local/bin/pinentry-mac
Thanks to /u/zpoo32 for reporting several issues in this list!
This tutorial explains how to use CleverHans
together
with a TensorFlow model to craft adversarial examples,
as well as make the model more robust to adversarial
examples. We assume basic knowledge of TensorFlow.
First, make sure that you have TensorFlow