Repositories:
- Blender CAD Tools - Blender CAD Tools/Addons
- blicon - Blender Icons Overview
- MeshTools - A suite of free mesh tools for Blender
- bl_modconv - Blender file modifier type patching utility
| int aprintf(char *str, ...) { | |
| int i, j, count = 0; | |
| va_list argv; | |
| va_start(argv, str); | |
| for(i = 0, j = 0; str[i] != '\0'; i++) { | |
| if (str[i] == '%') { | |
| count++; | |
| Serial.write(reinterpret_cast<const uint8_t*>(str+j), i-j); |
| const $ = require('jquery-node'); | |
| // Description: drop-in synchronous bus gist using jquery-node | |
| // Usage: | |
| // | |
| // bus.on("foo", (...args) => { | |
| // console.log("foo was triggered", args); | |
| // }); | |
| // bus.subscribe({ | |
| // onFoo(...args) {console.log("foo triggered too", args)} |
| // arrayDepth() => 0 | |
| // arrayDepth([]) => 1 | |
| // arrayDepth([[]]) => 2 | |
| // arrayDepth([[[]]]) => 3 | |
| // arrayDepth([[[[]]]]) => 4 | |
| const arrayDepth = (ary) => _.isArray(ary) ? 1+arrayDepth(ary[0]) : 0; |
Repositories:
Repositories:
| // ==UserScript== | |
| // @name Google Image Search Dimension Overlay | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Tampermonkey script that adds back the dimension overlay in Google Image Search | |
| // @author EleotleCram | |
| // @match https://www.google.com/* | |
| // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js | |
| // @grant none | |
| // ==/UserScript== |
| #! /bin/bash | |
| # Auto CAD Assistant - Automation utility for conversion of CAD input files (.step, etc.) to .obj | |
| # files using CAD Assistant, xdotool and xprop. Just give it a bunch of input CAD files and behold | |
| # the robot as it automatically navigates and operates CAD Assistant. | |
| # MIT License | |
| # | |
| # Copyright (c) 2021 Marcel Toele | |
| # |
| #pragma once | |
| // Utility macros for periodically doing stuff in a non-blocking loop. | |
| // Usage: | |
| // | |
| // void loop() { | |
| // EVERY(2.5 SECONDS) { | |
| // static bool ledOn = false; | |
| // ledOn = !ledOn; |
| #!/bin/bash | |
| # Function to show help message | |
| show_help() { | |
| echo "Usage: $0 --hostname TASMOTA_DEVICE [OPTIONS] CMD [ARGS]" | |
| echo "" | |
| echo "Commands:" | |
| echo " PUT FILE DEST_PATH Upload a file to the specified destination path." | |
| echo " GET FILE_PATH [-o OUTPUT_FILE] Download a file from the specified path." | |
| echo " GET FILE_PATH TARGET_DIR Download a file from the specified path to the target directory." |
| #!/usr/bin/env python3 | |
| import sys | |
| import os | |
| import requests | |
| # Function to show help message | |
| def show_help(): | |
| print("Usage: tasmota_ufs.py --hostname TASMOTA_DEVICE [OPTIONS] CMD [ARGS]") | |
| print("") |