Skip to content

Instantly share code, notes, and snippets.

@jamiephan
jamiephan / README.md
Last active September 4, 2025 00:46
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@Zachu
Zachu / custom.js
Created May 27, 2022 10:10
Logseq relative namespace links
// https://github.com/cannibalox/logseq-custom-files/blob/3a3c7248921145965054f0eaf06b03282053d440/custom.js
// common =================================================================
MutationObserver = window.MutationObserver || window.WebKitMutationObserver;
const watchTarget = document.getElementById("app-container");
// throttle MutationObserver
// from https://stackoverflow.com/a/52868150
const throttle = (func, limit) => {
let inThrottle;
return (...args) => {
if (!inThrottle) {
@taskylizard
taskylizard / fmhy.md
Last active September 8, 2025 22:14
/r/freemediaheckyeah, in one single file (view raw)
/* vertical style of sidebar in custom.css */
.sidebar-item.content {
min-width: 33vw;
overflow-y: scroll;
}
.sidebar-item-list.scrollbar-spacing {
display: flex;
flex-direction: row;
padding-bottom: 0;
import pandas as pd
import urllib.request
from tqdm import tqdm
from multiprocessing.pool import ThreadPool
import os.path
#
# This gist downloads all series from TMDB. You can easily modify this to download all movies.
# It uses threads to parallelize downloads and speed up this process.
# Depends on python 3. Tested on anaconda.
@deathau
deathau / Readme.md
Last active August 20, 2025 17:14
Obsidian scss

Obsidian SASS theme switching tools

I was building up a small library of css snippets, and mixing and matching via copy-paste was getting tiresome.
So, I knocked myself up a little solution using https://sass-lang.com/
To use this solution, you need to follow the instructions on the website to install the SASS command line utility.

Instructions

For my purposes, I created a subfolder in my Obsidian vault called ./.themes where my obsidian.scss file lives. I also created a subfolder for mixins (./.themes/mixins) containing small snippets like "Andy Matuschak" mode and collapsing sidebars (and my preferred custom colours for my Base2Tone theme)

/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();