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
@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';
#!/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";
#!/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);
#!/bin/bash
sdir=$HOME/Documents/"$1"
tdir=$HOME/tmp/transcoded-"$1"
if [[ -d "$tdir" ]]; then
mkdir -p "$tdir"
fi
shopt -s globstar
#!/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
=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
<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>
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'
]
<infobox>
<data source="mother"><label>Mother</label></data>
<data source="father"><label>Father</label></data>
<data source="partners"><label>Partners</label></data>
<group layout="stacked" collapse="closed">
<header>{{{name}}}'s siblings</header>
<data source="sibling 1">
<label>First sibling</label>
<format>{{{sibling 1}}} {{#if: {{{sibling 1 coparent|}}} | by {{{sibling 1 coparent}}} }} {{#if: {{{sibling 1 gender|}}} | ({{#switch: {{{sibling 1 gender}}} | male = brother | female = sister | #default = }})}}</format>
/*******************************************************************
* Credits go to: (all members in irc.freenode.net ##javascript *
* inimino (complete adjustments) *
* Maggi (lots of troubleshooting help) *
* Typos_King (input on troubleshooting) *
* Mordof (compiling final efforts into this document) *
*******************************************************************/
function load() {
document.getElementById('site_menu').addEventListener('click', list_onclick);