Skip to content

Instantly share code, notes, and snippets.

View philhawksworth's full-sized avatar
💭
Working remotely from home on St Albans

Phil Hawksworth philhawksworth

💭
Working remotely from home on St Albans
View GitHub Profile
# Site settings
title: Your awesome title
email: your-email@domain.com
description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
baseurl: ""
url: "http://yourdomain.com"
# Build settings
markdown: kramdown
{
me: "lager",
finchy: "lager",
gareth: "lager, sometimes cider",
conclusion: "different people, different drinks"
}
BigPooter:jqwiki Phil$ git remote add origin git@github.com:philhawksworth/jqwiki.git
BigPooter:jqwiki Phil$ git push origin master
The authenticity of host 'github.com (65.74.177.129)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,65.74.177.129' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
BigPooter:jqwiki Phil$ git config --global user.name "Phil Hawksworth"
BigPooter:jqwiki Phil$ git config --global user.email "phawksworth@gmail.com"
# inspect template for sections to populate.
pattern = re.compile('(<!-- @@)(.*)(@@ -->)')
sections = pattern.finditer(templateFile)
for match in sections:
print match.group(2)
print ingredients[match.group(2)]
#screensaver {
background-color:#000000;
display:block;
left:0;
top:0;
position:absolute;
text-align:center;
z-index:999;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>untitled</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="Phil Hawksworth">
<!-- Date: 2009-06-01 -->
...
<span class="style1"></span>
</td>
<td width="20" rowspan="2"><img src="images/spacer.gif" width="20" height="1" /></td>
<td align="left" valign="top"><table style="border-collapse: collapse;" width="201" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5" style="border-left: 1px solid #7d7d7d;">
<img src="spacer.gif" alt="" width="5" height="1" />
</td>
<td width="187" valign="bottom" height="30"><span style="font-size:14pt;color:#7d7d7d;font-family: Arial, Helvetica, Sans-Serif;"> News in brief </span></td>
function registerPageChange(eventDescription, eventValue){
// sample code from WebTrends documentation....
// Register Event with WebTrends
dcsMultiTrack(
'DCS.dcsuri', eventValue, // name/value pair for URL
'WT.ti', 'FlashEvent:' + eventDescription // name/value pair for page title
);
// change:
$(document).ready(function() {
logica.countdown.init();
});
//to:
$(document).ready(function() {
<html>
<head>
<title>an example of a pause before a look ahead search</title>
</head>
<body>
<input type="text" id="search-box">
<p id='result'></p>