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
package DoublePDL; | |
use strict; | |
use warnings; | |
use parent qw( PDL::Exporter ); | |
our @EXPORT_OK = qw(double_pdl); | |
our %EXPORT_TAGS = (Func=>[@EXPORT_OK], Internal => [],); | |
*double_pdl = \&PDL::double_pdl; |
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/env perl | |
use strict; | |
use warnings; | |
use PDL; | |
use PDL::NiceSlice; | |
use feature qw(say); | |
use Benchmark qw(timethese); |
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
# Part of get-flash-videos. See get_flash_videos for copyright. | |
package FlashVideo::Site::Vimeo; | |
use strict; | |
use warnings; | |
use FlashVideo::Utils; | |
use FlashVideo::JSON; | |
our $VERSION = '0.01'; | |
sub Version() { $VERSION; } |
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
commands.addUserCommand(['ClearCache'], 'Clear the cache', | |
function(){ | |
// via WebDeveloper.Overlay.Miscellaneous.clearCache | |
// <https://github.com/chrispederick/web-developer/blob/2fee3009976512bbe5fbf0660844733cebd3e1bd/source/firefox/javascript/overlay/miscellaneous.js#L47> | |
var cacheInterface = Components.interfaces.nsICache; | |
var cacheService = Components.classes["@mozilla.org/network/cache-service;1"].getService(Components.interfaces.nsICacheService); | |
cacheService.evictEntries(cacheInterface.STORE_ANYWHERE); | |
}); | |
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/sh | |
unset DISPLAY | |
ARG="$@" | |
matlab -nodesktop -nodisplay -nojvm -nosplash -r "help $ARG ,exit" \ | |
| cat | |
#| perl -nle 'print if (/For product information, visit www.mathworks.com./../\[?1l>/) > 2' | |
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/sh | |
unset DISPLAY | |
ARG="$@" | |
swipl -g 'help('$ARG'),halt' | cat |
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
perl-5.8.9 | |
========== | |
overload.pl .. | |
ok 1 | |
ok 2 | |
ok 3 | |
not ok 4 | |
1..4 | |
Dubious, test returned 1 (wstat 256, 0x100) | |
Failed 1/4 subtests |
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
For <https://github.com/Perl-XS/notes/pull/3>, <https://github.com/Perl-XS/notes/pull/4> |
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
/* see <http://stackoverflow.com/questions/1694164/is-errno-thread-safe> */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define mem (*set_it()) | |
int memory; | |
int* set_it() { | |
return &memory; |
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
https://github.com/briandfoy/Perl-Books | |
http://www.reddit.com/r/perl/comments/1olwxa/perl_tv_freshly_launched_website_collecting/ | |
perl video site | |
https://github.com/dpavlin/HTML5TV | |
http://html5tv.rot13.org/ | |
http://videolectures.net/ | |
http://praegnanz.de/html5video/ | |
http://mirocommunity.org/features/ | |
http://www.bluesock.org/~willg/blog/pmc/status_20120130.html |