Skip to content

Instantly share code, notes, and snippets.

View adamprocter's full-sized avatar
💭
making and promoting nodenogg.in!

Adam Procter adamprocter

💭
making and promoting nodenogg.in!
View GitHub Profile
tell application "Microsoft Outlook"
set theMessage to first item of (get selected objects)
set theSubject to the subject of theMessage
set theBody to the plain text content of theMessage
set theID to the id of theMessage
end tell
tell application "Things3"
show quick entry panel with properties {name:theSubject, notes:theBody}
end tell
@adamprocter
adamprocter / WebT2015
Last active August 29, 2015 14:21
Text for web teaching day 2015
# Hybrid Designer ?
The term digital design and web designer are becoming obsolete, the emerging role of the designer is to create connected experiences that transcend media. Shifts in teaching away from the terms digital and web will allow us to focus on pedagogy that focuses on creating compelling communication. Adam Procter's talk proposes that the Hybrid Designer has the potential to free us from assumptions related to media outputs and help us examine the real potential of digital platforms and their interface with other more traditional communication channels.
@adamprocter
adamprocter / gist:bba9d8d276ca7a5fd19a
Created February 11, 2015 22:35
nginx file here /etc/nginx/conf.d/custom.conf
server {
listen 80;
server_name researchnot.es .researchnot.es;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
@adamprocter
adamprocter / blog.go
Last active August 29, 2015 14:13 — forked from will3942/blog.go
package main
import (
"html/template"
"net/http"
"path/filepath"
"strings"
"io/ioutil"
"github.com/russross/blackfriday"
@adamprocter
adamprocter / index.html
Created December 12, 2012 13:56
A CodePen by Adam Procter. Flexi grid of images - Idea of how to make list of image flex in size
<ul class="container">
<li>
<img src="http://meanwhile.soton.ac.uk/webproject/img/duck.png" /></li>
<li><img src="http://meanwhile.soton.ac.uk/webproject/img/duck.png" /></li>
<li><img src="http://meanwhile.soton.ac.uk/webproject/img/duck.png" /></li>
<li><img src="http://meanwhile.soton.ac.uk/webproject/img/duck.png" /></li>
<li><img src="http://meanwhile.soton.ac.uk/webproject/img/duck.png" /></li>
</ul>
@adamprocter
adamprocter / x.js
Created September 6, 2009 22:43
open url in Ubiquity 0.5
CmdUtils.CreateCommand({
names:["url"],
arguments: [{role: "object", nountype: noun_arb_text, label:"Enter a url to navigate to it!"}],
execute:function(args){
Utils.openUrlInBrowser(args.object.text);
}
});