Skip to content

Instantly share code, notes, and snippets.

View VillainsRule's full-sized avatar

VR VillainsRule

View GitHub Profile
@jatin-lab49
jatin-lab49 / gradle-compilecache-error.md
Created June 22, 2020 20:32
TIL-Lab49/Recovering from Gradle "Cannot lock Java compile cache"

Ran into a weird issue today where I was refactoring a lot of Java classes. Trying to run Gradle build via IntelliJ kept failing.

The error was:

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
@advaith1
advaith1 / top bots.md
Last active March 11, 2025 22:27
The top Discord bots ranked by server count
Rank Bot Approximate Server Count Library
1 MEE6 21,300,000 Custom Python
2 Rythm 🪦 15,200,000 JDA
3 carl-bot 🅱️ 10,900,000 Pycord
4 Groovy 🪦 10,100,000 JDA, Discord4J
5 Dyno
@dragonwocky
dragonwocky / discord-webhook.js
Last active December 8, 2024 12:04
js post request example for discord webhooks using the fetch web api
// node.js versions pre-v0.18.0 do not support the fetch api and require a polyfill
// const fetch = require('node-fetch');
fetch(
'https://discordapp.com/api/webhooks/738983040323289120/mzhXrZz0hqOuUaPUjB_RBTE8XJUFLe8fe9mgeJjQCaxjHX14c3SW3ZR199_CDEI-xT56',
{
method: 'post',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({