Goal: Use some modules (React components) on client side and server
/client/
app.coffee
routes.coffee # backbone.Router
Post | |
.findOne _id: id, 'public': true, 'accepted': true | |
.populate path: '_team', select: 'name' | |
.populate path: '_user', select: 'name' | |
.populate path: 'comments._user', select: 'name _team' | |
.populate path: 'likes._user', select: 'name _team' | |
.exec() |
angular.module('rm.MongoDB', []) | |
/** | |
* @method Object ID to Date | |
* @param {String} objectID The Object ID as String | |
* @return {Date} Creation Date of ObjectId | |
*/ | |
.filter("objectIDtoDate", function () { | |
return function (objectID) { | |
return new Date(parseInt((""+objectID).substr(0,8), 16)*1000); |
I hereby claim:
To claim this, I am signing this object:
Go to https://play.google.com/store/account?purchaseFilter=apps, open the Inspector (CMD+ALT+I, using Chrome) and enter the following:
$('td.purchase-price').map(function(){ return +$(this).text().trim().replace('€', '').trim().replace(',', '.') }).toArray().reduce(function (memo, p) {return memo + p;}, 0)
To filter for specific in-app purchases, prepend a purchase name selector:
$('td.purchase-name:contains("Comics") ~ td.purchase-price').map(function(){ return +$(this).text().trim().replace('€', '').trim().replace(',', '.') }).toArray().reduce(function (memo, p) {return memo + p;}, 0)
make_pie = ($box, data, size) -> | |
if size? | |
w = h = size | |
r = Math.min(w, h) / 2 | |
r2 = r - Math.floor(r/2) | |
else | |
w = h = 40 | |
r = Math.min(w, h) / 2 | |
r2 = r - 12 |
var path = require('path'); | |
var express = require('express'); | |
var l = require('lodash'); | |
var gutil = require('gulp-util'); | |
var React = require('react'); | |
var App = require('./index'); | |
var STATIC_PATH = path.join(__dirname, '../build'); |
/** | |
* # Main Navigation Styles | |
*/ | |
@import "../_style/config"; | |
@import "../_style/mixins"; | |
@mod: ~"NavMain"; | |
.@{mod} { |