Skip to content

Instantly share code, notes, and snippets.

View jmcveigh's full-sized avatar

Jason McVeigh jmcveigh

View GitHub Profile
@jmcveigh
jmcveigh / perl-maven-pro-sets.md
Last active May 16, 2016 04:10
Perl Maven Pro - Sets - Draft 2

Description

This is a Perl Maven Pro article written by Jason McVeigh of Orillia, ON, CA. This article was written in response to the blog entry and rapport with Gabor of Perl Maven Pro. This article is written with the best of intentions but also in hopes of recieving the remuneration agreed upon in USD through PayPal.

Sets

In computer programming, a set is a collection of distinct elements. Unique elements may be grouped into a set. Sets are represented in figures as Venn diagrams with each one depicted as a circle containing many elements. Sets are an often used data structure in real-world programming. Sets are readily available in the Perl programming language. This Perl Maven Pro article is an exercise in sets, intuitive set theory and properties of sets.

Set Elements

If an element is a member of a set, then it is said that this element belongs to a set or that this element is in a set. Sets in Perl are used to hold items, data, tags, references or data structures. T
@jmcveigh
jmcveigh / invaders_must_die.txt
Created January 20, 2016 01:11
Invaders must die!
$$$$
$$$$ $ $
$ $ $ $
$ $ $$$$$$$$$$$ $$$$ $$$$ $$$$$$$$$$$$$ $$$$$$$$$$$ $ $$$$$$$$$$$$$ $$$$$$$$$$$$ $$$$$$$$
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $$$$ $ $
$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $$$$$$$ $ $ $$$$$$$$
$ $ $ $ $ $ $ $ $ $ $ $ $$ $ $ $ $ $ $ $ $ $ $ $
$$$$ $$$$ $$$$ $$$$$$$$ $$$$$$$$$ $$$ $$$$$$$$$$$$$$ $$$$$$$$$$$ $$$$ $$$$$$$$$
@jmcveigh
jmcveigh / drink.asc
Created December 20, 2015 02:29
Pill Drunk
 a$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$a
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$"                             "$$
$$  aa                           $$
$$ $##$   $$$$a  $$  $$    $$    $$
$$ $~~$   $$  $$ $$  $$    $$    $$
$$ $  $   $$$$$  $$  $$    $$    $$zza
$$  aa    $$     $$  a$$a  a$$a  "$$$$a
$$                                    $$
$$ $$$$a  $$$$a  $$  $$ a$  $a a$ $a  $$
@jmcveigh
jmcveigh / glue2.asc
Created December 16, 2015 04:40
HigH as a BASEBALL!
HigH as a BASEBALL !!!!!!!!
 a$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$a
$$`"""""""""^^^^^^^$$$/^^^^^^$^^^^^^"""""""""`$$$
$$ a$$$$$$$$a a$$a  $$ a$$$a  a$$$a a$$$$$$$$a $$
$$ $$$P"""$$$ $$$$" $$ "$$$$" "$$$$ $$$$"""$$$ $$
$$ $$$$ . """ $$$$ a$$$ $$$$ a $$$$ $$$$ .a"$" $$
$$ $$$$   ~~~ $$$$ $$$$ $$$$ $ $$$$ $$$aaaa .$$$$
$$ $$$$ ;zzzz $$$$ $$#  $$$$ $ $$$$ $$$$`"` ^ #$$
$$ $$$$ "t$$$ $$$$ ^ ,, $$$$ ^ $$$$ $$$$ ..,zz $$
@jmcveigh
jmcveigh / heart-throb.asc
Created December 9, 2015 02:56
heart-throb
   ,,,,      .,,,
  d$$$$b    :$$$$b
 d$$$$$$b  :$$$$$$b
G$$$$$$$$::$$$$$$$$B
 q$$$$$$::$$$$$$$$P
  q$$$$$$::$$$$$$P
   q$$$$$$::$$$$P
    "q$$$$$::$P"
       q$$::$P
        q::P
@jmcveigh
jmcveigh / g-unit2.asc
Created December 9, 2015 02:55
g-unit2

p#$&&&#Q$p^^^*$q #p^ ^^qp qp q qp^^^ ~ ^$# $ a$a, ~ $a&a, VV~ 4p, $ $ ~ .$ .aa, ~ `$~ `~ ~ $ $a~ a$` .... ~ `~ `~ ~ $.`` a$e`~ ~ a~ $a $a... $ ..............................a$ $*^ a$` $ $ a$^ &##$9 #a. .a$$$ Damn, it feels good to be a gansta.

@jmcveigh
jmcveigh / metal5.asc
Created December 8, 2015 03:22
Metal

` ` ` 4x ` 4x ` 4ox ` ` ` 4ooox ` ` ` ` ` ` x ` ` ` ` ` ` 4oox ` ` 48a 48a Q88x ` ` ` .888P ` 4o8 ` ` Q888 ` Q888888888888P 888x 4a888 ` 4ooooox Qo888oP 4oooox ` 888 ` .8a .8a ` 8 Q88x 4P 888 488a a88x 888 QP $88x ` 888 Q888888888888P ` 8 Q888P ` 888 888ooo888 ` 888 ` .oP"888 888 ` .8P .8P ` ` 8 ` P ` 888 888 .o 888 x 48$ 888 ` 888 Q8P Q8P ` ` ` Q8P ` ` Q888P QY8bod8PP ` Q888P QY888""8P Q888P ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `

@jmcveigh
jmcveigh / metal4.asc
Created December 8, 2015 03:21
Metal

` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` 4aaax 4x 4x ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` Qax ` ` ` ` 4aaaaP 4aaaa 4aaaa ` ` ` ` ` ` ` x ` ` ` ` ` ` ` Qax ` ` ` 4P P P aaaaP aaaaP ` ` ` ` ` ` 4a ` ` ` ` ` ` ` ` aa ` ` P ` P P ` a QP a QP ` ` ` ` ` ` aa ` ` ` ` ` ` ` aa ` ` ` ` 4 4 ` a ` a ` ` ` ` ` 4aaaaaaP ` ` ` ` aa ` ` ` 4a 4a ` a ` a ` ` ` 4ax ` QaaaaaaP ` ` 4aax ` aa ` ` ` ` aa aa ` a ` a ` ` P Qax ` aa ` ` P Qaa P aa ` ` ` aa aa ` a ` ` a ` ` 4 ` Qax ` ` aa ` ` 4 ` QaaP ` aa ` ` ` ` aa aa ` a ` a ` 4a aaP ` aa ` 4a ` aa ` ` aa `

@jmcveigh
jmcveigh / mystic.asc
Created December 8, 2015 03:18
Mystic

` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` 4aaax 4x 4x ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` 4aaaaP 4aaaa 4aaaa ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` x ` ` x ` ` ` ` ` ` ` 4P P P aaaaP aaaaP ` ` ` ` ` ` ` ` ` ` ` ` ` ` 4a ` ` QaP ` ` ` ` ` ` ` P ` P P ` a QP a QP ` ` ` ` ` ` ` ` ` aa ` P ` ` ` ` ` ` ` ` 4 4 ` a ` a ` Qx Qaax ` ` ` 4aax 4aaaaaaP ` ` ` ` ` ` ` 4a 4a ` a ` a ` ` ax ` Qax P ` 4 Qaax P QaaaaaaP Qax ` ` ` 4aax ` aa aa ` a ` a ` aa ` QaaP ` 4a QaaP ` aa ` Qax ` ` P Qaa P ` aa aa ` a ` ` a ` ` aa ` ` aa ` Qaax ` ` aa ` ` aa ` 4 ` QaaP ` ` aa aa ` a ` a ` ` aa ` ` aa ` Qax ` ` ` aa ` ` aa ` 4a ` `

@jmcveigh
jmcveigh / metal3.asc
Created December 5, 2015 18:54
Machinists do it accurately.

` ` 4MMMMMMMMx 4MMMMMP QMMMMMMx 4aMMMx 4MP ` 4MP"dMP"dMP 4MP ` dMP 4MP"dMP 4MP ` ` 4MP dMP dMP 4MMMP ` ` 4MP ` 4MMMMMP 4MP ` 4MP 4MP 4MP 4MP ` ` 4MP ` 4MP dMP 4MP ` QMP QMP QMP QMMMMMP ` QMP ` QMP QMP QMMMMMP ` ` ` ` ` ` ` ` ` `