Skip to content

Instantly share code, notes, and snippets.

View matthewpalmer's full-sized avatar

Matthew Palmer matthewpalmer

View GitHub Profile
module Plot (Plot.plot)
where
import Graphics.Rendering.Chart.Easy
import Graphics.Rendering.Chart.Backend.Cairo
import Data.Complex
import Spectrum
-- An artificial max to make sure all graphs are the same height
maxHeight = 25000
module Spectrum ( computeSpectrum
, sumSpectrum
) where
import Data.Complex
{-
N samples
R sample rate
{-
rkat / FFT.hs
Created on Apr 9, 2012
https://gist.github.com/rkat/2341767
-}
module FFT ( fft
) where
import Data.Complex
@matthewpalmer
matthewpalmer / Podcast Method #6.md
Created January 28, 2015 01:03
Podcast Method Episode #6 – Hijacking – Time-stamped show notes.md

Podcast Method Episode #6 – Hijacking – Time-stamped show notes

  • 00:55 – Reworking and editing an interview after it's happened
  • 02:45 – Doing sponsor reads before, during, or after an interview
  • 09:55 – Tracking podcast download statistics
  • 11:30 – Showbot, recording live, chatrooms
  • 15:00 – Collecting topic suggestions from listeners
  • 16:30 – Microphones for screencasts—dynamic vs condensor—and tips for screencasting
  • 22:40 – Noise gating
  • 25:15 – Mini Skype machines
["Stone Baked Turkish Rolls 3 pack","Stone Baked Pane Di Casa Rolls 4 pack","Rustic Rolls 4 pack","White Sourdough Vienna 550g","Stone Baked Multigrain Sourdough Cobb 500g","Stone Baked Light Rye Sourdough Vienna 550g","Stone Baked Pane Di Casa 500g","Stone Baked Kalamata Olive Batard 300g","Sunflower Triangle Rolls 4 pack","Stone Baked Turkish Bread 400g"]
@matthewpalmer
matthewpalmer / Locksmith-Test.swift
Created June 27, 2015 00:39
Swift 2.0 tests for Locksmith
//
// LocksmithDemoTests.swift
// LocksmithDemoTests
//
// Created by Matthew Palmer on 27/06/2015.
// Copyright © 2015 Matthew Palmer. All rights reserved.
//
import XCTest
@matthewpalmer
matthewpalmer / testing.py
Created January 17, 2013 03:44
Testing a gist
print "hey I'm testing"
@matthewpalmer
matthewpalmer / templateKeyRemap4MacBook.xml
Last active December 11, 2015 12:38
Template for xml file for Keyremap4macbook
<item>
<name>SOMENAME</name>
<identifier>private.some_name</identifier>
<autogen>--KeyToKey-- KeyCode::STARTKEY, KeyCode::DESTINATIONKEY</autogen>
</item>
@matthewpalmer
matthewpalmer / remapCapstoCMDR.xml
Created January 23, 2013 03:34
remap Caps Lock to CMD+R for use with keyremap4macbook
<item>
<name>CAPSLOCKTOCMDR</name>
<appendix>this is to remap caps lock to cmdR</append>
<identifier>private.swap_capslock</identifier>
<autogen>
--KeyToKey--
KeyCode::PC_APPLICATION,
KeyCode::R, ModifierFlag::COMMAND_L
</autogen>
</item>
@matthewpalmer
matthewpalmer / MPKeyRemap4MacBookREMAPS.xml
Created January 23, 2013 03:36
My keyremap4macbook xml file
<?xml version="1.0"?>
<root>
<item>
<name>Swap Space and Tab</name>
<identifier>private.swap_space_and_tab</identifier>
<autogen>--KeyToKey-- KeyCode::SPACE, KeyCode::TAB</autogen>
<autogen>--KeyToKey-- KeyCode::TAB, KeyCode::SPACE</autogen>
</item>
<item>