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
| CFLAGS="-O2 -pipe" | |
| CXXFLAGS="${CFLAGS}" | |
| CHOST="x86_64-pc-linux-gnu" | |
| ABI_X86="64 32" | |
| CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" | |
| MAKEOPTS="-j2" | |
| #MAKEOPTS="-j32" | |
| #EMERGE_DEFAULT_OPTS="--verbose --ask --autounmask-write --verbose-conflicts --keep-going --with-bdeps=y" | |
| EMERGE_DEFAULT_OPTS="--verbose --ask --autounmask-write --keep-going --load-average=32.0 --jobs=99" | |
| VIDEO_CARDS="ast amdgpu radeonsi" |
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
| #!/usr/bin/perl | |
| use strict; | |
| use Irssi; | |
| use vars qw($VERSION %IRSSI); | |
| $VERSION = "1.1"; | |
| %IRSSI = ( | |
| authors => "Grok (fixed for IRC)", | |
| contact => "https://x.ai", |
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
| Let’s break down 2 Na₂CO₃ · 3 H₂O₂ piece by piece in a clear way. | |
| 1. Na₂CO₃ | |
| This is Sodium carbonate | |
| Contains: | |
| 2 sodium atoms (Na) | |
| 1 carbonate group (CO₃) | |
| Often called washing soda |
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
| wheel operator staff video realtime webcamd cups sddm pulse-rt avahi pulse pulse-access polkitd colord sq |
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
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import warnings | |
| import numpy as np | |
| import librosa | |
| from mutagen.easyid3 import EasyID3 | |
| # Suppress librosa UserWarnings and FutureWarnings | |
| warnings.filterwarnings("ignore", category=UserWarning) |
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
| ubuntu@ubuntu:~$ edid-decode /sys/class/drm/card0/card0-HDMI-A-1/edid | |
| edid-decode (hex): | |
| 00 ff ff ff ff ff ff 00 12 e5 00 21 50 2d 31 01 | |
| 1c 13 01 03 81 2f 1a 78 2e 35 85 a6 56 48 9a 24 | |
| 12 50 54 af ef 00 01 01 01 01 01 01 01 01 01 01 | |
| 01 01 01 01 01 01 a1 13 00 40 41 58 19 20 2c 58 | |
| 36 00 dc 0c 11 00 00 1a 00 00 00 ff 00 30 0a 0a | |
| 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 00 00 00 fd 00 38 | |
| 4b 1e 53 15 00 0a 20 20 20 20 20 20 00 00 00 fc |
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
| https://store.rakwireless.com/products/rak2287-pi-hat?srsltid=AfmBOoqAFVR9nMrgBmy6lsROTQbJVPfuq9IH1vyUXtIRDoo9-n3nbMse | |
| looks like SX1302 and suddenly this looks a lot more complicated | |
| > SX1302 base band processor emulates 8 x 8 channels LoRa packet detectors, 8 x SF5-SF12 LoRa demodulators, 8 x SF5-SF10 LoRa demodulators, one 125/250/500 kHz high-speed LoRa demodulator and one (G) FSK demodulator | |
| it would seem like this might work for a subdued client: https://github.com/meshtastic/firmware/blob/dbef1de2861c49fe6f5fe93ced6674f12e227d0f/bin/config-dist.yaml#L16 | |
| pinout for the 5146 (pi hat) https://docs.rakwireless.com/product-categories/wishat/rak2287-rak5146-pi-hat/datasheet/ |
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
| WITH CategorySales AS ( | |
| -- 1. Calculate total sales for each product within its category | |
| SELECT | |
| p.ProductID, | |
| p.ProductName, | |
| c.CategoryName, | |
| SUM(od.Quantity * od.UnitPrice) AS TotalSales, | |
| -- 2. Use a window function to rank products within each category | |
| ROW_NUMBER() OVER ( | |
| PARTITION BY c.CategoryID |
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
| use strict; | |
| use Irssi; | |
| use Irssi::Irc; | |
| use vars qw($VERSION %IRSSI); | |
| $VERSION = "1.4"; | |
| %IRSSI = ( | |
| authors => "Grok", | |
| name => "mass_highlighter", |
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/sh | |
| fire_echo() { | |
| perl -CS -Mutf8 -e ' | |
| use strict; | |
| use warnings; | |
| my @stops = ( | |
| [255, 64, 255], # magenta | |
| [160, 128, 255], # purple |
NewerOlder