Skip to content

Instantly share code, notes, and snippets.

Marty Miller millerda

Block or report user

Report or block millerda

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
millerda / makeSideBar.php
Last active Aug 29, 2015
Simple function used to pull post titles and embed links to those titles in a sidebar of a page.
View makeSideBar.php
function pullTitle($text) {
$startsAt = strpos($text, "<h2>") + strlen("<h2>");
$endsAt = strpos($text, "</h2>", $startsAt);
$result = substr($text, $startsAt, $endsAt - $startsAt);
return $result;
function pickSection($dir) {
millerda / splitfiles.cpp
Created Jan 29, 2014
program used to split up transcription files
View splitfiles.cpp
// Name: Marty Miller
// Program: This program fixes a transcription file that needs special formatting
Purpose: We will be dealing with file input and output, as well as character
handling. It separates transcripts into separate files by pages.
#include <fstream>
#include <iostream>
#include <string.h>
millerda / update-website
Created Jan 29, 2014
Script written for updating website - for tech blog
View update-website
# small script used to update files for website
scp -r ~/website/.
View sendTest_418_Works.ino
//IR sent demo v1.0
//Connect the IR sent pins to D3 for this demo
#include <IRSendRev.h>
void setup()
millerda / revTest_418_Works.ino
Created May 1, 2013
Test file for DoHas Receiver
View revTest_418_Works.ino
//IR receive demo v1.0
//Connect the IR sent pins to A4 for this demo
#include <IRSendRev.h>
//#include <IRSendRevInt.h>
void setup()
You can’t perform that action at this time.