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
#!/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'; |
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
#!/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"; |
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
#!/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); |
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 | |
sdir=$HOME/Documents/"$1" | |
tdir=$HOME/tmp/transcoded-"$1" | |
if [[ -d "$tdir" ]]; then | |
mkdir -p "$tdir" | |
fi | |
shopt -s globstar |
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 | |
# 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 |
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
=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 |
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
<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> |
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
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' | |
] |
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
<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> |
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
/******************************************************************* | |
* 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); |
OlderNewer