Skip to content

Instantly share code, notes, and snippets.

@vitapluvia
vitapluvia / simpleShell.py
Created January 29, 2015 10:15
Simple Shell v1
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import cmd
ASCII = """
.-. . .-. . ..---.. . .
( ) o | ( )| || | | .'|
`-. . .--.--. .,-. | .-. `-. |---||--- | | . ._|
( ) | | | | | )|(.-' ( )| || | | \ / |
`-'-' `-' ' `-|`-' `-`--' `-' ' ''---''---''---' `' '---'
@ahhh
ahhh / @@.sh
Last active February 9, 2017 15:02 — forked from vitapluvia/@@.sh
This ascii flow art is called "Brick Wall", My first major change to the flow art series.
cat /dev/urandom | xxd -b | cut -c 10-60 | sed 's/\(.*\)/\1\1/g' | sed 's/ //g' | sed 's/1/_/g' | sed 's/0/]/g' | sed 's/]]/[/g' | cut -c 10-60 | sed '/_/ s/$/]/' | sed '/_/ s/^/[/'
@vitapluvia
vitapluvia / ZebraBook.sh
Last active December 25, 2015 22:39
This is a fun little /dev/urandom test using sed, cut and xxd : )
cat /dev/urandom | cut -c 10-64 | sed 's/0/\_/g; s/1/\./g' |xxd -b | sed 's/0/]/g; s/1/[/g' | sed 's/\[\]/{ /g; s/1/[/g' | sed 's/\[\_/__/g; s/1/[/g' | cut -c 10-64 | sed 's/\s/|/g' | sed 's/^/..||00||_/g' | sed 's/$/_../g'