Skip to content

Instantly share code, notes, and snippets.

View LadyAleena's full-sized avatar
🙂
Still getting the hang of using git and GitHub together

Lady Aleena LadyAleena

🙂
Still getting the hang of using git and GitHub together
View GitHub Profile
importArticles({
type: 'script',
articles: [
'u:dev:!ban/code.js',
'u:dev:!kick/code.js',
'u:dev:ChatOptions/code.js',
'u:dev:NewMessageCount.js',
'u:dev:MediaWiki:PrivateMessageAlert/code.js',
'u:dev:MediaWiki:MessageBlocker/code.js'
]
<figure style="border: 1px solid #bbb">
<a href="http://fantasy.xecy.net/Movies/Crossovers/Westphall_non-crossovers.pl#The_Westerns">
<img src="http://fantasy.xecu.net/files/images/Movies/Crossovers/The_Westerns.png" alt="The Westerns Crossover" style="width:100%" />
</a>
<figcaption>
<a href="http://fantasy.xecy.net/Movies/Crossovers/Westphall_non-crossovers.pl#The_Westerns">Western crossovers</a> by <a href="http://fantasy.xecu.net">Lady Aleena</a>.
</figcaption>
</figure>
=head1 SPECIFICATION
While no formal specification for CSV exists, L<RFC 4180|http://tools.ietf.org/html/rfc4180>
(I<1>) describes the common format and establishes C<text/csv> as the MIME
type registered with the IANA. L<RFC 7111|http://tools.ietf.org/html/rfc7111>
(I<2>) adds fragments to CSV.
Many informal documents exist that describe the C<CSV> format. L<"How To:
The Comma Separated Value (CSV) File Format"|http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm>
(I<3>) provides an overview of the C<CSV> format in the most widely used
#!/bin/bash
# written with the help of pj in #bash on freenode
for ext in "$@"; do
ext=${ext#.}
echo "$ext"
find . -name "*.$ext" -type f | sort | tee >(wc -l)
done
#!/bin/bash
sdir=$HOME/Documents/"$1"
tdir=$HOME/tmp/transcoded-"$1"
if [[ -d "$tdir" ]]; then
mkdir -p "$tdir"
fi
shopt -s globstar
#!/usr/bin/perl
use strict;
use warnings;
# This is a script to show how to set a table for a formal dinner.
# The information came from various places on the internet.
# It may be inaccurate.
my @courses = qw(salad fish entree oyster dessert);
#!/usr/bin/perl
use strict;
use warnings FATAL => qw( all );
# This script describes my laundry day.
# It is inaccurate currently.
# I can't get a load washing while the previous is drying.
local $\ = "\n";
@LadyAleena
LadyAleena / update_files.pl
Created January 8, 2014 20:35
My main Twitter maintenance script.
#!/usr/bin/perl
use strict;
use warnings FATAL => qw( all );
use Net::Twitter::Lite::WithAPIv1_1;
use Lingua::EN::Inflect qw(NO NUMWORDS);
use HTML::Entities qw(encode_entities_numeric);
use Try::Tiny;
use lib '../files/lib';