Skip to content

Instantly share code, notes, and snippets.

View derek's full-sized avatar

Derek Gathright derek

View GitHub Profile
@rday
rday / notes-slide.py
Last active July 27, 2017 00:53
python pptx notes slide
"""
Example of accessing the notes slides of a presentation.
Requires python-pptx 0.5.6 or later.
ryan@ryanday.net
"""
from pptx.util import lazyproperty, Pt
from pptx.parts.slide import BaseSlide, Slide, _SlideShapeTree, _SlidePlaceholders
from pptx.shapes.shape import BaseShape
@Alligator
Alligator / gist:3960707
Created October 26, 2012 18:56
jsweekly bingo
JSWEEKLY BINGO
+-------------------------------+-------------------------------+-------------------------------+
| An atricle from someone who | | |
| just figured out | Baby's first functional | How to do this one very |
| prototype-based OO and thinks | programming | specific thing in Node.js |
| everyone else needs telling | | |
+-------------------------------+-------------------------------+-------------------------------+
| | | |
| A new jQuery release | A job in San Francisco | An introduction to an MVC |
| | | framework |
@derek
derek / index.html
Created March 7, 2012 02:52 — forked from ggoodman/app.js
Plunker YUI template
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!-- The YUI CSS Reset. Optional -->
<!-- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.4.1/build/cssreset/cssreset-min.css"> -->
<link rel="stylesheet" href="style.css">
<!-- Load the YUI seed file. http://yuim.in/ always loads the latest version -->
@jimbojsb
jimbojsb / gist:1630790
Created January 18, 2012 03:52
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@sdesai
sdesai / gist:1453325
Created December 9, 2011 21:15
SV Roadmap

Lingering Cleanup

a) Clean up multi-axis support [ being able to scroll horizontally and vertically at the same time ]. It's currently supported, but doesn't hold up cleanly all the way through the API.

b) Clean up scrollbar implementation - right now the scrollbar is 3 separate elements. I remember looking into it and thinking we could do it with just 1 piece.

c) Just a general high level pass of the API.

d) Clean up the ScrollView-List plugin - it doesn't really solve the real problem it was mean to solve - laying out horizontal LIs. It's API could also use some cleanup.

@derek
derek / gist:1389403
Created November 23, 2011 18:09
YUI 3 Button Proposal

YUI Button

Goal

To introduce a new Button component for YUI 3 that addresses the following user stories

  • "I want buttons on my site to look consistent & attractive."
  • "I want to be able to programmatically control buttons in my application."
  • "I want to my buttons to be intelligent and interact with one another in groups."
  • "I want my application to be able to dynamically generate buttons."
@derek
derek / gist:708091
Created November 20, 2010 19:43
Installing NPM on webOS 2.0
root@roadrunner:/# cd /tmp
root@roadrunner:/# wget https://download.github.com/isaacs-npm-v0.1.23-0-g1c13d07.zip
root@roadrunner:/# unzip isaacs-npm-v0.1.23-0-g1c13d07.zip
root@roadrunner:/# cd isaacs-npm-1c13d07
root@roadrunner:/# node cli.js install
root@roadrunner:/# npm -v
npm it worked if it ends with ok
npm cli [ '-v' ]
0.1.23