A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
[user] | |
name = <Your Name> | |
email = <you@email.com> | |
[color] | |
# Makes the CLI usable. | |
ui = true | |
[push] | |
default = upstream | |
[branch "master"] | |
##### ESSENTIAL. Gets rid of the spammy commits each time you pull. |
# Entity Fields & Attributes | |
> OVERVIEW: When entity fields are created pointing to an external Topic, the fields belonging to that topic can be used without needing to copy data back and forth. For documentation purposes, I'll refer to these secondary fields as "entity attributes." | |
Supported Features (9/3/2014): | |
* SRP, Map, Slideshow, Versus, and Detail Soft Joins | |
* SRP, Gallery View, and Map View templates | |
* Narratives |
npm ERR! fstream_class FileWriter | |
npm ERR! code EEXIST | |
npm ERR! errno 47 | |
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:171:23 | |
npm ERR! fstream_stack /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:46:53 | |
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15) | |
npm ERR! Error: ENOENT, lstat '/Users/donmccurdy/.npm/lib/node_modules/shader-school/node_modules/glslify-live/node_modules/chokidar/node_modules/fsevents/LICENSE' | |
npm ERR! If you need help, you may report this *entire* log, | |
npm ERR! including the npm and node versions, at: | |
npm ERR! <http://github.com/npm/npm/issues> |
I hereby claim:
To claim this, I am signing this object:
////// UPDATE APP DATA TABLE. | |
$old_app_data = db_query("SELECT key_id, value FROM {%s} WHERE data_id=%d ORDER BY key_id ASC;", | |
$def->app_data_table, $def->app_data_id); | |
$i = 1001; | |
$updates = []; | |
$mapping = []; | |
while ($row = db_fetch_array($old_app_data)) { | |
$mapping[$row['key_id']] = [ | |
'old_key_id' => $row['key_id'], |
$token = $stream->readToken(); | |
if (strpos($token, '=') === 0) { | |
// Evaluate {{= field*2}} | |
$output .= $this->expression_parser->evaluate(substr($token, 1)); | |
} else if (preg_match('/^#([\S]+)(?:[\s]+)([^\}\}]+)/', $token, $match)) { | |
// Block {{#blockType blockArg}} | |
$output .= $this->renderBlock($stream, $match[1], $match[2]); |
/** | |
* Count the number of distinct font sizes on the page. | |
* | |
* Tested in Chrome, no idea if this works elsewhere. | |
* | |
* @author Don McCurdy <dm@donmccurdy.com> | |
* | |
*/ | |
var sizes = {}; | |
for (var i = 0; i < document.styleSheets.length; i++) { |