Skip to content

Instantly share code, notes, and snippets.

View zerfl's full-sized avatar

Daniel Martin zerfl

  • Germany
  • 05:57 (UTC +01:00)
View GitHub Profile
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active November 8, 2025 04:46
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:
<?php
namespace UMRCP\Tags;
use ElementorPro\Modules\DynamicTags\ACF\Module;
use Elementor\Controls_Manager;
if (!defined('ABSPATH')) {
exit;
}
@kdzwinel
kdzwinel / main.js
Last active May 7, 2025 17:06
List all undefined CSS classes
/*
This script attempts to identify all CSS classes mentioned in HTML but not defined in the stylesheets.
In order to use it, just run it in the DevTools console (or add it to DevTools Snippets and run it from there).
Note that this script requires browser to support `fetch` and some ES6 features (fat arrow, Promises, Array.from, Set). You can transpile it to ES5 here: https://babeljs.io/repl/ .
Known limitations:
- it won't be able to take into account some external stylesheets (if CORS isn't set up)
- it will produce false negatives for classes that are mentioned in the comments.
@QWp6t
QWp6t / acf-post-type-supports.php
Last active July 24, 2024 18:14
Adds ACF Field Group location rule for Post Type Support.
<?php
/**
* Plugin Name: Field Group Location: Post Type Supports
* Plugin URI: http://qwp6t.me/acf-post-type-supports
* Description: Adds ACF Field Group location rule for Post Type Support. NOTE: You must first declare the supported feature in your theme.
* Version: 1.0.0
* Author: QWp6t
* Author URI: http://qwp6t.me
* License: MIT License
*/