Skip to content

Instantly share code, notes, and snippets.

Patrick McDonald PatrickMcDonald

Block or report user

Report or block PatrickMcDonald

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Christmas Films 2018.md

Christmas Films 2018

Sat 22nd Dec

  • BBC2 10am The Muppets
  • BBC2 11:35 Cars 2
  • BBC1 1:40 Penguins of Madagascar
  • BBC1 3:00 Kung Fu Panda
  • BBC2 4:45 Finding Neverland
  • ITV 6:30 Star Wars Episode VI
  • C4 6:10 Crocodile Dundee
View Lights.irplus
<irplus>
<device manufacturer="" model="Lights" columns="4" format="WINLIRC_RAW" repeatheader="false">
<button label="On" labelSize="12.0">1540 896 392 448 336 448 364 896 392 896 672 420 420 420 420 420 448 420 448 448 756 420 448 420 448 896 896 420 448 448 448 868 868 448 448 896 448 420 476 420 448 448 448 420 448 448 448 420 476 420 924 78792 2660 896 448 420 476 420 476 868 448 868 868 448 448 420 476 420 476 420 448 420 896 448 448 448 448 868 924 420 448 420 448 896 896 420 476 868 476 420 448 420 448 448 448 448 448 420 476 420 448 448 896 78288 2632 896 448 420 476 420 476 868 448 868 896 420 448 448 448 420 476 420 448 448 868 448 448 448 448 868 924 420 476 420 420 896 896 448 448 868 476 420 476 420 448 420 448 448 448 448 448 420 476 420 896 78876</button>
</device>
</irplus>
View Underrated SciFi.md

Top 10 Underrated Sci-Fi Movies

  1. Moon
  2. Sunshine
  3. eXistenZ
  4. Strange Days
  5. Equilibrium
  6. Silent Running
  7. Mr Nobody
  8. Heavy Metal
View Colette's Photo Links.md
View RumorHasIt.md

Rumour has it ...

That there are numerous ways of dispatching those pesky rodents in which you don't even have to raise your longsword in anger. I've heard tales that all double dozen of them can be dispatched inside of thirty seconds. Wouldn't that be too good to be true?

It's been said that there's a connection between the old man's home and the king: 'The King said, "Bother!" and then he said, "Oh, deary me!". The King sobbed, "Oh, deary me!" and went back to bed. "Nobody," he whimpered, "could call me a fussy man; I only want a little bit Of butter for my bread!" Perhaps a serving at the correct location is in order?

Do you know that you can actually get MUD to say "fuck off" to you? Try experimenting ...

Have you ever considered other places to use those parachutes? One particular location is guaranteed to lead to a grizzly end, but in doing so you'll be given a strong hint to a great secret.

View Chippers.md

FISH AND CHIPS hold a special place in the hearts of many. And as we all know, the best way to indulge in them is straight out of the local chipper.

So, here are finest fish and chip establishments from around the country:

1. Donkey Ford’s, Limerick

This just might have the reputation as the best fish and chips in the country (outside the more traditionally famous places) and it’s a mantle that is well deserved. Donkey Ford’s is Limerick and the Limerick people guard its reputation closely. If you’re down that direction, you have to try it.

2. Reel Dingle Fish, Dingle, Kerry

@PatrickMcDonald
PatrickMcDonald / getpaket.fsx
Created Apr 28, 2015
Getting started with Paket (Adapted from suave.io)
View getpaket.fsx
// Step 0. Boilerplate to get the paket.exe tool
open System
open System.IO
Environment.CurrentDirectory <- __SOURCE_DIRECTORY__
let createWebClient _ =
let wc = new Net.WebClient()
wc.Proxy <- System.Net.WebRequest.DefaultWebProxy;
@PatrickMcDonald
PatrickMcDonald / coreunit.cmd
Created Apr 18, 2015
Put this file in the folder above visualfsharp and run from Visual Studio command prompt as administrator
View coreunit.cmd
pushd visualfsharp\src
msbuild fsharp-library-build.proj /p:TargetFramework=net40
if %errorlevel% neq 0 goto :END
msbuild fsharp-library-unittests-build.proj /p:TargetFramework=net40
if %errorlevel% neq 0 goto :END
@PatrickMcDonald
PatrickMcDonald / Excel From SQL Server.sql
Created Feb 26, 2015
Import columns with mixed datatypes to SQL Server from Excel
View Excel From SQL Server.sql
SELECT *
FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0',
'Excel 8.0;IMEX=1;Database=\\server\share\Spreadsheet.xlsx;', ['Sheet-Name$'])
View FParsecTutorial.fsx
#I @"..\packages\FParsec.1.0.1\lib\net40-client"
#r "FParsec.dll"
#r "FParsecCS.dll"
open FParsec
// 4.2 Parsing a single float
let test (p:Parser<_,_>) str =
match run p str with
You can’t perform that action at this time.