Skip to content

Instantly share code, notes, and snippets.

total used free shared buffers cached
Mem: 8077 7816 261 0 179 6937
-/+ buffers/cache: 698 7379
Swap: 0 0 0
Afghanistan
Albania
Algeria
Andorra
Angola
Antigua and Barbuda
Argentina
Armenia
Aruba
Australia
161 snark
152 Puddle
143 Stereo
129 WassPord
119 tomatosalad
105 Jax184
102 SpicyLemon
99 Ariamis
95 InitHello
92 Relsqui
var backwardsStream = require('fs-backwards-stream'),
fs = require("fs")
var CRC_TABLE = new Uint32Array([
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419,
0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4,
0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07,
0x90bf1d91, 0x1db71064, 0x6ab020f2, 0xf3b97148, 0x84be41de,
0x1adad47d, 0x6ddde4eb, 0xf4d4b551, 0x83d385c7, 0x136c9856,
0x646ba8c0, 0xfd62f97a, 0x8a65c9ec, 0x14015c4f, 0x63066cd9,
#!/usr/bin/perl -w
#
# This script was developed by Robin Barker ([email protected]),
# from Larry Wall's original script eg/rename from the perl source.
#
# This script is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
# Larry(?)'s RCS header:
# RCSfile: rename,v Revision: 4.1 Date: 92/08/07 17:20:30
@rcombs
rcombs / stdin
Created September 8, 2013 21:02
[17:59:12] <melody> I would've used ferret to find the ferret comic, but I couldn't remember the title for some reason. Turns out, it's Ferret. Whodathunk.
[17:59:52] <WassPord> ferretception!
[18:00:59] *** Joins: CommodorePlatypus ([email protected])
[18:00:59] <Jax184> WassPord: I have videos of that
[18:01:56] <WassPord> of what exactly ?
[18:02:09] <melody> ...ferrets in ferrets?
[18:02:22] *** Joins: marc ([email protected])
[18:02:27] <melody> Yeah, sounds about right.
[18:02:38] <marc> hai humans
[18:02:47] <Jax184> ferret sex!
2013-09-15 15:00:17,008 (-48dbf940) : INFO (core:336) - Starting framework core - Version: 2.3.11, Build: 9dc7356 (Thu Aug 29 21:52:02 UTC 2013)
2013-09-15 15:00:17,009 (-48dbf940) : DEBUG (core:348) - Using the standard policy
2013-09-15 15:00:17,009 (-48dbf940) : DEBUG (core:437) - Starting runtime component.
2013-09-15 15:00:17,011 (-48dbf940) : DEBUG (core:437) - Starting caching component.
2013-09-15 15:00:17,011 (-48dbf940) : DEBUG (core:437) - Starting data component.
2013-09-15 15:00:17,011 (-48dbf940) : DEBUG (core:437) - Starting networking component.
2013-09-15 15:00:17,012 (-48dbf940) : DEBUG (networking:318) - Loaded HTTP cookies
2013-09-15 15:00:17,045 (-48dbf940) : DEBUG (networking:504) - Setting the default network timeout to 20.0
2013-09-15 15:00:17,046 (-48dbf940) : DEBUG (core:437) - Starting localization component.
2013-09-15 15:00:17,046 (-48dbf940) : INFO (localization:408) - Setting the default locale to en-us
@rcombs
rcombs / stdin
Created September 17, 2013 19:00
Dialogue: 5,0:07:10.66,0:07:12.66,Default,,0,0,0,,Listen to this, Senjougahara!
Dialogue: 0,0:14:24.80,0:14:25.55,Blogemonogatari,,0,0,0,,{\blur0.8\pos(640,280)\fscx160\fscy160}said Senjougahara nonchalantly.
Dialogue: 5,0:18:24.73,0:18:25.79,Default,,0,0,0,,This is Senjou—
Dialogue: 5,0:18:26.84,0:18:28.68,Default,,0,0,0,,This is Senjougahara.
Dialogue: 5,0:18:54.19,0:18:58.23,Default,,0,0,0,,That aside, could you put on some clothes already, Senjougahara?
Dialogue: 0,0:19:44.41,0:19:45.41,Blogemonogatari,,0,0,0,,{\blur0.8\pos(640,200)\fscx150\fscy150}Senjougahara's character was changing.
Dialogue: 5,0:22:28.42,0:22:30.74,Default,,0,0,0,,{\i1}Senjouhara asked me a question that came out of nowhere.
@rcombs
rcombs / stdin
Created September 20, 2013 05:00
Filesystem Size Used Avail Use% Mounted on
tmpfs 128M 4.2M 124M 4% /var/log
/dev/sda1 3.8G 1.1G 2.7G 29% /boot
/dev/md1 932G 881G 51G 95% /mnt/disk1
/dev/md2 932G 881G 51G 95% /mnt/disk2
/dev/md3 932G 881G 51G 95% /mnt/disk3
/dev/md4 1.9T 1.8T 40G 98% /mnt/disk4
/dev/md5 3.7T 33M 3.7T 1% /mnt/disk5
/dev/md6 1.9T 33M 1.9T 1% /mnt/disk6
/dev/sdb1 120G 85M 120G 1% /mnt/cache
# RGB48
ffmpeg -ss start_time_in_seconds -i "infile.mkv" -ss offset_from_keyframe_in_seconds "outfile.png"
# RGB24 (via imagemagick):
ffmpeg -ss start_time_in_seconds -i "infile.mkv" -ss offset_from_keyframe_in_seconds \
-vframes 1 -f image2 -vcodec png - | convert - -depth 8 "outfile.png"