Skip to content

Instantly share code, notes, and snippets.

View HarryRybacki-zz's full-sized avatar

Harry Rybacki HarryRybacki-zz

  • Red Hat
  • Raleigh, NC
View GitHub Profile
@HarryRybacki-zz
HarryRybacki-zz / run_oooq_with_ipa.sh
Last active January 28, 2020 18:59
Deploy Over/Undercloud with FreeIPA using TripleO-Quickstart (OOOQ)
#!/bin/bash
set -ex
# Notes:
# - Ensure that you hand the virthsot from which you wish to deploy against
# as an argument during the script call.
# - This deployment will provision an additinoal node and configure it as
# a FreeIPA server prior to installing the undercloud.
VIRTHOST=$1
@HarryRybacki-zz
HarryRybacki-zz / shell
Created December 15, 2015 13:57
ansible-lint wrapper for linting directories (WIP)
#! /bin/bash
EX_OK=0
EX_ER=1
EX_USAGE=64
# Verify ansible-lint is acessible
verify_tool() {
if ! hash ansible-lint; then
echo "'ansible-lint' not found. Are you sure it is installed and accessible from your current path?"
{
"metadata": {
"name": "",
"signature": "sha256:2cf14131fe3c6fc1d2b6d671a7d76449bc1bb98ff9048243dc7a70e77af556cd"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"metadata": {
"name": "",
"signature": "sha256:72611f3780e84d83218518aef29204e42b767d6f70f7cc484a2254fe80f0bb79"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
"""
This code is written to serve individuals learning about Feistal networks.
Notes:
Key length: 8-bits
Subkeys: 8, 8-bit subkeys generated from original key
Round function: Defaults to the XOR (exlusive or) of a given rounds right
side input and the corresponding subkey.
Block size: Messages are broken down into 16-bit 'blocks' and then encrypted/decrypted
Fiestal Round: Each block is run through 8 rounds
@HarryRybacki-zz
HarryRybacki-zz / gitWorkflow.md
Last active December 20, 2015 05:39
The Git Workflow: An example based overview

###Overview This tutorial will provide you with an overview of the recommended Git workflow. We will be using the the HGrid repository to provide a real world example.

####What you'll learn:

  1. Forking repositories to your account
  2. Cloning freshly forked repos to your machine
  3. Adding remotes
  4. Adding and deleting branches
  5. Merging local branches
@HarryRybacki-zz
HarryRybacki-zz / gist:5930957
Created July 5, 2013 00:31
Sample Project Euler solution with added notes.
{
"metadata": {
"name": "Project Euler -- Problem 1"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@HarryRybacki-zz
HarryRybacki-zz / ExampleIPythonBenchmarking
Created June 29, 2013 02:40
Benchmarking MongoDB queries in an IPython notebook.
{
"metadata": {
"name": "Sprint - Benchmarking"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{