Skip to content

Instantly share code, notes, and snippets.

View PEM--'s full-sized avatar
🏠
Working from home

Pierre-Eric Marchandet PEM--

🏠
Working from home
View GitHub Profile
import { Meteor } from 'meteor/meteor';
import { SyncedCron } from 'meteor/percolate:synced-cron';
const DEFAULT_CRON = 'at 2:10am';
// Global synced cron configuration
SyncedCron.config({
log: true,
logger: null,
collectionName: 'CronHistory',
@PEM--
PEM-- / funiv-lessons-display-content.md
Last active August 29, 2015 14:08
Preview of Famo.us university lessons in Meteor with famous-views and Jade

Displaying content

link: http://famo.us/university/lessons/#/famous-101/displaying/1

+Surface size=[200, 200] properties='backgroundColor: "rgb(240, 238, 233)", textAlign: "center", padding: "5px", border: "2px solid rgb(210, 208, 203)", marginTop: "50px", marginLeft: "50px"'
  h3 Hi!
  p I'm a surface!<br>I live inside a context.</p><p>You can add <b>HTML</b> content to me and style me with <b>CSS!</b>

Where:

@PEM--
PEM-- / OneStep.md
Last active August 29, 2015 14:08
Flatified Famous experiments

On the CLI:

meteor create famousbubble
cd famousbubble
rm *
meteor add raix:famono coffeescript pierreeric:cssc-famous \
  pierreeric:cssc-colors mquandalle:jade
mkdir client/views client/styles
touch client/index.{jade,coffee} \
  client/views/{bubblebox,bubble,dragger}.coffee \