Skip to content

Instantly share code, notes, and snippets.

View quantuminformation's full-sized avatar
💭
Podcasting, Firebase, Svelte

Nikos quantuminformation

💭
Podcasting, Firebase, Svelte
View GitHub Profile
@quantuminformation
quantuminformation / discord_block_list.md
Last active February 23, 2024 12:09
Discord Automod spam custom words

Copy this into your automod spam filter:

*discord.gg*,  *https://t.me*,  fuck, fucking, NIТRO, DM me, HMU, nudes, send me a direct message, want to be hired, **https://drive.**, *@here*, *@everyone*, **tinyurl.com**, survey, *USD, JOB AVAILABLE, WORK FROM HOME, Contact Discord, Telegram*, WHATSAPP*, Telegram, investment opportunity, Anyone can apply regardless of age, work as Virtual, Start working right now!, No experience in the subject required, Thank you for considering this collaboration, I am looking for a partner, opportunity for collaboration, Just message me, *tiktok*, NEEDED URGENTLY,Please inbox me,potential investors, Nigga, SEX,crypto market, promise to pay me,𝘱𝘦𝘰𝘱𝘭𝘦 𝘴𝘩𝘰𝘶𝘭𝘥 𝘢𝘱𝘱𝘭𝘺,home part-time online,online publishing,property management,You would be paid,promise to pay me, i want Help,Our project guarantees high salary,I represent the web3,DM for detail,Looking for a Part Time,I am writing to announce,Personal Assistant, this server is dead,cold caller job,private Property Manager,Send me 
@quantuminformation
quantuminformation / getUniqueQueryPathToDomEventTarget
Created July 18, 2015 19:41
Get unique query selector for element
/**
*
* @param e event from the DOM that we want to workout the testing path.
*/
getUniqueQueryPathToDomEventTarget: function (e) {
let hasEmberIdRegex = /ember[\d]+/;
if (e.target.id && !hasEmberIdRegex.test(e.target.id)) {
return "#" + e.target.id;
} else {
let path = e.path.reverse().slice(2); //remove the window and document path sections