Skip to content

Instantly share code, notes, and snippets.

View gastrodon's full-sized avatar
🙀
holy fucking bingle. what?! :3

Eva gastrodon

🙀
holy fucking bingle. what?! :3
View GitHub Profile
sending: {"o":{"actions":["Browsing"],"target":"ndc://x26883146/public-chats","ndcId":26883146,"params":{"duration":20215},"id":"269197328"},"t":306}
sending: {"o":{"ndcId":26883146,"topic":"ndtopic:x26883146:users-start-typing-at:e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197372"},"t":300}
sending: {"o":{"ndcId":26883146,"topic":"ndtopic:x26883146:users-end-typing-at:e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197377"},"t":300}
sending: {"o":{"ndcId":26883146,"topic":"ndtopic:x26883146:users-start-recording-at:e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197381"},"t":300}
sending: {"o":{"ndcId":26883146,"topic":"ndtopic:x26883146:users-end-recording-at:e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197385"},"t":300}
sending: {"o":{"ndcId":26883146,"threadId":"e9b29c8d-d6ac-4868-908a-ba9d43e8b924","id":"269197450"},"t":100}
sending: {"o":{"actions":["Chatting"],"target":"ndc://x26883146/chat-thread/e9b29c8d-d6ac-4868-908a-ba9d43e8b924","ndcId":26883146,"params":{"threadType":2},"id":"269197526"},"t":
@EvieePy
EvieePy / error_handler.py
Last active July 22, 2024 16:51
Simple Error Handling for ext.commands - discord.py
"""
If you are not using this inside a cog, add the event decorator e.g:
@bot.event
async def on_command_error(ctx, error)
For examples of cogs see:
https://gist.github.com/EvieePy/d78c061a4798ae81be9825468fe146be
For a list of exceptions:
https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#exceptions
@pwlin
pwlin / gist:8a0d01e6428b7a96e2eb
Last active July 20, 2024 17:34
Android : add cert to system store
https://code.google.com/p/android/issues/detail?id=32696#c5
If you have a certificate that is not
trusted by Android, when you add it, it goes in the personal cert store.
When you add a cert in this personal cert store, the system requires a
higher security level to unlock the device. But if you manage to add your
cert to the system store then you don't have this requirement. Obviously,
root is required to add a certificate to the system store, but it is quiet
easy.