Skip to content

Instantly share code, notes, and snippets.

David Rees studgeek

Block or report user

Report or block studgeek

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 MailMate tags Correspondence layout
// MailMate layout that shows mails with the same tag as the selected tag (based on Correspondence)
{
name = "Tags";
rootViewer =
{
viewerType = "MmSplitView";
orientation = "horizontal";
children =
(
{
@studgeek
studgeek / InfoQubePasteXML.oxt
Created May 23, 2012
Natura Bonsai export template for InfoQube
View InfoQubePasteXML.oxt
[OPTIONS]
EXTENSION=txt
MARKUP=XML
[HEADER]
<?xml version="1.0" encoding="utf-8" ?>
<!--
Natura Bonsai export template for InfoQube
Author: David Rees (@studgeek)
See Gist for latest version: https://gist.github.com/2775504
@studgeek
studgeek / Bonsai Export Template for URp OPML.xml
Created Mar 27, 2012
Bonsai export to UltraRecall/InfoQube
View Bonsai Export Template for URp OPML.xml
[OPTIONS]
EXTENSION=OPML
MARKUP=XML
[HEADER]
<?xml version="1.0" encoding="ISO-8859-1"?>
<opml version="1">
<head>
<title>#TITLE#</title>
</head>
@studgeek
studgeek / gist:2003390
Created Mar 8, 2012
keyconfig script for opening the current Firebug file in your first default editor at the current centered line
View gist:2003390
// See my comments in http://code.google.com/p/fbug/issues/detail?id=4731
(function () {
var myFirebug = window.Firebug;
if (!myFirebug) {
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
.getService(Components.interfaces.nsIWindowMediator);
var mainWindow = wm.getMostRecentWindow("navigator:browser");
myFirebug = mainWindow.Firebug;
}
myFirebug.ExternalEditors.openContext(myFirebug.currentContext, 0);
@studgeek
studgeek / Heroku tracking branch.txt
Created Mar 8, 2012 — forked from seangeo/Heroku tracking branch.txt
Create a local tracking branch of your heroku/phpfog deployment
View Heroku tracking branch.txt
Create remote called heroku
> git remote add heroku git@heroku.com:YOURAPPNAME.git
create a local tracking branch called heroku
> git checkout -b heroku -t heroku/master
This will checkout the last revision you deployed to Heroku.
Now tell git to push the heroku branch to heroku/master
@studgeek
studgeek / avastMostScanned.sh
Created Feb 25, 2012
Cygwin script that lists the files most scanned by Avast
View avastMostScanned.sh
#!/bin/bash
# Cygwin script that lists the files most scanned by Avast.
# Useful for determing files that are scanned way too much that you probably want to exclude
# in the File System Shield. Note that they are still scanned in the scheduled scans.
# @studgeek 2/1/12
#
# To use this script you need to have the File System Shield reporting turned on
# at File System Shield >> Settings >> Report file. Use the following settings. You need
# to stop/start the File System Shield to get the reporting started.
# File name: *
@studgeek
studgeek / Add_uninstall_to_1_2_1.patch
Created Feb 20, 2012
Add uninstall to Massive Extender 1.2.1 (patch)
View Add_uninstall_to_1_2_1.patch
From cc455e690c511e9df92e92bde16286b3c771a893 Mon Sep 17 00:00:00 2001
From: studgeek <dave@studgeek.com>
Date: Mon, 20 Feb 2012 18:55:58 -0500
Subject: [PATCH] Added uninstall to 1.2.1
---
.../script/aoc.js | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/{E6175356-15A3-11DF-AFEE-C56455D89593}/script/aoc.js b/{E6175356-15A3-11DF-AFEE-C56455D89593}/script/aoc.js
@studgeek
studgeek / AltTab.ahk
Created Feb 15, 2012
AltTab.ahk - fixed for AHKL - minor tweak to 08-04-13
View AltTab.ahk
HELP = ; Gui, 99
(LTrim0
ALT-TAB REPLACEMENT (WITH ICONS AND WINDOW TITLES IN A LISTVIEW).
Latest version can be found at: http://file.autohotkey.net/evl/AltTab/AltTab.ahk
Forum topic for discussion: http://www.autohotkey.com/forum/viewtopic.php?t=6422
HOTKEYS:
Default: Alt+Tab - move forwards in window stack
Alt+Shift+Tab - move backwards in window stack
@studgeek
studgeek / fiddle.html
Created Sep 13, 2011
knockout autocomplete
View fiddle.html
<input data-bind="jqAuto: { autoFocus: true }, jqAutoSource: myPeople, jqAutoValue: mySelectedGuid, jqAutoSourceLabel: 'displayName', jqAutoSourceInputValue: 'name', jqAutoSourceValue: 'guid'" />
<hr/>
<div data-bind="text: mySelectedGuid() ? mySelectedGuid() : 'None selected'"></div>
<hr/>
For testing setting the model value elsewhere:
You can’t perform that action at this time.