Skip to content

Instantly share code, notes, and snippets.

View xacrimon's full-sized avatar

Joel Wejdenstål xacrimon

View GitHub Profile
@xacrimon
xacrimon / to_errno.asm
Created January 30, 2025 08:40
with my rustc patch that's almost ready for review
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 11, 0
.globl _to_errno
.p2align 2
_to_errno:
Lfunc_begin0:
.cfi_startproc
// /Volumes/Q/repos/rust/library/core/src/slice/mod.rs : 2113
if mid <= self.len() {
sub x8, x1, #28
@xacrimon
xacrimon / 100mn
Created January 6, 2025 17:28
100mn based loki
[Loki, eeee]
Caldari Navy Ballistic Control System [1]
Dark Blood Power Diagnostic System
Pithum A-Type Multispectrum Shield Hardener
Dread Guristas Warp Disruptor
Pithum A-Type Medium Shield Booster [2]
Federation Navy Stasis Webifier
Pithum A-Type Multispectrum Shield Hardener
[Loki, eeee]
Caldari Navy Ballistic Control System
Dark Blood Power Diagnostic System
Pithum A-Type Multispectrum Shield Hardener
Dread Guristas Warp Disruptor
Pithum A-Type Medium Shield Booster [1]
Federation Navy Stasis Webifier
Pithum A-Type Multispectrum Shield Hardener
@xacrimon
xacrimon / fit
Created December 23, 2024 19:43
[Loki, eeee]
Caldari Navy Ballistic Control System
Dark Blood Power Diagnostic System
Pithum A-Type Multispectrum Shield Hardener
Dread Guristas Warp Disruptor
Pithum A-Type Medium Shield Booster [1]
Federation Navy Stasis Webifier
Pithum A-Type Multispectrum Shield Hardener
;
; klocka.asm
;
; Created: 26/11/2024 12:38:41
; Author : Joel Wejdenstål
;
.macro PUSHZ
push ZH
push ZL
.equ N = 30 ; Antalet toncykler som utförs per morse-tidsenhet.
.equ T = 20 ; Cykeltiden på tonen, invers relation till frekvens.
ENTRYPOINT:
; Sätt stackregister
ldi r16, HIGH(RAMEND)
out SPH, r16
ldi r16, LOW(RAMEND)
out SPL, r16
with Ada.Text_IO; use Ada.Text_IO;
procedure First_Program is
begin
Put_Line("Placera ett X inuti den/de ""[ ]"" som motsvarar korrekt(a) alternativ om inte annat");
Put_Line("anges. Det kan finnas flera korrekta alternativ.");
New_Line;
Put_Line("Vad är sant av nedanstående?");
* factor an arbitrarily large positive integer
*
* Copyright (C) 1999 by Brian Raiter
* under the GNU General Public License
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-
*
* read in the number
*
#include <benchmark/benchmark.h>
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <utility>
#include <vector>
```sql
CREATE OR REPLACE FUNCTION get_access_path(
p_column_filter TEXT DEFAULT NULL,
p_value_filter TEXT DEFAULT NULL
)
RETURNS TABLE
(
"user" bivar[],
user_user_group bibi[],
user_group bivar[],