Skip to content

Instantly share code, notes, and snippets.

Avatar

madra.net madranet

View GitHub Profile
View kawizzz
(1) Let’s start with some people who are so good, they named them twice. What I mean is that they have a two first names – and, actually, some of them are not very good people at all.
a COUNTRY STAR WHO HAS DUETTED WITH HIS DAUGHTER MILEY --BILLY RAY CYRUS
b POP STAR WHO HAS DUETTED WITH HER FATHER ELVIS --LISA MARIE PRESLEY
c SHE COULD NOT PERSUADE KIM CATTRALL TO JOIN A REUNION IN JULY --
d ASSASSIN IN DALLAS, TEXAS IN NOVEMBER 1963 --LEE HARVEY OSWALD
e ASSASSIN IN FORD'S THEATER, WASHINGTON IN APRIL 1865 --JOHN WILKES BOOTH
f BAFTA WINNER FOR HER ROLE AS KERRY MUCKLOWE IN ‘THIS COUNTRY’ --
g HE WROTE HAMILTON AND PERFORMED AS HAMILTON IN HAMILTON --
h GABON’S LEADING GOALSCORER, CURRENTLY PLAYING FOR ARSENAL --
i ALEC GUINNESS’ CHARACTER IN ‘STAR WARS’. --OBI WAN KINOBI
View KAWIZZZ
(1) Let’s return to my daily walk, a habit I hope to keep forever. All my destinations have names which begin with a ‘P’ and then immediately an ‘a’. First letter ‘P’; second letter ‘a’. Where are we going?
a)    ITALIAN CITY THAT PRODUCES A LOT OF HAM, AND THE CHEESE I GRATE ON TO MY PASTA --PARMA
b)    LONDON RAIL TERMINUS WHOSE PLATFORM 1 HAS A BEAR STATUE --PADDINGTON
c)    ISLAND NATION WHOSE CARS HAVE STICKERS READING ‘PNG’ --PAPUA NEW GUINEA
d)    FIRST MONOPOLY PROPERTY AFTER JAIL, OFTEN ADVANCED TO --PALL MALL
e)    PRICEY MONOPOLY PROPERTY BETWEEN CHANCE AND SUPER TAX --PARK LANE
f)    FLORIDA SEASIDE RESORT WITH COCONUT TREES AND BILLIONAIRES --PALM SPRINGS
g)    CRICKETING COUNTRY WHICH ACQUIRED TEST STATUS IN 1952 --PANAMA
h)    ATHENS TEMPLE WHICH USED TO BE HOME TO THE ELGIN MARBLES --PARTHENON
i)    SILICON VALLEY CITY THAT NOT ONLY BEGINS ‘PA…’ BUT ALSO HAS THE INITIALS ‘P.A.’ --PALO ALTO
View gist:5c6db49e54ba28988ad034f63b7561e6
A total of 30 points up for grabs. All the questions have something to do with the letters NHS. Good luck!
1. All of the following famous people have the initials NH, HS or NS. But who, I wonder, are they?
a HE HAS BEEN WISHING US ALL MERRY XMAS SINCE 1973 – NODDY HOLDEN
b SHE RUNS SCOTLAND – NICHOLA STURGEON
c MEMBER OF ONE DIRECTION – HARRY STYLES
d SLIGHTLY LESS FAMOUS MEMBER OF ONE DIRECTION? – NH ???
e GREAT BRITISH BAKE-OFF WINNER WHO NOW HAS HER OWN SHOW ON BBC2 – NH ???
f GOON WHO USED TO PRESENT ‘SONGS OF PRAISE’ – HARRY SECOMBE
View hackerchoose.js
console.log("HackerChoose --loaded external JS");
var shitdomains = [
"arstechnica.com",
"bbc.com",
"beyouteous.com",
"bloomberg.com",
"businessweek.com",
"buzzfeednews.com",
View chrimbo sonnogs
01: Rocking Around the Christmas Tree
02: Farytale of New York
03: Wanking Tape Video City
04: I Saw Three Ships
05: Stop the War [I Wish I was at Home for Christmas]
06: Snow Coffee Rain Man
07: Silent Night
08: The First Noel
09: White Christmas
10: Driving Home For Christmas
View Ka-Wizzzzzz
(1) We’ve enjoyed a lot of geography along the way. But we’re down to one letter now, and it’s hard to get a good quiz question out of the French commune called Y or the Swedish village called Ö. Bear with me, I’ll find a way to get some geography in. In the meantime, these answers are all single letters.
a)    FILM CERTIFICATE REPLACED WITH ‘18’ IN 1982 --X
b)    LETTER ON THE BACK OF HOLIDAYING SPANISH CARS --E
c)    MAJOR SCALE YOU CAN PLAY WITHOUT ANY EBONY KEYS --C
d)    LETTER ON THE COSTUME OF A CLOWN CALLED RONALD --M
e)    MOST COMMON BLOOD GROUP --O
f)    IT’S BETWEEN ‘U’ AND ‘O’ ON A QWERTY KEYBOARD --Damn! If only there was a keyboard somewhere to look at! --I [I knew it anyway!]
(1b) I’ve got it! Which country can you form from the answers in the previous question?
View gist:2d3cd869c573edd7c097011f83d84ea7
(1) Let’s start with TV. All these shows have the word ‘Two’ in the title. What are we watching?
a COMPETITION SPIN-OFF SHOW WHICH SHARES A TITLE WITH A MARVIN GAYE DUET --It Takes Two
b QUIZ SHOW – WHICH THEY SHOULD BRING BACK ONE DAY, I LOVED THE HOST – WHICH SHARED A TITLE WITH A FRANKIE GOES TO HOLLYWOOD SONG --Two Tribes
c SITCOM WHICH SHARED A TITLE WITH A SONG ABOUT TRYING TO GET SERVED IN A PUB -Two Pints of Lager anda Packet of Crisps
d CHARLIE SHEEN WAS WRITTEN OUT OF THIS SITCOM (NEVER THREATEN A SHOW’S CREATOR) --
e SITCOM WHERE THE FAMILY ACTUALLY HAD PRECISELY ONE PAIR OF OFFSPRING --The Two of Us
f IT WAS GOODNIGHT FROM THEM --Two Ronnies
g COOKERY SHOW NAMED AFTER A BINGO CALL --Two Fat Ladies
(2) We hear a lot about firsts. The first man to do this, the first woman to do that. In honour of the number two, let’s celebrate some seconds instead.
View vprob01.md

How to Get Destination URL After Redirect?

I'm currently trying to port one of my Python scripts which downloads the latest crossword from a newspaper site. Online the crossword is accessed via a URL like: "http://site.com/crossword/latest/" which automatically redirects to the URL of the latest crossword, a URL like: "http://site.com/crossword/4213/"

So, for testing, I've got:

response := http.get("http://site.com/crossword/latest/") or {panic('ERR')} 
View keybase.md

Keybase proof

I hereby claim:

  • I am madranet on github.
  • I am stiobhart (https://keybase.io/stiobhart) on keybase.
  • I have a public key ASCQ1owsoJUclzhIIDLo_cDE9GyT6p55uUR1wKtlf5vs5Ao

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am madranet on github.
  • I am stiobhart (https://keybase.io/stiobhart) on keybase.
  • I have a public key whose fingerprint is 4BAF 07A0 692E 2776 8F7F C235 D846 195B A179 F646

To claim this, I am signing this object: