This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Reads a string until the first blank, replicates it with a blank separator | |
| input: ' ba ' | |
| blank: ' ' | |
| start state: q0 | |
| table: | |
| q0: | |
| ' ' : {write: ' ', R: q1} | |
| q1: | |
| ' ' : {write: ' ', L: q7} | |
| 'a' : {write: 'X', R: q2} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: binary increment | |
| source code: | | |
| # Reads a string until the first blank, replicates it with a blank separator | |
| input: ' ba ' | |
| blank: ' ' | |
| start state: q0 | |
| table: | |
| q0: | |
| ' ' : {write: ' ', R: q1} | |
| q1: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Reads a string until the first blank, replicates it with a blank separator | |
| input: ' ba ' | |
| blank: ' ' | |
| start state: q0 | |
| table: | |
| q0: | |
| ' ' : {write: ' ', R: q1} | |
| q1: | |
| ' ' : {write: ' ', L: q7} | |
| 'a' : {write: 'X', R: q2} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from numpy import roll | |
| import sys | |
| def genKeys(init_key): | |
| print('\n[*]Key Generation:') | |
| print('\tK = {}'.format(init_key)) | |
| key_p10ed = P10(init_key) | |
| print('\tKey, Permute 10 (P10): {}'.format(key_p10ed)) | |
| key_left = key_p10ed[0:5] | |
| print('\tLeft Half of P10 : {}'.format(key_left)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| query IntrospectionQuery { | |
| __schema { | |
| queryType { name } | |
| mutationType { name } | |
| types { | |
| ...FullType | |
| } | |
| directives { | |
| name | |
| description |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #TODO: Add ncat, keybase, bookmarks, create symlinks to path | |
| export DEBIAN_FRONTEND=noninteractive; | |
| echo -e "\e[92m[*] Starting Install... [*]" | |
| echo -e "\e[92m[*] Upgrade installed packages to latest [*]" | |
| echo -e "\e[92m\nRunning a package upgrade...\n" | |
| apt-get -qq update && apt-get -qq dist-upgrade -y | |
| apt full-upgrade -y | |
| apt-get autoclean |