Skip to content

Instantly share code, notes, and snippets.

View Nemika-Haj's full-sized avatar
🐶
No borf?

Nemika__ Nemika-Haj

🐶
No borf?
View GitHub Profile
@Nemika-Haj
Nemika-Haj / README.md
Last active February 8, 2024 22:56
How to make the BytesToBits welcome GIF

Since a LOT of people like the way it looks, and wanted to know how to make it, here is the code :3

Preview

Preview

@Nemika-Haj
Nemika-Haj / MongoDB.md
Created March 19, 2022 01:34
Free MongoDB

Preparing the Database

You can get a free 500MB Database from MongoDB Atlas. That will last for a really long time.

Head over to Atlas and create a new account. You will then be greeted with this panel. Panel View

Select the FREE one and give it a name. Follow these steps;

  • Go to Database Access section under the Security tab and click + ADD NEW USER. Give it Read and write to any database permissions so the bot can properly store the data. Give it a username and a secure password. Save the password only. New User
  • To allow the bot to actually access the database, you should whitelist all IP's. Go to Network Access section under the Security tab and click + ADD IP ADDRESS. Click the Allow Access From Everywhere and 0.0.0.0/0 should appear in the Whitelist Entry. If it doesn't, enter it manually.