Skip to content

Instantly share code, notes, and snippets.

View AndyA's full-sized avatar

Andy Armstrong AndyA

View GitHub Profile
@AndyA
AndyA / gist:01fff88cea5b72d68f98
Created June 11, 2015 08:26
Programme time problems in XML
xml/1924/28/XML/XML_1924_28.xml, line 3556: bad time: 1924-04-07T21:60 (The 'minute' parameter ("60") to DateTime::new did not pass the 'an integer between 0 and 59' callback: )
xml/1924/36/XML/XML_1924_36.xml, line 18885: bad time: 1924-06-07T20:60 (The 'minute' parameter ("60") to DateTime::new did not pass the 'an integer between 0 and 59' callback: )
xml/1969/2396/XML/XML_1969_2396.xml, line 3288: bad time: 1969-10-11T12:60 (The 'minute' parameter ("60") to DateTime::new did not pass the 'an integer between 0 and 59' callback: )
xml/1999/3934/XML/XML_1999_3934.xml, line 5100: programme after day end (1999-07-11T09:00:00 >= 1999-07-11T08:00:00)
xml/1949/1360/XML/XML_1949_1360.xml, line 11333: bad time: 1949-11-08T24:00 (The 'hour' parameter ("24") to DateTime::new did not pass the 'an integer between 0 and 23' callback: )
xml/1965/2158/XML/XML_1965_2158.xml, line 18988: programme after day end (1965-03-24T11:48:00 >= 1965-03-24T08:00:00)
xml/1994/3677/XML/XML_1994_3677.xml, line 32995: programme after day
Problems by issue:
Issue 643:
missing days: 1936/02/01
Issue 831A:
covers 6 days (1939/09/04 to 1939/09/09)
Issue 848:
covers -358 days (1939/12/31 to 1939/01/06)
1939/12/31 outside 1939/12/31 to 1939/01/06
1939/01/01 outside 1939/12/31 to 1939/01/06
1939/01/02 outside 1939/12/31 to 1939/01/06
@AndyA
AndyA / gist:9906b968911299b2339b
Created June 10, 2015 01:12
diiffstats for issue 1156
3506 : xml/1946/1186/XML/XML_1946_1186.xml
6661 : xml/1923/1/XML/XML_1923_1.xml
7008 : xml/1939/831A/XML/XML_1939_831A.xml
7086 : xml/1923/3/XML/XML_1923_3.xml
7282 : xml/1923/2/XML/XML_1923_2.xml
8238 : xml/1923/4/XML/XML_1923_4.xml
8357 : xml/1939/833/XML/XML_1939_833.xml
8632 : xml/1946/1180/XML/XML_1946_1180.xml
8648 : xml/1946/1182/XML/XML_1946_1182.xml
8688 : xml/1939/832/XML/XML_1939_832.xml
@AndyA
AndyA / gist:68c6fa4d5c19dca6dc16
Created June 10, 2015 00:11
1945_1156 versus 1946_1186
--- /nfs/data/scratch/genome/xml/1945/1156/XML/XML_1945_1156.xml 2011-12-06 11:03:28.000000000 +0000
+++ /nfs/data/scratch/genome/xml/1946/1186/XML/XML_1946_1186.xml 2012-04-02 10:22:49.000000000 +0100
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
-<EDITION xmlns="http://ns.jouve.com/2011/02/11/jouve_genome" timestamp="2011-12-05T16:33">
+<EDITION xmlns="http://ns.jouve.com/2011/02/11/jouve_genome" timestamp="2012-03-20T16:03">
<EDITION.INFO>
- <PUBLICATION.DATE>1945-11-23</PUBLICATION.DATE>
- <ISSUE.NUMBER>1156</ISSUE.NUMBER>
- <VOLUME.NUMBER>89</VOLUME.NUMBER>
mv G0010073.JPG pic00000.jpg
mv G0010074.JPG pic00001.jpg
mv G0010075.JPG pic00002.jpg
mv G0011727.JPG pic00003.jpg
mv G0011728.JPG pic00004.jpg
mv G0011729.JPG pic00005.jpg
mv G0011730.JPG pic00006.jpg
mv G0011731.JPG pic00007.jpg
mv G0011732.JPG pic00008.jpg
mv G0011733.JPG pic00009.jpg
hello: file format elf64-x86-64
Disassembly of section .init:
00000000004003e0 <_init>:
4003e0: 48 83 ec 08 sub $0x8,%rsp
4003e4: 48 8b 05 0d 0c 20 00 mov 0x200c0d(%rip),%rax # 600ff8 <_DYNAMIC+0x1d0>
4003eb: 48 85 c0 test %rax,%rax
@AndyA
AndyA / gist:ca1157b8229a35747a25
Created May 20, 2015 01:34
Service counts, dates
+-----------------------------------+-------+------------+------------+
| service | count | from | to |
+-----------------------------------+-------+------------+------------+
| 1XTRA | 966 | 2007-05-26 | 2010-01-01 |
| 2BD Aberdeen | 1780 | 1923-10-10 | 1938-01-08 |
| 2BE Belfast | 806 | 1924-09-15 | 1931-11-28 |
| 2DE Dundee | 676 | 1924-11-12 | 1926-09-25 |
| 2EH Edinburgh | 871 | 1924-05-01 | 1926-09-25 |
| 2LO London | 1414 | 1923-09-30 | 1927-08-20 |
| 2LO London and 5XX Daventry | 924 | 1927-01-01 | 1930-03-08 |
Redirect 301 /boundary/ https://rf2.tthtesting.co.uk/enquiry/boundary/
Redirect 301 /careers/ https://rf2.tthtesting.co.uk/about-renewables-first/careers/
Redirect 301 /community-consultation/ https://rf2.tthtesting.co.uk/windpower/wind-turbine-consenting/community-consultation/
Redirect 301 /community-consultation/trewithen-dairy/ https://rf2.tthtesting.co.uk/windpower/wind-turbine-consenting/community-consultation/trewithen-dairy/
Redirect 301 /community-renewables-wind-turbines/ https://rf2.tthtesting.co.uk/windpower/community-windpower/
Redirect 301 /company-history/ https://rf2.tthtesting.co.uk/about-renewables-first/company-history/
Redirect 301 /contact-us/ https://rf2.tthtesting.co.uk/enquiry/contact-us/
Redirect 301 /cookie-policy/ https://rf2.tthtesting.co.uk/about-renewables-first/cookie-policy/
Redirect 301 /endurance-e-3120-55-kw-wind-turbine/ https://rf2.tthtesting.co.uk/windpower/wind-turbines/endurance-e-3120-50-kw-wind-turbine/
Redirect 301 /endurance-e-series-wind-turbine/ https://rf2.tthtes
Fetching http://rf2.tthtesting.co.uk/hydropower/hydropower-feasibility/hydropower-feasibility-studies/
error: 404 Not Found
--
Fetching http://rf2.tthtesting.co.uk/hydropower/hydropower-investment-financing/
error: 404 Not Found
--
Fetching http://rf2.tthtesting.co.uk/windpower/windpower-feasibility-studies/turbine-selection-site-layout-tssl/
error: 404 Not Found
--
Fetching http://rf2.tthtesting.co.uk/wind-turbine-consenting/community-consultation/trewithen-dairy/
Fetching http://rf2.tthtesting.co.uk/
title: Renewables First | Hydropower Turbines & Windpower Turbines for Farms
Fetching http://rf2.tthtesting.co.uk/hydropower/
title: Renewables First - Hydropower projects throughout the UK
Fetching http://rf2.tthtesting.co.uk/hydropower/hydropower-introduction/
title: Hydropower Introduction - Renewables First - The Hydro and Wind Company
Fetching http://rf2.tthtesting.co.uk/hydropower/hydropower-feasibility/hydropower-feasibility-studies/
error: 404 Not Found
Fetching http://rf2.tthtesting.co.uk/hydropower/hydropower-consenting/
title: Hydropower Consenting - Renewables First - The Hydro and Wind Company