Skip to content

Instantly share code, notes, and snippets.

View Patryk27's full-sized avatar
🦀
git goes rerere

Patryk Wychowaniec Patryk27

🦀
git goes rerere
View GitHub Profile
@Patryk27
Patryk27 / bug.ll
Created March 12, 2024 21:58
bug.ll
define internal fastcc void @main() unnamed_addr addrspace(1) #1 {
bb0:
%0 = alloca i64, align 1
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i64, align 1
%4 = tail call addrspace(0) i8 asm sideeffect alignstack "ldi ${0}, 123", "=&r,~{sreg},~{memory}"() #4
store i64 12, ptr %3, align 1
call addrspace(0) void asm sideeffect "", "r,~{memory}"(ptr nonnull %3) #4
%_4 = load i64, ptr %3, align 1
{
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs/nixos-unstable";
};
# Recent nixpkgs known to work with pcloud:
nixpkgs-pcloud-base = {
url = "github:nixos/nixpkgs/a575c243c23e2851b78c00e9fa245232926ec32f";
};
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Amy</title>
</head>
<style>
html, body {
background: #282828;
use core::fmt::{self, Write};
use rand::{seq::SliceRandom, Rng};
use yew::prelude::*;
#[derive(Debug)]
struct App {
players: [Player; 4],
cards: Vec<Card>,
turn: usize,
revealed: bool,
@Patryk27
Patryk27 / emacs-synchronized-updates.patch
Created October 6, 2021 18:58
emacs-synchronized-updates.patch
diff --git a/src/term.c b/src/term.c
index 0858f81685..4e6c134acf 100644
--- a/src/term.c
+++ b/src/term.c
@@ -227,7 +227,14 @@ tty_reset_terminal_modes (struct terminal *terminal)
}
}
-/* Flag the end of a display update on a termcap terminal. */
+static void
{ config, pkgs, ... }: {
boot = {
kernelPackages = pkgs.linuxPackages_latest;
blacklistedKernelModules = [
"nouveau"
];
};
environment = {

Keybase proof

I hereby claim:

  • I am patryk27 on github.
  • I am patryk27 (https://keybase.io/patryk27) on keybase.
  • I have a public key ASBSf5L4-kAY6NtrT6tZDqRR6Y9ueWw_2OM0AtPGOPYZxQo

To claim this, I am signing this object: