I hereby claim:
- I am xdimgg on github.
- I am dimgg (https://keybase.io/dimgg) on keybase.
- I have a public key whose fingerprint is 3C02 F675 35AD A33E C17B 0732 D83F 440E B1DB 0FCA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
const { get } = require('snekfetch'); | |
/** | |
* @typedef {Object} Query | |
* @prop {'mobile'|'desktop'} strategy The strategy to use when taking the screenshot | |
*/ | |
/** | |
* Screenshot a web page using its URL | |
* @param {string} url Web page URL to screenshot |
const { get } = require('snekfetch'); | |
const { load } = require('cheerio'); | |
/** | |
* Get the lyrics for a song using the Genius API | |
* | |
* @param {string} query What to search for | |
* @returns {Promise<String>} Lyrics | |
*/ |
module.exports = { | |
env: { | |
node: true, | |
es6: true, | |
}, | |
parserOptions: { | |
ecmaVersion: 2017, | |
ecmaFeatures: { experimentalObjectRestSpread: true }, | |
}, | |
rules: { |
<?php | |
$url = 'https://discordapp.com/api/webhooks/402545221445091348/Cu8aLPPtgGMTyINj-DOjy91NCdnDMKczdFmsJmO2u4I6l7fzyNV_YYtezwwU7QF4CkrD'; | |
$image = 'https://via.placeholder.com/400x400'; | |
$data = json_encode([ | |
// These 2 should usually be left out | |
// as they will override whatever your | |
// users have set | |
// 'username' => 'Test WebHook', | |
// 'avatar_url' => $image, |
const { createInterface } = require('readline'); | |
const { get } = require('snekfetch'); | |
const fs = require('fs'); | |
fs.existsSync('./pictures') || fs.mkdirSync('./pictures'); | |
const input = question => { | |
return new Promise(res => { | |
const rl = createInterface({ input: process.stdin, output: process.stdout }); | |
rl.question(question, answer => { | |
res(answer); |
const { get, post } = require('snekfetch'); | |
const express = require('express'); | |
const btoa = require('btoa'); | |
const app = express(); | |
const cfg = { | |
id: 'get_one', | |
secret: 'get_one' | |
}; |
(function() { | |
// Minified JS Beautifier : http://dpidudyah7i0b.cloudfront.net/codemirror/jsb/lib/beautify.js | |
function in_array(e,t){for(var n=0;n<t.length;n+=1)if(t[n]===e)return!0;return!1}function trim(e){return e.replace(/^\s+|\s+$/g,"")}function js_beautify(e,t){"use strict";return new Beautifier(e,t).beautify()}function Beautifier(e,t){"use strict";function n(e,t){var n=0;return e&&(n=e.indentation_level,!I.just_added_newline()&&e.line_indent_level>n&&(n=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:e?e.line_indent_level:n,start_line_index:I.get_line_number(),ternary_depth:0}}function _(e){var t=e.newlines;if($.keep_array_indentation&&E(F.mode))for(n=0;n<t;n+=1)a(n>0);else if($.max_preserve_newlines&&t>$.max_preserve_newlines&&(t=$.max_preserve_newlines),$. |
(function() { | |
// Minified CSS Beautifier : http://dpidudyah7i0b.cloudfront.net/codemirror/jsb/lib/beautify-css.js | |
function css_beautify(e,n){function i(){return(h=e.charAt(++_))||""}function s(n){var s=_;return n&&r(),result=e.charAt(_+1)||"",_=s-1,i(),result}function t(n){for(var s=_;i();)if("\\"===h)i();else{if(-1!==n.indexOf(h))break;if("\n"===h)break}return e.substring(s,_+1)}function r(){for(var e="";l.test(s());)i(),e+=h;return e}function u(n){var t=_,n="/"===s();for(i();i();){if(!n&&"*"===h&&"/"===s()){i();break}if(n&&"\n"===h)return e.substring(t,_)}return e.substring(t,_)+h}function a(n){return e.substring(_-n.length,_).toLowerCase()===n}var f=(n=n||{}).indent_size||4,c=n.indent_char||" ",p=void 0===n.selector_separator_newline||n.selector_separator_newline,o=void 0!==n.end_with_newline&&n.end_with_newline;"string"==typeof f&&(f=parseInt(f,10));var h,l=/^\s+$/,_=-1,g=e.match(/^[\t ]*/)[0],d=new Array(f+1).join(c),b=0,w=0,y={};y["{"]=function(e){y.singleSpace(),v.push(e),y.newLine()},y["}"]=function |