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
if (window.devicePixelRatio > 1) { | |
img_re = new RegExp(/=(s|w)(\d*)(\-c)?$/) | |
$("img").each(function(id, el){ | |
img_src = $(el).attr("src") | |
if (img_re.test(img_src)) { | |
img_size = parseInt(img_src.match(img_re)[2]) | |
dimension = img_src.match(img_re)[1] | |
new_img_size = img_size*2 | |
new_src = img_src.replace(img_re,"=" + dimension + new_img_size) | |
$(el).attr("src",new_src) |
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
This has moved to... https://github.com/jasoncartwright/recruiterdomains |
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
Silicon Valley | |
============== | |
95008 | |
95110 | |
95111 | |
95112 | |
95014 | |
95113 | |
95116 |
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
total=0 | |
for slash in $(dig TXT +short _netblocks{,2,3}.google.com | tr ' ' '\n' | grep '^ip4:' | cut -d '/' -f 2); do | |
total=$((total+$(echo "2^(32-$slash)" | bc -l))) | |
done | |
echo $total |
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
PART ONE | |
Chapter 1 | |
It was a bright cold day in April, and the clocks were striking thirteen. | |
Winston Smith, his chin nuzzled into his breast in an effort to escape the vile wind, slipped quickly through the glass doors of Victory Mansions, though not quickly enough to prevent a swirl of gritty dust from entering along with him. | |
The hallway smelt of boiled cabbage and old rag mats. | |
At one end of it a coloured poster, too large for indoor display, had been tacked to the wall. | |
It depicted simply an enormous face, more than a metre wide: the face of a man of about forty-five, with a heavy black moustache and ruggedly handsome features. | |
Winston made for the stairs. | |
It was no use trying the lift. | |
Even at the best of times it was seldom working, and at present the electric current was cut off during daylight hours. |
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
CALORIES = { | |
"Growers Harvest Pure Apple Juice 1 Litre":47, | |
"Stockwell And Co. Rice Pudding 400G":81, | |
"Stockwell And Co. Custard 385G":68, | |
"Stockwell And Co Instant Mashed Potatoes 120G":67, | |
"Tesco Essentials Shower Gel 250Ml":0, | |
"Tesco Skinless Boneless Scottish Mackerel Sunflower Oil 125G":226, | |
"Tesco Pineapple Slices In Juice 227G":51, | |
"Tesco Sardines In Tomato Sauce 120G":175, | |
"Tesco Sardines In Sunflower Oil 120G":220, |
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
Aberavon | |
Aberconwy | |
Aberdeen North | |
Aberdeen South | |
Airdrie and Shotts | |
Aldershot | |
Aldridge-Brownhills | |
Altrincham and Sale West | |
Alyn and Deeside | |
Amber Valley |
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
Aberavon,Stephen Kinnock,Labour | |
Aberconwy,Robin Millar,Conservative | |
Aberdeen North,Kirsty Blackman,Scottish National | |
Aberdeen South,Stephen Flynn,Scottish National | |
Airdrie and Shotts,Neil Gray,Scottish National | |
Aldershot,Leo Docherty,Conservative | |
Aldridge-Brownhills,Wendy Morton,Conservative | |
Altrincham and Sale West,Graham Brady,Conservative | |
Alyn and Deeside,Mark Tami,Labour | |
Amber Valley,Nigel Mills,Conservative |
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
parlcon_mp = {'Morecambe and Lunesdale': 'David Morris', 'North East Hertfordshire': 'Oliver Heald', 'Blaydon': 'Liz Twist', 'Thornbury and Yate': 'Luke Hall', 'South Antrim': 'Paul Girvan', 'Belfast North': 'John Finucane', 'Fermanagh and South Tyrone': 'Michelle Gildernew', 'Ipswich': 'Tom Hunt', 'Castle Point': 'Rebecca Harris', 'Rochdale': 'Tony Lloyd', 'Neath': 'Christina Rees', 'Leeds West': 'Rachel Reeves', 'South Leicestershire': 'Alberto Costa', 'Ashton-under-Lyne': 'Angela Rayner', 'Epsom and Ewell': 'Chris Grayling', 'Walsall North': 'Eddie Hughes', 'Penistone and Stocksbridge': 'Miriam Cates', 'New Forest East': 'Julian Lewis', 'Chipping Barnet': 'Theresa Villiers', 'Kilmarnock and Loudoun': 'Alan Brown', 'Kettering': 'Philip Hollobone', 'Orkney and Shetland': 'Alistair Carmichael', 'Aberavon': 'Stephen Kinnock', 'Rossendale and Darwen': 'Jake Berry', 'Angus': 'Dave Doogan', 'Westmorland and Lonsdale': 'Tim Farron', 'Solihull': 'Julian Knight', 'Totnes': 'Anthony Mangnall', 'Manchester Withington' |
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
parlcon_party = {'Morecambe and Lunesdale': 'Conservative', 'North East Hertfordshire': 'Conservative', 'Blaydon': 'Labour', 'Thornbury and Yate': 'Conservative', 'South Antrim': 'DUP', 'Belfast North': 'Sinn F\xc3\xa9in', 'Fermanagh and South Tyrone': 'Sinn F\xc3\xa9in', 'Ipswich': 'Conservative', 'Castle Point': 'Conservative', 'Rochdale': 'Labour', 'Neath': 'Labour Co-operative', 'Leeds West': 'Labour', 'South Leicestershire': 'Conservative', 'Ashton-under-Lyne': 'Labour', 'Epsom and Ewell': 'Conservative', 'Walsall North': 'Conservative', 'Penistone and Stocksbridge': 'Conservative', 'New Forest East': 'Conservative', 'Chipping Barnet': 'Conservative', 'Kilmarnock and Loudoun': 'Scottish National', 'Kettering': 'Conservative', 'Orkney and Shetland': 'Liberal Democrats', 'Aberavon': 'Labour', 'Rossendale and Darwen': 'Conservative', 'Angus': 'Scottish National', 'Westmorland and Lonsdale': 'Liberal Democrats', 'Solihull': 'Conservative', 'Totnes': 'Conservative', 'Manchester Withington': 'Labour', 'Garston |
OlderNewer