import Alt from './' | |
// the magic sauce | |
import { createTransform } from './utils/frp' | |
// decorator utilities | |
import { createStore, bind } from './utils/decorators' | |
const alt = new Alt() |
from sklearn.externals import joblib | |
import time | |
import numpy | |
import pickle | |
bigarray = numpy.zeros([190,91,190]) | |
bigarray = bigarray.flatten() | |
### Saving |
Note: This is the first time we're sharing meeting notes publicly. The primary reason we haven't shared these is because we often mix public discussions with matters that are Facebook specific and should not be public. We're really trying to be more open about our development process and what's happening inside the project so moving forward, we'll be sharing meeting notes. While most of us do work at Facebook, we're committed to this being an open project - for now we'll filter out the private notes from the public notes. Hopefully we can make it possible for these meetings to be open to any who wish to attend.
Attendees:
- @zpao
- @sebmarkbage
- @spicyj
- @jeffmo
var browserSync = require('browser-sync'), | |
common = require('./__common__'), | |
gulp = require('gulp'), | |
watch = require('gulp-watch'); | |
gulp.task('default', [ | |
'less' | |
], function () { | |
browserSync({ | |
server: { |
var gulp = require("gulp"); | |
var sass = require("gulp-sass"); | |
var autoprefix = require("gulp-autoprefixer"); | |
var filter = require('gulp-filter'); | |
var browserSync = require('browser-sync'); | |
var reload = browserSync.reload; | |
/** | |
* Start BrowserSync | |
*/ |
This blog post series has moved here.
You might also be interested in the 2016 version.
'use strict'; | |
/* | |
This service can be used in MeanJS to add support for dynamic meta tag content depending on the | |
view that is rendered by ui-router. The same code can be reused in other SPAs with minor adjustments. | |
Usage: Copy this file in public/modules/core/services/ of MeanJS. Then inject the $meta service | |
into a controller and use any of the following statements to set the view's meta tag content. | |
$meta.setTitle('view title'); |
The following gist is an extract of the article Detecting Similar News. It exploit data retrieve by a crawler and detect similar article across different domains
Start by running the crawler to retrieve the data. Crawler takes about 50 minutes to retrieve all the data the first time.
$ python run.py
retrieving url... [techcrunch.com] /
The following gist is an extract of the article Flask-SQLAlchemy Caching. It allows automated simple cache query and invalidation of cache relations through event among other features.
# pulling one User object
user = User.query.get(1)