Skip to content

Instantly share code, notes, and snippets.

@qubodup
qubodup / tiletest.py
Created February 23, 2019 02:00
Blender Tile Size Performance Test Script
import bpy
import time
from datetime import datetime
from bpy.app import handlers
print("================")
global DEVICES
global RESOLUTIONS
global CLOCK
@qubodup
qubodup / allclasses.js
Created July 2, 2022 14:00
get all classes and ids used by element
var classes = []
$('div').each(function() {
if (this.hasAttribute('class')) {
classes = classes.concat( $(this).attr("class").split(/\s+/) );
}
});
classes = [...new Set(classes)];
@qubodup
qubodup / noclassnoid.js
Created July 2, 2022 14:01
Get all elements without ANY class or id. then use :not([id]) or :not([class]) or div:not([id]):not([class]) to dominate it
$('div').each(function() {
if (!(this.hasAttribute('class') || this.hasAttribute('id'))) {
console.log("OMGvvv");
console.log(this);
console.log("OMG^^^");
}
});
# The code is dedicated to the public domain https://creativecommons.org/publicdomain/mark/1.0/
# A very simple Flask Hello World app for you to get started with...
# SECURITY RISK START
FSKEY = "FREESOUND API KEY"
# SECURITY RISK OVER
html_header = """<!DOCTYPE HTML>
<html>
@qubodup
qubodup / OpenClipart Tag Copy Helper
Created August 10, 2023 13:09
Copy OpenClipArt tags easily from a text box
// ==UserScript==
// @name OpenClipart Tag Copy Helper
// @namespace https://github.com/qubodup
// @version 0.1
// @description makes copying tags easier, for remixing
// @author qubodup
// @match https://openclipart.org/detail/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=openclipart.org
// @grant none
// ==/UserScript==