Skip to content

Instantly share code, notes, and snippets.

View UwUDev's full-sized avatar
💜

UwU UwUDev

💜
View GitHub Profile
@xnike
xnike / AgentRunner.java
Created September 19, 2016 16:45
Simple snippet to show how to attach javaagent to running JVM process
import com.sun.tools.attach.VirtualMachine;
import com.sun.tools.attach.VirtualMachineDescriptor;
public class AgentRunner {
/*
* This class shows how to attach hotswap-agent.jar to a running JVM process and overload classes using "extraClasspath=" property via Hotswapper plugin.
*
* Lets assume that:
* args[0] contains pid of running JVM process or a runner class name we want to attach agent to
@ghostrider-05
ghostrider-05 / discord_app_protocols.md
Last active July 21, 2024 10:17
An unofficial list of discord app protocol routes

Discord app protocol routes

Home:

  • /: discord://-/
  • friends: discord://-/channels/@me/
  • nitro: discord://-/store
  • shop: discord://-/shop
  • message requests: discord://-/message-requests
  • family centre: discord://-/family-center
@GeneralSadaf
GeneralSadaf / List of Discord voice activities.md
Last active June 20, 2024 15:45
IDs of Discord voice activities.

Activities no longer require boosts to unlock. Activities except Watch Together are locked behind Nitro. Kept boost levels for prosperity.

Stable versions

Application ID Application name Boost level Max participants
755600276941176913 YouTube Together(Old) 0 Unlimited
880218394199220334 Watch Together(New) 0 Unlimited
755827207812677713 Poker Night 1 25
773336526917861400 Betrayal.io 0 Unlimited
814288819477020702 Fishington.io 0 Unlimited
832012774040141894 Chess In The Park 1 Unlimited