Skip to content

Instantly share code, notes, and snippets.

View jeremypage's full-sized avatar

Jeremy Page jeremypage

  • Trafford Council
  • UK
View GitHub Profile
@jeremypage
jeremypage / notepad++_abap.xml
Created July 17, 2013 21:57
ABAP syntax for Notepad++
<NotepadPlus>
<UserLang name="ABAP" ext="ab4 abap">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">&lt;&apos;0&gt;&apos;0</Keywords>
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
<!-- The container is a centered 960px -->
<div class="container">
<!-- Give column value in word form (one, two..., twelve) -->
<div class="sixteen columns">
<h1>Full Width Column</h1>
</div>
<!-- Sweet nested columns cleared with a clearfix class -->
<div class="six columns clearfix">
@jeremypage
jeremypage / .gitconfig
Created July 29, 2014 05:46 — forked from orj/.gitconfig
iMac .gitconfig
[merge]
keepBackup = false
tool = custom
[mergetool "custom"]
cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge "$PWD/$BASE" "$PWD/$REMOTE" "$PWD/$LOCAL" "$PWD/$MERGED"
keepTemporaries = false
trustExitCode = false
keepBackup = false
@jeremypage
jeremypage / RecursiveDeleteFolders.cmd
Created October 10, 2014 10:48
Command line tool to delete folder with a specified name recursively in Windows
for /d /r . %d in (_svn) do @if exist "%d" rd /s/q "%d"
@jeremypage
jeremypage / True Trello Printer.html
Last active August 29, 2015 14:08 — forked from mathiasrw/True Trello Printer
Formats Trello JSON export into a web-friendly, printer-friendly view
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>True Trello Printer</title>
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<style>
body{margin:15%;}
.panel-body{
@jeremypage
jeremypage / TrelloProjectTracking.js
Last active April 17, 2020 18:11
Project progress tracking with Google Sheets and Trello
// Original code and guide from Kevin Pelgrims
// (http://kevinpelgrims.com/blog/2012/03/06/project-progress-tracking-with-google-docs-and-trello)
// Create a new Google Sheet and add this code in Tools-->Script editor
// Then create trigger (under Resources menu) to run automatically, if you want
// Main function. Call this first (and from any triggers).
// (Revised functionality provided by anonymous commenter)
function getTrelloListCounts() {
var data;
//topBuffer is the distance from the top of the document to where we want to
@jeremypage
jeremypage / Notepad++_MapBasic.xml
Created October 27, 2014 09:09
MapInfo MapBasic syntax for Notepad++
<NotepadPlus>
<UserLang name="MapBasic" ext="mb MB tab TAB wor WOR def DEF" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">03 04 00&apos; 01 02</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@jeremypage
jeremypage / ThisPageHasNowMoved.html
Last active August 29, 2015 14:12
'This Page Has Now Moved' redirect page template for Trafford Council websites
<!DOCTYPE html>
<!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7">
<![endif]-->
<!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8">
<![endif]-->
<!--[if IE 8]>
<html class="no-js lt-ie9">
<![endif]-->
@jeremypage
jeremypage / web.config.xml
Last active March 11, 2020 15:35
IIS web.config: Redirect all traffic to HTTPS
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Force HTTPS" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>