Questions? Comments?
https://twitter.com/lnikkila
Handles clicks and long presses out of the box.
<com.fivehundredpx.android.blur.BlurringView | |
android:id="@+id/blurring_view" | |
android:layout_width="match_parent" | |
android:layout_height="56dp" | |
app:blurRadius="2" | |
app:downsampleFactor="6" | |
app:overlayColor="@color/player_bottom"/> | |
app build.gradle |
Questions? Comments?
https://twitter.com/lnikkila
Handles clicks and long presses out of the box.
Config files |
Download and install Riot for the platform of your choice. Supported platforms include Android(Play and F-Droid), iOS, OSX, Windows, Linux, and browser.
You should see a screen similar to the below image. Enter your information and make sure that you use the default matrix.org
server unless you know what you are doing. If you do not enter an email or phone number you will have to authenticate through the browser.
module.exports = class Document { | |
constructor(title, username, body) { | |
this.title = title | |
this.username = username | |
this.body = body | |
} | |
} |
.env | |
node_modules/ | |
data/ | |
LICENSE | |
README.md | |
.gitignore | |
.git/ | |
example.env | |
.travis.yml | |
docker/ |
.env | |
node_modules/ | |
data/ | |
docker/data/ |
MONGO_INITDB_ROOT_USERNAME=example | |
MONGO_INITDB_ROOT_PASSWORD=example | |
MONGO_INITDB_DATABASE=api | |
MONGO_DATA_DIR=/data/db | |
MONGO_TEST_DATA_DIR=/data/test_db | |
MONGO_LOG_FILE=/var/log/mongodb/mongodb.log | |
PORT=80 |
const test = require('tape') | |
const request = require('supertest') | |
const express = require('express') | |
const Document = require('../models/Document') | |
const app = require('../index') | |
let documentId | |
before(done => { | |
app.on( 'APP_STARTED', () => { |
const express = require('express') | |
const Document = require('../models/Document') | |
const router = express.Router() | |
router.get('/documents/all', (req, res, next) => { | |
req.app.locals.db.collection('documents').find({}).toArray((err, result) => { | |
if (err) { | |
res.status(400).send({'error': err}) | |
} |