I hereby claim:
- I am edazpotato on github.
- I am edaz (https://keybase.io/edaz) on keybase.
- I have a public key whose fingerprint is 9EB6 941C 5AF5 ED66 5883 DF14 84D8 7E4D DD02 D50C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[v-cloak] { | |
visibility: hidden; | |
display: block; | |
padding: 50px 0; | |
} | |
@keyframes spinner { | |
to { | |
transform: rotate(360deg); | |
} |
Sorry, I don't accept unsolicited invites, and for your information they're a violation of the Discord Terms of Service. You can read more about the Terms of Service for Discord at https://discord.com/terms and contact me regarding any clarification you may require. Thank you!
Sorry, I'm not willing to sell my account, and for your information doing so or asking someone to do so is a violation of the Discord Terms of Service. You can read more about the Terms of Service for Discord at https://discord.com/terms and contact me regarding any clarification you may require. Thank you!
export default function abbreviateNumber(value) { | |
let newValue = value; | |
const suffixes = ["", "K", "M", "B","T"]; | |
let suffixNum = 0; | |
while (newValue >= 1000) { | |
newValue /= 1000; | |
suffixNum++; | |
} | |
newValue = newValue.toPrecision(3); |
const { Command } = require("discord-akairo"); | |
class ReloadCommand extends Command { | |
constructor() { | |
super("reload", { | |
aliases: ["reload"], | |
args: [ | |
{ | |
id: "commandID", | |
default: "all" |
// Code that enables discord experminets if you run it in the console | |
webpackJsonp.push([[999],{"l":(m,e,r)=>{for(k in r.c)(m=r.c[k].exports)&&m.default&&m.default.isDeveloper==0&&Object.defineProperty(m.default,"isDeveloper",{get:()=>1})}},[["l"]]]) |
function getNumbersPercentageOfSum(numbers, decimalPlaces = 2) { | |
let total = 0; | |
for (const number of numbers) { | |
total += number; | |
} | |
return numbers.map(number => ((number / total) * 100).toFixed(decimalPlaces)); | |
} |
-- My first semi-complicated elm program after reading the first couple pages of the docs | |
-- I based this off of the text input example here (https://guide.elm-lang.org/architecture/text_fields.html) and used only the api documentation to figure the rest out | |
import Browser | |
import Html exposing (Html, Attribute, div, input, text) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (onInput) | |