This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
function onOpen() { | |
var menuEntries = [ {name: "Create Diary Doc from Sheet", functionName: "createDocFromSheet"}]; | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
ss.addMenu("Fitness Diaries", menuEntries); | |
} | |
function createDocFromSheet(){ | |
var templateid = "1O4afl8SZmMxMFpAiN16VZIddJDaFdeRBbFyBtJvepwM"; // get template file id | |
var FOLDER_NAME = "Fitness Diaries"; // folder name of where to put completed diaries | |
// get the data from an individual user |
add_filter( 'loop_shop_per_page', 'new_loop_shop_per_page', 20 ); | |
function new_loop_shop_per_page( $cols ) { | |
// $cols contains the current number of products per page based on the value stored on Options -> Reading | |
// Return the number of products you wanna show per page. | |
$cols = 9; | |
return $cols; | |
} |
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.github.io | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php | |
*/ |
{ | |
"AL": "Alabama", | |
"AK": "Alaska", | |
"AS": "American Samoa", | |
"AZ": "Arizona", | |
"AR": "Arkansas", | |
"CA": "California", | |
"CO": "Colorado", | |
"CT": "Connecticut", | |
"DE": "Delaware", |
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. |
<?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 ); | |
} | |
### 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/ |
/* 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; } |
- 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 |