Skip to content

Instantly share code, notes, and snippets.

View mchelen's full-sized avatar

Mike Chelen (he/him) mchelen

View GitHub Profile
@mchelen
mchelen / example.php
Last active September 21, 2015 22:06 — forked from anonymous/example.php
<?php
function my_modify_view($view_name) {
$view = views_get_view($view_name, TRUE);
$view->display['default']->display_options['row_plugin'] = 'fields';
unset($view->display['default']->display_options['row_options']['view_mode']);
@mchelen
mchelen / .gitignore
Last active August 29, 2015 14:24 — forked from mchelen/.gitignore
jsonpath browserify
node_modules
bundle.js
@mchelen
mchelen / .gitignore
Last active August 29, 2015 14:24 — forked from mchelen/.gitignore
Browserify my Node package
node_modules
bundle.js
@mchelen
mchelen / .gitignore
Last active October 31, 2017 16:00 — forked from mchelen/.gitignore
*~
bundle.js
bundle.min.js
node_modules
<?php
/*
expected output:
Weekend
Something
actual output:
Weekend
Something
Weekend
@mchelen
mchelen / README.md
Last active August 29, 2015 14:15 — forked from mbostock/.block

A treemap recursively subdivides area into rectangles; the area of any node in the tree corresponds to its value. This example uses color to encode different packages of the Flare visualization toolkit. Treemap design invented by Ben Shneiderman. Squarified algorithm by Bruls, Huizing and van Wijk. Data courtesy Jeff Heer.

@mchelen
mchelen / .bowerrc
Last active August 29, 2015 14:09 — forked from curiouslychase/.bowerrc
bower + grunt
{
"directory": "lib",
"json": "bower.json"
}
@mchelen
mchelen / README.md
Last active August 29, 2015 14:09 — forked from mchelen/ README.md

This is an example of using Grunt to run Browserify to create minified client-side Javascript that uses jQuery.

To use the example, checkout & cd into the repo, then:

npm install
grunt

Now open index.html in a web browser, and look in the console.

@mchelen
mchelen / README.md
Last active August 29, 2015 14:09 — forked from mchelen/ README.md

This is an example of using Grunt to run Browserify to create minified client-side Javascript that uses jQuery.

To use the example, checkout & cd into the repo, then:

npm install
grunt

Now open index.html in a web browser, and look in the console.