Skip to content

Instantly share code, notes, and snippets.

View squk's full-sized avatar

Christian Nieves squk

  • Austin, TX
  • 08:20 (UTC -05:00)
View GitHub Profile
@squk
squk / godot.lua
Last active February 18, 2024 00:06
GDScript and C# NeoVim LSP Configuration
{
"williamboman/mason-lspconfig.nvim",
dependencies = {
"williamboman/mason.nvim",
"Hoffs/omnisharp-extended-lsp.nvim",
"neovim/nvim-lspconfig",
},
config = function()
require("mason").setup()
require("mason-lspconfig").setup({
@squk
squk / tracker_allowlist.sh
Created August 24, 2023 23:49
Transmission Tracker Allowlist
#!/bin/bash
# Set the list of trackers to allow seeding on
ALLOWLIST=(
"secret-tracker.com"
"anothertracker.com"
)
# Set the log file path
LOG_FILE="/config/transmission-home/tracker-allowlist.log"
//#include "HX711.h" //This library can be obtained here http://librarymanager/All#Avia_HX711
#include <HX711_2.h>
#define LOADCELL_DOUT_PIN1 12
#define LOADCELL_DOUT_PIN2 13
#define LOADCELL_SCK_PIN 11
HX711_2 scale;
float calibration_factor1 = 3900;
We couldn’t find that file to show.
@squk
squk / automations.yaml
Last active September 15, 2021 02:43
Aqara Cube Automation
- id: '1630438574517'
alias: Aqara Magic Cube
description: ''
use_blueprint:
path: Mikkelmoeller/aqara-magic-cube-zha-51-actions.yaml
input:
remote: daf96979b9e81cc754d2f78c27f179fc
cube_flip_90: []
cube_shake:
- service_template: "{%- if (states.climate.living_room_ac.state == 'off') -%}\n\
[
{
"VersionNumber": "4.4",
"IsBeta": false,
"URL": "https://cdn.discordapp.com/attachments/177005642458857472/262645399930535936/Ishiiruka-FM-v4.4--.7z",
"Checksum": ""
},
{
"VersionNumber": "4.9",
"IsBeta": true,