Skip to content

Instantly share code, notes, and snippets.

View jesusprubio's full-sized avatar
🏴‍☠️

Jesús Rubio jesusprubio

🏴‍☠️
View GitHub Profile
[package]
name = "online"
version = "0.2.0"
authors = ["Jesús Rubio <jesusprubio@gmail.com>"]
edition = "2018"
documentation = "https://docs.rs/online"
include = ["src/**/*", "Cargo.toml"]
description = "📶 Library to check your Internet connectivity"
repository = "https://github.com/jesusprubio/online.git"
readme = "README.md"
'use strict';
const motivation = require('motivation');
module.exports = async () => {
const res = motivation.get();
strapi.log.info(`\n${res.text} (${res.author})\n`);
};
'use strict';
const motivation = require('motivation');
/**
* StrapiPluginFortune.js controller
*
* @description: A set of functions called "actions" of the `strapi-plugin-fortune` plugin.
*/