Skip to content

Instantly share code, notes, and snippets.

View keithpickett's full-sized avatar

Keith Pickett keithpickett

View GitHub Profile
Carl Smith @carlsmith
nGen
- Monkey say monkey do.
- "5 years until the kids know we're poor." Lesson is do what you love, don't be a dick.
- Two column worksheet: winning and losing. Manage showed up in losing column a lot.
- Stopped reading business books, more about nature, science, history.
- Start with a new business process. Step aside, create circles, empower people to do better than you.
- Jellyfish example. Group is called a smack. Smack attack. Reach out to the "army of awesome".
- UX asked if they could branch out and do some more business stuff: encourage people with passion to jump in and do it.
- Months later person X didn't say that, they said this. Confusion and angst. Don't do that. Allow organic growth.
@cdharrison
cdharrison / resources
Created August 14, 2012 16:53
Resources
### Web Fonts ###
+ http://fontsquirrel.com
+ http://typekit.com
+ http://google.com/fonts
### Books ###
+ HTML and CSS: Design and Build Websites by Jon Duckett
++ http://www.amazon.com/dp/1118008189/
+ Designing with Web Standards by Jeffrey Zeldman
++ http://www.amazon.com/dp/0321616952/
@pmeissner
pmeissner / layout.jade
Created August 15, 2013 17:04
Wireframe layout template file.
- var site_url = 'https://s3.amazonaws.com/creative_loupe/website/demos/wireframing'
- var site_name = 'Wireframing Inc'
- var layout = ''
- var section = ''
- var sidebar_content = ''
block vars
doctype
//if IE 8
@mikejolley
mikejolley / gist:6713608
Last active September 5, 2018 10:59
WooCommerce Shipping Method Skeleton Plugin
<?php
/*
Plugin Name: Your Shipping plugin
Plugin URI: http://woothemes.com/woocommerce
Description: Your shipping method plugin
Version: 1.0.0
Author: WooThemes
Author URI: http://woothemes.com
*/
@hansspiess
hansspiess / template-contact.php
Created October 3, 2013 19:42
Wordpress: Simple Contact Form
<?php
/*
Template Name: Kontakt
*/
?>
<?php /* other template code goes here... */ ?>
<?php
@VjWoo
VjWoo / th_shipping_options.php
Created February 23, 2015 14:52
Shipping Options plugin
<?php
/*
Plugin Name: TH Shipping Options
Plugin URI: NA
Description: TH Shipping Options plugin
Version: 1.0.0
Author: Vj
Author URI: www.wooforce.com
*/
@jamescmartinez
jamescmartinez / slack_delete.rb
Last active January 4, 2021 21:28
This Ruby script will bulk remove all Slack files older than 30 days. Just add your API token from https://api.slack.com/web#authentication into the token quotes at the top of the file.
require 'net/http'
require 'json'
require 'uri'
@token = ''
def list_files
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago
params = {
token: @token,
@alettieri
alettieri / Vagrantfile
Last active February 3, 2021 19:41
Vagrantfile and LAMP provisioning script. This is a set of scripts composed for a WordPress meetup talk. http://www.meetup.com/wordpress-sf/events/144084162/ The vagrantfile will build a lucid32 machine, then kicks off some provision scripts: provision.sh: Install LAMP stack, Ruby, SASS and Compass. apache.sh Updates the default apache config fi…
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
@rolandinsh
rolandinsh / gist:3259435
Created August 4, 2012 19:14
calculate date from day of year in php
<?php $todayid = date("z"); // to get today's day of year
function dayofyear2date( $tDay, $tFormat = 'd-m-Y' ) {
$day = intval( $tDay );
$day = ( $day == 0 ) ? $day : $day - 1;
$offset = intval( intval( $tDay ) * 86400 );
$str = date( $tFormat, strtotime( 'Jan 1, ' . date( 'Y' ) ) + $offset );
return( $str );
}
/* The Grid ---------------------- */
.lt-ie9 .row { width: 940px; max-width: 100%; min-width: 768px; margin: 0 auto; }
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; }
.lt-ie9 .row.large-collapse .column,
.lt-ie9 .row.large-collapse .columns { padding: 0; }
.lt-ie9 .row .row { width: auto; max-width: none; min-width: 0; margin: 0 -15px; }
.lt-ie9 .row .row.large-collapse { margin: 0; }
.lt-ie9 .column, .lt-ie9 .columns { float: left; min-height: 1px; padding: 0 15px; position: relative; }
.lt-ie9 .column.large-centered, .columns.large-centered { float: none; margin: 0 auto; }