This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Linkhut Auto-Fill Title and Summary | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Automatically fetch page title and summary when pasting URLs in linkhut | |
| // @author You | |
| // @match *://*/ | |
| // @match *://*/* | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_addStyle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * wm8960.c | |
| * | |
| * Date: 2024-09-03 | |
| * Author: @pyrho | |
| */ | |
| #include "wm8960.h" | |
| #include "stm32h7xx_hal_def.h" | |
| #include "stm32h7xx_hal_i2c.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Wire.h> | |
| #include "AHT20.h" | |
| #include <ESP8266WiFi.h> | |
| #include <InfluxDbClient.h> | |
| #include <InfluxDbCloud.h> | |
| #define ONE_MINUTE 60 * 1000 | |
| #define ONE_HOUR ONE_MINUTE * 60 | |
| #define INFLUXDB_URL "http://influxdb2.lan:8086" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;AFTER LAYER CHANGE | |
| ;[layer_z] | |
| { if layer_num >= 1 } | |
| ; Retraction is not needed | |
| ;G1 E-2 F3600 ; retract | |
| G0 X0 Y170 F{travel_speed*60} ; get next to the switch | |
| M400 ;Wait for all moves to finish |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 10a11 | |
| > boltZOffset=-15; | |
| 132c133,134 | |
| < for(z=[0.5,-0.5]) t([0,0,z*boltSpan]){ | |
| --- | |
| > t([0, 0, boltZOffset]) | |
| > for(z=[0.5,-0.5]) t([0,0,(z*boltSpan)]){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $fn= $preview ? 16:32; | |
| // bottle | |
| bottleD=73-10; | |
| bottleHullTol=0.2; // render tolerance | |
| // bike frame | |
| frameD=35+.5; | |
| framePadD=11+.5; // diameter of pads around frame holes | |
| framePadH=0; // 0 for flat back |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| black = '#1d292f'; | |
| red = '#f7768e'; // red | |
| green = '#9ece6a'; // green | |
| yellow = '#e0af68'; // yellow | |
| blue = '#7aa2f7'; // blue | |
| magenta = '#bb9af7'; // pink | |
| cyan = '#7dcfff'; // cyan | |
| white = '#a9b1d6'; // light gray | |
| lightBlack = '#414868'; // medium gray | |
| lightRed = '#f7768e'; // red |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @font-face { | |
| font-family: "RobotoMono Nerd Font"; | |
| font-style: normal; | |
| font-weight: 200; | |
| src: url(https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/RobotoMono/Light/complete/Roboto%20Mono%20Light%20Nerd%20Font%20Complete.ttf?raw=true); | |
| } | |
| @font-face { | |
| font-family: "RobotoMono Nerd Font"; | |
| font-style: normal; | |
| font-weight: 400; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @font-face { | |
| font-family: "VictorMono Nerd Font"; | |
| font-style: normal; | |
| font-weight: 200; | |
| src: url(https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/VictorMono/Light/complete/Victor%20Mono%20Light%20Nerd%20Font%20Complete%20Mono.ttf?raw=true); | |
| } | |
| @font-face { | |
| font-family: "VictorMono Nerd Font"; | |
| font-style: normal; | |
| font-weight: 400; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "Run AVA test", | |
| "program": "${workspaceRoot}/node_modules/.bin/ava", | |
| "args": [ | |
| "${file}", |
NewerOlder