This file contains 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
(function($) { | |
$.preloadPager = function(options) { | |
var settings = $.extend({ | |
autoLoad: true, | |
cache: false, | |
content: '.content', | |
pager: '#pager', | |
margin: $(window).height() | |
}, options); |
This file contains 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
//------------------------------------------------------------------------------ | |
// geotool.js - version 1.0.0 | |
// | |
// Copyright (c) 2005 Craftworks Corp. All Right Reserved. | |
// | |
// This library is free software; you can redistribute it and/or | |
// modify it under the terms of the GNU Lesser General Public | |
// License as published by the Free Software Foundation; either | |
// version 2.1 of the License, or (at your option) any later version. | |
// |
This file contains 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; | |
my @GLOBAL_BUFFERS = qw( | |
key_buffer_size | |
innodb_buffer_pool_size | |
innodb_log_buffer_size | |
innodb_additional_mem_pool_size |
This file contains 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
use strict; | |
use warnings; | |
use Benchmark ':all'; | |
use Data::Dumper; | |
use Data::Dump; | |
use Data::MessagePack; | |
use JSON::XS; | |
my $data = [ | |
'foo', |
This file contains 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 File::Temp 'tempfile'; | |
require 5.008; | |
my $hosts = '/etc/hosts'; |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<script type="text/javascript"> | |
var LoadingIcon = function() { this.initialize.apply(this, arguments) }; | |
LoadingIcon.prototype = { | |
initialize: function(rgb) { | |
var element = document.createElement('canvas'), | |
ctx = element.getContext('2d'); |