Questions? Comments?
https://twitter.com/lnikkila
Handles clicks and long presses out of the box.
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 |
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.
const express = require('express') | |
const bodyParser = require('body-parser') | |
const MongoClient = require('mongodb').MongoClient | |
const dbName = process.env.NODE_ENV === 'dev' ? 'database-test' : 'database' | |
const url = `mongodb://${process.env.MONGO_INITDB_ROOT_USERNAME}:${process.env.MONGO_INITDB_ROOT_PASSWORD}@${dbName}:27017?authMechanism=SCRAM-SHA-1&authSource=admin` | |
const options = { | |
useNewUrlParser: true, | |
reconnectTries: 60, | |
reconnectInterval: 1000 |
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}) | |
} |
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 |