Skip to content

Instantly share code, notes, and snippets.

View PoSayDone's full-sized avatar
👹
oniii

Arseniy Knyazev PoSayDone

👹
oniii
  • Perm, Russia
  • 19:34 (UTC +05:00)
View GitHub Profile
@PoSayDone
PoSayDone / main.cpp
Created November 22, 2023 11:12
эксептн
#include <iostream>
#include <stdexcept>
using namespace std;
float calculateSum(unsigned int currentMonth, unsigned int previousMonth, float kwhPrice) {
unsigned int delta;
if (currentMonth < previousMonth) {
delta = (9999 - previousMonth) + currentMonth;
}
{ pkgs
, inputs
, config
, ...
}: {
imports = [ inputs.nixvim.homeManagerModules.nixvim ];
programs.neovim = {
defaultEditor = true;
};
--- a/sound/pci/hda/patch_realtek.c 2023-06-08 23:31:47.547406502 +0500
+++ b/sound/pci/hda/patch_realtek.c 2023-06-08 23:39:27.371595686 +0500
@@ -9554,7 +9554,8 @@ static const struct snd_pci_quirk alc269
SND_PCI_QUIRK(0x1043, 0x1ccd, "ASUS X555UB", ALC256_FIXUP_ASUS_MIC),
SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401),
SND_PCI_QUIRK(0x1043, 0x1d4e, "ASUS TM420", ALC256_FIXUP_ASUS_HPE),
- SND_PCI_QUIRK(0x1043, 0x1e02, "ASUS UX3402", ALC245_FIXUP_CS35L41_SPI_2),
+ SND_PCI_QUIRK(0x1043, 0x1e02, "ASUS UX3402ZA", ALC245_FIXUP_CS35L41_SPI_2),
+ SND_PCI_QUIRK(0x1043, 0x16a3, "ASUS UX3402VA", ALC245_FIXUP_CS35L41_SPI_2),
SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502),
/*! For license information please see 13d8353ccc05358f.js.LICENSE.txt */
(self.webpackChunk_keybr_keybr_com = self.webpackChunk_keybr_keybr_com || []).push([
[699],
{
5741: (e, t, n) => {
"use strict";
n.d(t, { kG: () => r });
function r(e, t, n) {
if ((void 0 === n && (n = Error), !e)) throw new n(t);
}