Skip to content

Instantly share code, notes, and snippets.

View AndyA's full-sized avatar

Andy Armstrong AndyA

View GitHub Profile
$ whois prize-led-fundraising.com
Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
Domain Name: PRIZE-LED-FUNDRAISING.COM
Registrar: ENOM, INC.
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<language>en</language>
<title>BBC Genome Feed</title>
<description>The BBC Genome website contains the BBC listings information which the BBC printed in Radio Times between 1923 and 2009. This blog will highlight hidden archive gems, remind you of historical firsts and moments, and tell you all about the exciting developments in the pipeline.</description>
<pubDate>Tue, 14 Jul 2015 10:16:20 +0100</pubDate>
<generator>Zend_Feed_Writer 1.10.9 (http://framework.zend.com)</generator>
<link>http://www.test.bbc.co.uk/blogs/genome</link>
<atom:link rel="self" type="application/rss+xml" href="http://www.test.bbc.co.uk/blogs/genome/rss"/>
+------+--+------------+----------+---------------+--+------------+----------+---------------+--+------------+------------+---------------+--+-------------+-------------+---------------+--+------------+-----------+---------------+--+------------+-----------+---------------+--+------------+----------+---------------+
| year | | s1-progs | s2-progs | sc-progs | | s1-edits | s2-edits | sc-edits | | s1-related | s2-related | sc-related | | s1-contribs | s2-contribs | sc-contribs | | s1-coords | s2-coords | sc-coords | | s1-tables | s2-tables | sc-tables | | s1-infax | s2-infax | sc-infax |
+------+--+------------+----------+---------------+--+------------+----------+---------------+--+------------+------------+---------------+--+-------------+-------------+---------------+--+------------+-----------+---------------+--+------------+-----------+---------------+--+------------+----------+---------------+
| | | rg-western | rg-wales | rg-wales-west | | rg-western | rg
+------+------------+------------+------------------+
| | rg-western | rg-wales | rg-wales-west |
| ---- | --------- | ---------- | ---------------- |
| 1933 | 3107 | | |
| 1934 | 5496 | | |
| 1935 | 5245 | | |
| 1936 | 5981 | | |
| 1937 | 5212 | 5960 | 2704 |
| 1938 | 4128 | 6104 | |
| 1939 | 3299 | 4356 | |
mkdir revo.tthtesting.co.uk
cd revo.tthtesting.co.uk/
ls ../sjh.tthtesting.co.uk/
ls -ld
mkdir www logs
cd www
#wget -c http://wordpress.org/latest.tar.gz
cd ..
rm -rf www/
wget -c http://wordpress.org/latest.tar.gz
rsync -avP [email protected]:/data/media/Archive/files.gz ~/Desktop/
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
rsync -avP ~/.ssh user@mac_mini:~
SELECT r2.*, rm2.keep FROM (SELECT _parent, COUNT(keep) AS count FROM (SELECT r._parent, rm.keep FROM genome_related AS r, genome_related_meta AS rm WHERE rm._uuid=r._uuid GROUP BY r._parent, rm.keep) AS q GROUP BY _parent) AS q2, genome_related AS r2, genome_related_meta AS rm2 WHERE count>1 AND r2._parent=q2._parent AND r2._uuid=rm2._uuid
0 : 'xml/1943/1014/XML/XML_1943_1014.xml' 'xml/1943/1014/1014/XML/XML_1943_1014.xml'
0 : 'xml/1975/2688/XML/XML_1975_2688.xml' 'xml/1975/2678/XML/XML_1975_2678.xml'
0 : 'xml/1977/2808/XML/zzXML_1977_2808.xml' 'xml/1977/2808/XML/Copie de XML_1977_2808.xml'
0 : 'xml/2009/issue-conflict/4438/XML/XML_2009_4438.xml' 'xml/2009/4438/XML/XML_2009_4438.xml'
0 : 'xml/2009/issue-conflict/4451/XML/XML_2009_4451.xml' 'xml/2009/4451/XML/XML_2009_4451.xml'
70 : 'xml/1965/2172/PDF/2172/XML/XML_1965_2172.xml' 'xml/1965/2172/XML/XML_1965_2172.xml'
218 : 'xml/1961/1986/XML/XML_1961_1986.xml' 'xml/1961/1968/1986/XML/XML_1961_1986.xml'
561 : 'xml/1971/2462/XML/XML_1971_2462.xml.old.xml' 'xml/1971/2462/XML/XML_1971_2462.xml'
1944 : 'xml/1969/2396/XML v4/XML_1969_2396.xml' 'xml/1969/2396/XML/XML_1969_2396.xml'
2334 : 'xml/1977/2808/XML/in.xml' 'xml/1977/2808/XML/Copie de XML_1977_2808.xml'
@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