Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active November 30, 2025 02:34
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Loot Bag + Inventory (Weighted Drops, Skip)</title>
<style>
:root{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif}
body{display:flex;flex-direction:column;gap:12px;align-items:center;padding-top:140px;background:#f3f3f3;margin:0;min-height:100vh}
@JorjMcKie
JorjMcKie / LeoAccess.py
Last active November 30, 2025 02:24
Accessing dictionary dict.leo.org from Python
#!/usr/bin/env python
# -*- coding: latin-1 -*-
#
# Query the dictionary http://dict.leo.org/ from within Python.
# This is based on an equivalent script for German/English by:
#
# Copyright (C) 2015 Ian Denhardt <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@raysan5
raysan5 / custom_game_engines_small_study.md
Last active November 30, 2025 02:19
A small state-of-the-art study on custom engines

CUSTOM GAME ENGINES: A Small Study

a_plague_tale

WARNING: Article moved to separate repo to allow users contributions: https://github.com/raysan5/custom_game_engines

A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.

Nowadays lots of companies choose engines like [Unreal](https:

"use client";
import { ExternalLink } from "lucide-react";
import { motion } from "motion/react";
import Image from "next/image";
export default function BookHover() {
return (
<motion.div
whileHover={{
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Loot Bag + Inventory (Weighted Drops, Skip)</title>
<style>
:root{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif}
body{display:flex;flex-direction:column;gap:12px;align-items:center;padding-top:140px;background:#f3f3f3;margin:0;min-height:100vh}
@adrienbeau
adrienbeau / how-to-run-melodics-on-linux-using-bottles.md
Created January 7, 2024 10:55
How to run Melodics on Linux using Bottles

How to run Melodics on Linux using Bottles

TL;DR: Melodics runs out-of-the-box with the current version of Bottles and its default settings. However Melodics uses your browser to handle logins, and expects your browser to be able to call the Melodics app once logged-in. Read "Melodics Desktop Integration" below to set that up.

Versions tested:

@franklinmoy3
franklinmoy3 / opkg_updater.sh
Last active November 30, 2025 02:11
OpenWRT OPKG update all installed packages
#!/bin/sh
# Example of job definition (as add job using crontab -e):
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
# 30 02 15,28 * * /root/opkg_updater.sh
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Loot Bag + Inventory (Drag & Use Bags)</title>
<style>
:root{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif}
body{display:flex;flex-direction:column;gap:12px;align-items:center;padding-top:140px;background:#f3f3f3;margin:0;min-height:100vh}
@jbritton
jbritton / graphql-cheat-sheet.md
Last active November 30, 2025 02:05
GraphQL Cheat Sheet

GraphQL Cheat Sheet

Overview

  • An alternative approach to RESTful APIs
  • Clients issue queries/mutations to read and update data
  • Clients can fetch only the entity fields that are required
  • GraphQL query syntax can express complex entity relations => nested objects
  • Mitigates the explosion of RESTful endpoints in scenarios where many different representations of an entity are needed
  • Graphiql is a query execution UI, also provides good documentation