Skip to content

Instantly share code, notes, and snippets.

View AndyA's full-sized avatar

Andy Armstrong AndyA

View GitHub Profile
$ sudo zpool status
pool: data
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://zfsonlinux.org/msg/ZFS-8000-9P
scan: scrub in progress since Mon Feb 17 23:44:46 2014
352G scanned out of 62.4T at 10.1M/s, (scan is slow, no estimated time)
$ sudo zpool status
pool: data
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://zfsonlinux.org/msg/ZFS-8000-9P
scan: scrub in progress since Tue Feb 18 09:47:46 2014
13.7T scanned out of 62.4T at 587M/s, 24h9m to go
# zpool status
pool: data
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Mon Feb 24 15:58:13 2014
26.8G scanned out of 66.2T at 885M/s, 21h46m to go
37.6M resilvered, 0.04% done
config:
#!/usr/bin/env perl
use autodie;
use strict;
use warnings;
open my $ch, '-|', 'ls', -l => '/tmp';
print while (<$ch>);
originals
England
Issues: 2582-2585,2617,2622-2633,2642-2644,2664,2881-2884,2950,3011,3108,3136,3138-3141
2719_20
2980_1
London
Issues: 1139-1182,1238,1263,1407,1416,1808-2039,2041-2105,2442-2457,2460-2509,2512-2519,2528-2562,2564-2581,2586-2614,2634-2640,2645-2663,2665-2666,2669-2718,2721-2770,2808,2826-2876,2878-2880,2885-2927,2930-2949,2953-2979,2982-3004,3008-3009,3015-3032,3034-3084,3087-3098,3114-3133,3142-3221,3223-3290,3293-3406,3505-3525,3528-3530,3532,3535,3538-3540,3542-3545,3547-3555,3557-3563,3566-3568,3570-3576,3578-3585,3588-3590,3593-3594,3600-3601,3607-3614,3616,3618-3620,3624,3628-3630,3632-3633,3635,3637-3639,3641-3643,3645-3648,3650-3663,3665,3668-3670,3673-3683,3685,3688-3690,3692,3694-3699,3701-3702,3707-3709,3711,3713,3715-3716,3718,3722,3724-3725,3728-3733,3735-3739,3741-3745,3747,3749,3751-3753,3755,3767,3780-3788,3790-3791,3796-3798,3804-3837,3841,3843-3845,3847-3863,3865-3905,3907-3977,3979-4228
2458_9
2510_11
2615_6
$ whois thenailsworthhandyman.co.uk
Domain name:
thenailsworthhandyman.co.uk
Registrant:
gianluca corrado
Registrant type:
UK Individual
$ git log -S none css/style.css
commit 37d8cd15a45a06ddef0848c42bd1db0e113cb643
Author: Andy Armstrong <andy@hexten.net>
Date: Wed Jun 18 13:54:15 2014 +0100
Toggle year browser.
commit dfb494ef46906282abc3eda90fa1a4b6ff80b71b
Author: smoo <smoomail@gmail.com>
Date: Wed Jun 18 13:34:57 2014 +0100
BBC Choice BBC Three | 1xtra 5IT Birmingham 6BM Bournemouth
BBC Four BBC Two | 2BD Aberdeen 5NG Nottingham 6FL Sheffield
BBC HD CBBC Channel | 2BE Belfast 5NO Newcastle 6KH Hull
BBC Knowledge CBeebies | 2DE Dundee 5PY Plymouth 6LV Liverpool
BBC News Channel 4 | 2EH Edinburgh 5SC Glasgow 6ST Stoke
BBC One England | 2LO London 5SX Swansea Asian Network
BBC Parliament five | 2LS Leeds 5WA Cardiff Basic
BBC Television ITV1 | 2ZY Manchester 5XX Daventry BBC 7
System.Xml.XmlException: expected '>' (3E) but found 'EOF' (FFFFFFFF) Line 11883410, position 9.
at Mono.Xml2.XmlTextReader.Expect (Int32 expected) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadStartTag () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at Mono.Xml.XmlFilterReader.Read () [0x00000] in <filename unknown>:0
at Mono.Xml.XmlFilterReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlReader.Skip () [0x00000] in <filename unknown>:0
at Brejc.OsmLibrary.OsmXmlReader.ReadTag () [0x00000] in <filename unknown>:0
#!/bin/bash
ind="full"
for sz in "223x293"; do
find "$ind" -iname '*.png' | while read src; do
dst="${src/$ind/$sz}"
if [ "$src" -nt "$dst" ]; then
echo "$src -> $dst"
mkdir -p "$(dirname "$dst")"
tmp="$dst.tmp.png"