Append both services the Services array.
$ nvim ~/.sharenix.json| // const fetch = require('node-fetch'); /* if in node.js env */ | |
| const buildParams = ps => | |
| Object.keys(ps) | |
| .map(k => `${k}=${ps[k]}`) | |
| .join("&"); | |
| const buildURL = (args, params) => | |
| "https://api.jikan.moe/v3" + | |
| `/${args.filter(Boolean).join("/")}` + |
| const distance = (p1, p2) => (p1.x - p2.x) ** 2 + (p1.y - p2.y) ** 2; | |
| const findNearestIndex = (point, list) => { | |
| let nearestDistSquared = Infinity; | |
| let nearestIndex; | |
| for (let i = 0; i < list.length; i++) { | |
| const curPoint = list[i]; | |
| const distsq = distance(point, curPoint); |
| <?php | |
| $iter = 500000; | |
| $start = microtime(true); | |
| $n = 0; | |
| for ($c = 0; $c < 7 * $iter; $c++) { | |
| $i = $c % 16; | |
| if ($i === 0) { | |
| $n += 0; |
| const cheerio = require('cheerio') | |
| const rp = require('request-promise') | |
| const baseURL = 'https://www1.gogoanime.sh' | |
| /** | |
| * Fetches the full GogoAnime anime list | |
| * @returns {Array} An array of anime objects | |
| */ | |
| const fetchList = async () => { |
| const got = require("got"); | |
| const regex = /(?<host>[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\:?(?<port>[0-9]{1,5})?/; | |
| const getProxy = () => | |
| got("http://spys.me/proxy.txt").then(({ body }) => | |
| body | |
| .split("\n") | |
| .filter(val => regex.test(val)) | |
| .map(val => { |
| This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
| Token for proof: | |
| [Verifying my OpenPGP key: openpgp4fpr:477163af13bcb2119c9a171a3c441a263db8e8f3] |
| [ | |
| { | |
| "id": 1, | |
| "name": "Action", | |
| "created_at": "2018-05-25 00:56:45.876651", | |
| "description": "Plays out mainly through a clash of physical forces. Frequently these stories have fast cuts, tough characters making quick decisions and usually a beautiful girl nearby. Anything quick and most likely a thin storyline." | |
| }, | |
| { | |
| "id": 2, | |
| "name": "Adventure", |
| /** | |
| * The pagination args validator | |
| * @param {number} opts | |
| */ | |
| function validator (opts) { | |
| const options = opts || {} | |
| const min = options.min || 1 | |
| const max = options.max || 100 | |
| return (args) => { |
I hereby claim:
To claim this, I am signing this object: