Skip to content

Instantly share code, notes, and snippets.

@Californ1a
Californ1a / youtubeThumbnailResize.css
Last active April 28, 2025 13:50
Change YouTube homepage grid count (youtube thumbnail resize)
/* Credit https://chrome.google.com/webstore/detail/youtube-thumbnail-resizer/pbkkiocccjpeadoiakfbljdbhhdimoac
It's seriously just 1 css rule! 🤯 */
.ytd-rich-grid-renderer {
--ytd-rich-grid-items-per-row: 6;
}
/* Updated version: https://reddit.com/r/youtube/comments/qwjc10/how_to_display_more_thumbnailsitems_on_youtube/hl4fwty/ */
ytd-rich-grid-renderer {
--ytd-rich-grid-items-per-row: 6 !important;
}
@saidinesh5
saidinesh5 / nestedjson.cpp
Last active December 9, 2023 02:43
Get/Set values in nested QJsonObjects using "/path/to/key" syntax
#include <QJsonDocument>
#include <QJsonObject>
#include <QDebug>
static QString const &data = R"(
{
"persistentData": {
"module": {
"name": "fancy module",
"options": {}