Skip to content

Instantly share code, notes, and snippets.

Avatar

Bradley Holt bradley-holt

View GitHub Profile
@bradley-holt
bradley-holt / ndoch-community-laptop-stickers.md
Last active Aug 29, 2015
Community Laptop Stickers for National Day of Civic Hacking at Generator in Burlington
View ndoch-community-laptop-stickers.md

Code for BTV will have a table available at National Day of Civic Hacking (5/31 & 6/1) for local tech community groups that want to distribute laptop stickers. However, we don't want just any old laptop sticker. Read on for details.

To highlight the fact that Burlington has a great ecosystem of tech community groups, we ask that your laptop stickers follow the hexagon sticker variation of the sticker construction specification. This essentially means creating a 1.732" wide by 2" high (Yuriy rounds the width to 1.75" in his Tweet) hexagonal sticker so that all of our groups' laptop stickers can interconnect. It's important to note that the 2" axis is the vertical axis. You may also want to add rounded corners, in which case something like a radius of 0.025" could be appropriate.

Laptop Sticker Standards Group (

@bradley-holt
bradley-holt / projects.md
Last active Dec 26, 2015
List of projects for Hack the Stacks: Civic Hacking at Fletcher Free Library
View projects.md

Hack the Stacks: Civic Hacking at Fletcher Free Library

Want to create apps for Fletcher Free Library? Want to help Big Heavy World promote and preserve Vermont-made music? Want to build WordPress websites for Vermont's non-profit organizations? Join other developers, technology integrators, designers and hackers of all types for 2 days of civic hacking at Fletcher Free Library.

Saturday, October 26, 2013 10am-6pm & Sunday, October 27, 2013 12pm-6pm

Fletcher Free Library
235 College Street
Burlington, VT 05401

@bradley-holt
bradley-holt / calendar-of-tech-events.md
Last active Dec 22, 2015
A collection of community tech events in the greater Burlington area.
View calendar-of-tech-events.md
@bradley-holt
bradley-holt / composer.json
Created Apr 29, 2012
Loading Zend_Config Through Composer
View composer.json
{
"repositories": [
{
"type": "pear",
"url": "http://packages.zendframework.com"
}
],
"require": {
"pear-zf2/Zend_Config": "*"
},
View basic-load-balancing-httpd.conf
# Create a load balancer named "web-nodes"
<Proxy balancer://web-nodes>
# Add three load balancer members
BalancerMember http://www1.example.com
BalancerMember http://www2.example.com
BalancerMember http://www3.example.com
</Proxy>
# Send all requests to the "web-nodes" balancer
ProxyPass / balancer://web-nodes
View couch.log
[Mon, 22 Nov 2010 17:15:27 GMT] [error] [<0.18183.0>] Badarg error in HTTP request
[Mon, 22 Nov 2010 17:15:27 GMT] [info] [<0.18183.0>] Stacktrace: [{erlang,binary_to_term,
[<<"tag:www.example.net,2010:/redacted/123456/">>]},
{couch_file,pread_term,2},
{couch_btree,get_node,2},
{couch_btree,lookup,3},
{couch_btree,lookup,2},
{couch_db,get_full_doc_info,2},
{couch_db,open_doc_int,3},
View couch.log
[Sun, 26 Sep 2010 16:36:18 GMT] [info] [<0.31734.2>] Stacktrace: [{base64,decode,[undefined]},
{couch_doc,'-transfer_fields/2-fun-0-',1},
{lists,map,2},
{couch_doc,transfer_fields,2},
{couch_httpd_db,couch_doc_from_req,3},
{couch_httpd_db,db_doc_req,3},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request_int,5}]
View EntryDataMapper.php
<?php
/**
* Default
*
* @category Default
* @package Default_Model
* @copyright Copyright (c) 2005-2010 Found Line, Inc. (http://foundline.com/)
* @license http://foundline.com/legal/software-license New BSD License
*/
View service.xml
<?xml version="1.0" encoding="utf-8"?>
<app:service xmlns:app="http://www.w3.org/2007/app"
xmlns:atom="http://www.w3.org/2005/Atom">
<app:workspace>
<atom:title>Some Workspace</atom:title>
<app:collection href="/some-workspace/foo">
<atom:title>Foo</atom:title>
</app:collection>
</app:workspace>
</app:service>
View build.properties
documentRoot = public_html
source.directory = src
## SVN Configuration
svn.repositoryurl.tags = "https://example.com/svn/acme/tags"