Skip to content

Instantly share code, notes, and snippets.

View SomeAspy's full-sized avatar
:fishsticks:
Adderall Inside[TM]

Aiden SomeAspy

:fishsticks:
Adderall Inside[TM]
View GitHub Profile
/**
* Parses numeric strings that might contain 'K' (thousands) or 'M' (millions).
* Example: "232.7K" => 232700, "1.5M" => 1500000, "500" => 500
* @param {string} valueStr The string value to parse.
* @returns {number} The parsed numeric value. Returns 0 if parsing fails or input is '-'.
*/
function parseNumericValue(valueStr) {
if (!valueStr || typeof valueStr !== 'string') {
return 0;
}
/*
Copyright (c) 2021, Amplified IT
See the full description at http://labs.amplifiedit.com/centipede
Support forums are available at https://currents.google.com/communities/100599537603662785064
Published under an MIT License https://opensource.org/licenses/MIT
*/
my name has a long history
in the beginning, there was darkness
then, i created the light
i did not like the emptiness so i created a ball of water
then there was land
and then i ran out of time and put some weird clay monsters on the planet
millions of years later, i joined the SCP:SL Discord server
The developers name was Hubert Moszka, i named myself Hubert Moszkarella. because Hubert Moszka and Mozzarella
Then
The Samm uprising began
PowerShell 7.2.0-preview.3
Copyright (c) Microsoft Corporation.
https://aka.ms/powershell
Type 'help' to get help.
PS C:\Users\aiden> python
Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 5<3
@SomeAspy
SomeAspy / labthing.ps
Created March 2, 2021 13:52
python log I guess
PowerShell 7.2.0-preview.3
Copyright (c) Microsoft Corporation.
https://aka.ms/powershell
Type 'help' to get help.
PS C:\Users\aiden> python
Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> float('1')
PowerShell 7.2.0-preview.2
Copyright (c) Microsoft Corporation.
https://aka.ms/powershell
Type 'help' to get help.
PS C:\Users\aiden> python
Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> 5+2*2
@SomeAspy
SomeAspy / adjectives.js
Created January 12, 2021 13:49 — forked from ijmacdowell/adjectives.js
javascript string array of nouns, adjectives, and verbs.
var adjectives = ["aback","abaft","abandoned","abashed","aberrant","abhorrent","abiding","abject","ablaze","able","abnormal","aboard","aboriginal","abortive","abounding","abrasive","abrupt","absent","absorbed","absorbing","abstracted","absurd","abundant","abusive","acceptable","accessible","accidental","accurate","acid","acidic","acoustic","acrid","actually","ad","hoc","adamant","adaptable","addicted","adhesive","adjoining","adorable","adventurous","afraid","aggressive","agonizing","agreeable","ahead","ajar","alcoholic","alert","alike","alive","alleged","alluring","aloof","amazing","ambiguous","ambitious","amuck","amused","amusing","ancient","angry","animated","annoyed","annoying","anxious","apathetic","aquatic","aromatic","arrogant","ashamed","aspiring","assorted","astonishing","attractive","auspicious","automatic","available","average","awake","aware","awesome","awful","axiomatic","bad","barbarous","bashful","bawdy","beautiful","befitting","belligerent","beneficial","bent","berserk","best","better","bewilde