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 Betygsak | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description Räknar ut faktiskt jämförelsetal efter uppskattade betyg i pågående kurser | |
| // @author Alve Svarén | |
| // @match https://sms.schoolsoft.se/nti/jsp/student/right_student_course.jsp?menu=course | |
| // @icon https://www.google.com/s2/favicons?domain=schoolsoft.se | |
| // @grant none | |
| // ==/UserScript== |
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
| // Put this in the ESPHome folder in your home assistant configuration | |
| #include "esphome.h" | |
| #include <Wire.h> | |
| #include "Adafruit_AHTX0.h" | |
| #define TAG "ahtx0" | |
| class AHTX0Sensor : public PollingComponent { |
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 <vector> | |
| #include <string> | |
| #include <sstream> | |
| #include "esphome/components/display/display_buffer.h" | |
| #include "text_wrap.h" | |
| using namespace esphome; | |
| using namespace esphome::display; | |
| void wrap_text(DisplayBuffer* it, int x, int y, const char* text, Font* font, TextAlign align, float line_height) { |
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
| #Requires AutoHotkey v2.0 | |
| ; r5apex.exe if not using dx12 beta | |
| exeName := "r5apex_dx12.exe" | |
| #SingleInstance force | |
| pData := DllCall("GlobalAlloc", "uint", 0, "uptr", 16, "ptr") |
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
| Device: Playback 1/2 E2x2 {1b3759f4-fe70-4472-8542-9f45367b8348} | |
| Preamp: -5.6 dB | |
| Filter: ON PK Fc 63 Hz Gain -3.8 dB Q 0.7 | |
| Filter: ON LSC Fc 105 Hz Gain 5.5 dB Q 0.71 | |
| Filter: ON PK Fc 160 Hz Gain -2.6 dB Q 0.8 | |
| Filter: ON PK Fc 680 Hz Gain 3.5 dB Q 0.7 | |
| Filter: ON PK Fc 1170 Hz Gain -2.1 dB Q 1.2 | |
| Filter: ON PK Fc 2000 Hz Gain 1 dB Q 1 | |
| Filter: ON PK Fc 2900 Hz Gain -1.5 dB Q 3 | |
| Filter: ON PK Fc 5950 Hz Gain -6.4 dB Q 3.5 |
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
| #!/bin/bash | |
| # Git aliases and functions compatible with Git Bash on Windows | |
| # --- Helper Functions --- | |
| # Function to compare version numbers (requires version $1 >= version $2) | |
| # Usage: is_at_least "2.8" "$git_version" | |
| is_at_least() { | |
| local required_version="$1" | |
| local current_version="$2" |
OlderNewer