Skip to content

Instantly share code, notes, and snippets.

View davidascher's full-sized avatar

David Ascher davidascher

View GitHub Profile
var async = require('async');
var request = require('request');
var globalMap = {};
components = ['component-button', 'component-counter'];
locales = ['en-US'];
var paths = [];
components.forEach(function (component) {
globalMap[component] = {};
davida@suki ~/s/m/appmaker> node localebuild.js
[ [ 'component-button', 'en-US' ],
[ 'component-counter', 'en-US' ] ]
All GET requests successful
{
"component-button": {
"en-US": {
"ceci-button": "Button",
"ceci-button/attributes/label": "Click Me",
"ceci-button/attributes/label/label": "Label",

Keybase proof

I hereby claim:

  • I am davidascher on github.
  • I am da (https://keybase.io/da) on keybase.
  • I have a public key whose fingerprint is 469F AF31 431C B7B1 C2EF 458D A344 A455 E364 90D6

To claim this, I am signing this object:

Writing objects: 100% (478/478), 1.13 MiB | 893.00 KiB/s, done.
Total 478 (delta 229), reused 478 (delta 229)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Node.js app detected
remote:
remote: -----> Reading application state
remote: package.json...
remote: build directory...
Module parse failed: /Users/davida/src/isomorphic-hot-loader/node_modules/remarkable-loader/index.js!/Users/davida/src/isomorphic-hot-loader/components/test.md Line 1: Unexpected token <
You may need an appropriate loader to handle this file type.
| <h1>this is a heading 1</h1>
| <h2>this is a heading 2</h2>
| <p>this is just a body</p>
# this is a heading 1
## this is a heading 2
this is just a body
davida@acai ~/src/build.webmaker.org (master)*$ gulp less-app
[14:01:29] Using gulpfile ~/src/build.webmaker.org/Gulpfile.js
[14:01:29] Starting 'less-app'...
[14:01:30] Plumber found unhandled error:
Error in plugin 'gulp-less'
Message:
First argument needs to be a number, array or string. in file undefined line no. undefined
Details:
lineNumber: undefined
fileName: undefined
davida@acai ~/src/webmaker-app-cordova (master)$ npm run android
> [email protected] android /Users/davida/src/webmaker-app-cordova
> cordova run android
sh: cordova: command not found
npm ERR! Darwin 14.1.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "android"
npm ERR! node v0.10.35
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<script src="http://d3js.org/d3.v3.min.js"></script>
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: auto;
position: relative;
width: 960px;
}