Skip to content

Instantly share code, notes, and snippets.

View johnnonolan's full-sized avatar

John Nolan johnnonolan

View GitHub Profile
@johnnonolan
johnnonolan / Test.cs
Created November 27, 2015 14:43
Nancy Content Negotiation
using NUnit.Framework;
using System;
using Nancy.Testing;
using Nancy;
using negotiation;
namespace neg.tests
{
[TestFixture]
public class Test
using System;
using Nancy;
using Nancy.Hosting.Self;
using Nancy.Responses.Negotiation;
using System.Collections.Generic;
using Nancy.Responses;
namespace negotiation
{
@johnnonolan
johnnonolan / inalib.cs
Last active August 29, 2015 14:15
not resolving
//I reference the dll where inanotherlib.cs lives
using DeleteME.lib;
using Nancy;
namespace BLah.DeleteMe
{
public class HelloModule : NancyModule
{
public HelloModule(IBus bus)
@johnnonolan
johnnonolan / example1.js
Last active August 29, 2015 14:14
curlyBraces
//this looks like it should return a js object
function something() {
return
{
an: "object";
};
}
#this actually returns the object
function something2() {
return {
@johnnonolan
johnnonolan / gist:36eb5b197d9e4de92e15
Created December 18, 2014 13:28
Node contractor
console.log "I can do a remote interview if needed."
@johnnonolan
johnnonolan / index.html
Created December 2, 2013 16:23
Cookies and Selenium
<html>
<body>
<div>
<input id="setCookie" type="button" onclick="setCookie()" value="set cookie"></input>
<input type="button" onclick="setCookie2('test2','hello 2',1);" value="set cookie 2"></input>
<input type="button" onclick="getCookie2()" value="get cookie"></input>
<input type="button" onclick="delCookie();" value="del cookie"></input>
</div>
public DateTime әʎʇɹәdoɹd { get; set; }

Oliver MacColl -- Avaaz.org [email protected] 09:33 (2 hours ago)

to me Hey Avaazers,

Avaaz faces one of our biggest threats ever, and surprisingly, it’s coming from Gmail!

Gmail has made a change to its system which experts say could de-prioritize Avaaz emails, hiding them from members like you and millions of others who want to take action to build a brighter world. But email experts say that if enough Avaaz members take 5 seconds to respond to this email -- we can keep campaigning together.

using System;
using NUnit.Framework;
namespace Tersely.Tests
{
[TestFixture()]
public class Test
{
[Test()]
public void TestCase ()
Afternoon John
From working in the IT Recruitment sector, one thing I have learnt is that there doesn't seem to be a right or wrong way to contact potential clients.
Sometimes I call and people can’t talk because they are in the middle of a software drop and they tell me to email. Sometimes I email and people complain that it is a very impersonal approach!
Over the years I have analysed and discussed with other Recruiters what I think is the most effective approach and what I’ve actually concluded is this;
Phone – Email – LinkedIn – Facebook – Text message – Pigeon courier - it is actually completely irrelevant, what it all boils down to is timing.