Skip to content

Instantly share code, notes, and snippets.

View Xevshak's full-sized avatar
🤘

Keshav Krishnan Xevshak

🤘
View GitHub Profile
@Xevshak
Xevshak / Muddy Mudragon Targets.md
Last active April 9, 2024 15:07
Muddy Mudragon Fusion Targets (Mostly for VW)
Disclaimer

This was made with Virtual World in mind, I have left out some archetypal monsters that are technically summonable, but completely unviable in terms of either effect or main deck requirements. If you think there is a monster missing that I should add, please let me know and I will add it. I was making this for myself initially, so there is some subjectivity in the descriptions.

Targets

  • Invoked Mechaba
    • and any light
  • invoked caliga
    • and any dark
    • best target imo is illegal knight
  • Yubel the loving defender forever
    • 1 or more effect monsters on field
@Xevshak
Xevshak / Regex Discord Tag Tutorial.md
Last active September 12, 2022 01:39
A quick tutorial on regexs using discord tags as an example

Regex Discord Tag Tutorial

This is going to be a tutorial for making a Regular Expression (Regex) that can search text to find test that fits the format required for Discord usernames. Regexs are very powerful tools for making specific searches in text. Unlike if statements, it is much more condensed, and runs very quickly. The primary downside to Regex over normal logic is the lack of readability.

Summary

The Regex we will be using today is /^.{3,32}#[0-9]{4}$/ This Regex allows between 3 and 32 of any character before a # symbol, and then checks for 4 numbers afterwards. Discord usernames follow this format. Some examples would be