Skip to content

Instantly share code, notes, and snippets.

View martijnburgers's full-sized avatar

Martijn Burgers martijnburgers

View GitHub Profile
@martijnburgers
martijnburgers / Default (Windows).sublime-keymap
Last active December 10, 2015 13:49
Sublime-Keybindings-User
[
{ "keys": ["ctrl+shift+,"], "command": "run_macro_file", "args": {"file": "Packages/User/New Line Array.sublime-macro"} },
{ "keys": ["ctrl+,"], "command": "run_macro_file", "args": {"file": "Packages/User/New Array Item.sublime-macro"} },
{ "keys": ["alt+enter"], "command": "run_macro_file", "args": {"file": "Packages/User/New Line Curly.sublime-macro"} },
{ "keys": ["ctrl+;"], "command": "run_macro_file", "args": {"file": "Packages/User/EOL Semicolon.sublime-macro"} },
{ "keys": ["shift+enter"], "command": "run_macro_file", "args": {"file": "Packages/User/New Line Semicolon.sublime-macro"} },
{ "keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line": false} }
]
[
{
"args":
{
"to": "eol"
},
"command": "move_to"
},
{
"args":
[
{
"args":
{
"to": "eol"
},
"command": "move_to"
},
{
"args":
[
{
"args":
{
"to": "eol"
},
"command": "move_to"
},
{
"args":
[
{
"args":
{
"to": "eol"
},
"command": "move_to"
},
{
"args":
[
{
"args":
{
"to": "eol"
},
"command": "move_to"
},
{
"args":
; Recommended for performance and compatibility with future AutoHotkey releases.
#NoEnv
; Recommended for catching common errors.
#Warn
; There's no reason to run this script more than once
#SingleInstance force
;; memo hotkey shortcuts
@martijnburgers
martijnburgers / jqgrid.mabu.formatters.js
Last active January 17, 2017 09:29
Custom formatters for jqGrid with onclick handlers
/*
* jqGrid - Custom Formatters (mabuCheckboxFormatter, mabuButtonFormatter)
*
* The event handler will receive two arguments:
* $(this) -- jQuery object from the control raising the event.
* rowId -- The row id (this could be the row index, or the id of the row if key is specified.)
*
*
* If the event handler is a real function, method invokers for that function are created on $.fn.fmatter.invokers.
* They are created once, if you need to reset them for whatever reason you will have to do that yourself.
@martijnburgers
martijnburgers / codecoverage.runsettings
Created April 3, 2013 11:13
Code Coverage Run Settings For VS2012
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<DataCollectionRunSettings>
<DataCollectors>
<DataCollector friendlyName="Code Coverage" uri="datacollector://Microsoft/CodeCoverage/2.0" assemblyQualifiedName="Microsoft.VisualStudio.Coverage.DynamicCoverageDataCollector, Microsoft.VisualStudio.TraceCollector, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<Configuration>
<CodeCoverage>
<ModulePaths>
<Include>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web.Mvc;
using Delta.Common.Reflection;
namespace CustomMap
{
public class ServiceDataStatistic