Skip to content

Instantly share code, notes, and snippets.

Martin Owen mowen

Block or report user

Report or block mowen

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
mowen / autoexec.cfg
Last active Mar 31, 2018
CS:GO Autoexec
View autoexec.cfg
m_rawinput "1" // Raw Input on
m_customaccel "0" // Mouse Acceleration off
m_customaccel_exponent "0" // Acceleration Amount
m_mousespeed "0" // Windows mouse acceleration off
m_mouseaccel1 "0" // Windows mouse acceleration initial threshold (2x movement)
m_mouseaccel2 "0" // Windows mouse acceleration secondary threshold (4x movement)
sensitivity "2.2"
zoom_sensitivity_ratio_mouse "1.0"
cl_crosshaircolor "1"
View gist:5416352
// ==UserScript==
// @name YouTube Prank
// @namespace
// @version 0.1
// @description Make changes to YouTube content.
// @match *://*youtube*/*
// @copyright 2013+, Pat Noddle
// @require
// ==/UserScript==
View org-pomodoro.el
(defun org-pomodoro-refile (refile-heading)
"Move the heading at point to the heading specified."
(let ((match-found nil)
(paste-location (point)))
(goto-char (point-min))
(if (re-search-forward refile-heading nil t)
(setq match-found t
mowen / index.html
Created Sep 3, 2011
Control a tank in HTML5 Canvas
View index.html
<!doctype html>
<html lang="en">
<meta charset="UTF-8" />
<title>Chapter 4 Example 9: Animating an image with rotation</title>
<script src=""></script>
<script src=""></script>
<script src="ex9.js"></script>
View gist:1175335
(defvar mo-script-url-alist
'((jquery . "")
(json2 . "")
(ocanvas . "")
(processing . "")
(prototype . "")
(sizzle . "")
(underscore . "")
(underscore-string . "")
(waypoints . ""))
View DynamicUtils.cs
// Method for converting a Json.NET object into a dynamic CLR object.
public static class DynamicUtils
public static object ConvertJTokenToObject(JToken token)
if (token is JValue)
return ((JValue)token).Value;
View BadService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Experiments
public class BadService : IService
public string ProvideService()
View footer.php
View nassi-shneiderman.html
<title>jQuery Prototype</title>
<link type="text/css" href="css/ui-lightness/jquery-ui-1.8.2.custom.css" rel="stylesheet" />
<script type="text/javascript" language="javascript" src="jquery-ui-1.8.2.custom/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" language="javascript" src="jquery-ui-1.8.2.custom/js/jquery-ui-1.8.2.custom.min.js"></script>
<script type="text/javascript" language="javascript" src="nassi-shneiderman.js"></script>
<style type="text/css">
.block { border: 1px solid #000; text-align: center; }
View euler-5.clj
(ns martin)
(defn evenly-divisible?
"Is N evenly-divisible by all of the numbers in SEQ?"
[n seq]
(loop [s seq]
;; TODO: Find out how to do 'cond' in Clojure
(if (empty? s)
(if (not (zero? (mod n (first s))))
You can’t perform that action at this time.