Modular reusable code + code examples.
By the awesome community.
POST to https://discordbotlist.com/ API using discord.py and Requests
0 Python 80
Prerequisites: 1[Discord.py rewrite] 2[requests (pip install requests)]
POST stats to DiscordBotList using axios
This is an example of how to POST statistics to DiscordBotList. It uses axios to make the HTTP request. It assumes DBL_TOKEN is an environment variable which is the token provided from…
POST to https://discordbotlist.com/ API using DiscordJS and Snekfetch
Go post those nice bot stats of yours
Method to clean Windows Temp folders.
0 C# 63
Made in C#, this cleans: Windows/Temp.AppData/Local/Temp.
Complex Algorithms used by professionals to eliminate failure
easy. No more crashes 👌
Fetch subreddit posts using Dart IO
0 Dart 96
This function returns a Future that eventually resolves to a List of JSON objects. Each JSON object represents a Reddit POST. Here's a quick example usage:
Read HttpClientResponse into a String
0 Dart 100
Simply pass it the HttpClientResponse you get from request.close() and it'd return a Future that eventually resolves to a String. (maybe use await here) This requires a few obvious stuff:
Example HTTP GET request using Dart IO lib
0 Dart 91
This is a minimalistic example of how you can use HttpClient to send an HTTP GET request and read back the response. As you've already guessed, you can do .post instead of .get for a POST request.…
Simple example on WebSocket connection and data rountrip
0 Dart 109
This is a very minimalistic example of using WebSockets in Dart. Note that this uses dart:io and not dart:html, since this code isn't intended to run in a browser or anything.
Random Number Generator Based on Internet Speed
This was made for a Programming Challenges Telegram group. Don't take this seriously.Never use this anywhere.Don't hate me.
Convert binary to decimals
This converts a string of a binary number to a decimal, unsigned integer.
Get Maximum Call Stack Size
It works by exhausting the stack. It's stupid but it works.
Webpack Example Plugin to Write Files
i am only posting this to meme on overcoder but it does have good use case, put it in your plugins part of your webpack config and you can make your html file generate with proper file names if you…