Skip to content

Instantly share code, notes, and snippets.

View sockdrawermoney's full-sized avatar
👻

Sock sockdrawermoney

👻
View GitHub Profile
@amyjenkins
amyjenkins / gist:654849
Created October 30, 2010 02:45
adding my notes to edavis10 notes

(fork of https://gist.github.com/aaa08856822a85a6864b (but gist fork is broken :-/ ))

Infoproducts Show and Tell hosted by Kelly Parkinson and Amy Hoy

Infoproducts---> something that teaches, helps you learn, transforms your mind, works with you (not for you). Can be part of your own process, can be part of your website so people can do their own.

  • ebooks---solve some kind of problem, share some kind of knowledge
    • 37s sold a $400 ecommerce store design booklet
  • screencasts---animating things
@ricroberts
ricroberts / gist:657914
Created November 1, 2010 09:54
Notes on Amy Hoy's and Kelly Parkinson's Infoproducts show and tell.

Disclaimer: some of this stuff wasn’t explicitly said, it’s my interpretation of it (plus own ideas)

  • Could just write blog articles and just collect/expand them into an ebook.
  • people wouldn’t want to pay lots of times for each chapter, but it’s good to release early. Ways to get round this:
    - have a season ‘pass’ like peepcode where people can pay upfront for the whole thing or just buy one edition if that’s all they want.
    OR:
    - release book early with only one or two chapters for a cheap price, but increase the price as you add more content. Early buyers can get updates for free as they come out.
  • Make something that makes people feel better about themselves or relieves pain.
@jmettes
jmettes / template-min.xml
Created March 7, 2011 08:15
Minimal/bare-bones Blogger template; used as a starting point.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html>
<head>
<title>
<data:blog.pageTitle/>
</title>
<b:skin><![CDATA[]]></b:skin>
</head>
<body>
@natevw
natevw / manual_import.py
Created February 21, 2012 05:06
manual shutterstem import
# cd /Users/natevw/Library/Application\ Support/CouchbaseServer/ShutterStem/_attachments/scripts
#! /usr/bin/python
DB = "http://localhost:5984/photos"
SRC_ID = 'imgsrc-c393ded1a81e71d11859e937dd002ccd'
FOLDER = "/Volumes/FUJIFILM/DCIM"
from importer import Importer
@nrrrdcore
nrrrdcore / list.css
Created August 20, 2012 23:22
Simple Fix for the Webkit Clipped Border-Radius Bug
.list-container {
border-radius: 5px;
border: 1px solid #C5C5C5;
box-shadow: inset 0 1px 0 #FFF;
}
ol {
border: 1px solid transparent;
}
@soffes
soffes / perferences.json
Created August 22, 2012 05:35
My Sublime Text 2 config
{
"bold_folder_labels": true,
"color_scheme": "Packages/User/Espresso Soda.tmTheme",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
".DS_Store",
".gitkeep",
"dump.rdb"
],
@wraithgar
wraithgar / gist:3932326
Created October 22, 2012 16:17
Sicilian Rhapsody
Is this a keystore
Is it in memory?
Caught in an event loop
No escape from reality
Open your append-only file
Confirm it's an rdb
I'm just a poor boy
@onyxfish
onyxfish / README.md
Last active January 2, 2023 14:37
Google Spreadsheets script to generate slugs from a range of cells

This script for Google Spreadsheets allows you to generate slugs for your data such as might be used for creating unique urls.

Use it like this!

# A B C
1 a b slug
2 foo baz bing =slugify(A2:B4)
3 bar BAZ
4 FOO baz-bing
@madhums
madhums / base64-image-upload.js
Created September 14, 2014 17:37
save base64 encoded image
/*
* Taken from http://stackoverflow.com/questions/5867534/how-to-save-canvas-data-to-file/5971674#5971674
*/
var fs = require('fs');
// string generated by canvas.toDataURL()
var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0"
+ "NAAAAKElEQVQ4jWNgYGD4Twzu6FhFFGYYNXDUwGFpIAk2E4dHDRw1cDgaCAASFOffhEIO"
+ "3gAAAABJRU5ErkJggg==";
// strip off the data: url prefix to get just the base64-encoded bytes
exports.index = {
auth: 'session',
handler: function (request, reply) {
reply('resource index');
}
};
exports.create = {
auth: 'session',
handler: function (request, reply) {