Skip to content

Instantly share code, notes, and snippets.

View antaz's full-sized avatar
🐐
Raising baby goats for milk and cuteness.

Antar antaz

🐐
Raising baby goats for milk and cuteness.
  • NielsenIQ
  • Algiers, Algeria
  • 10:45 (UTC +02:00)
  • LinkedIn in/antrz
View GitHub Profile
{ pkgs, lib, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = "antr";
home.homeDirectory = "/home/antr";
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
@antaz
antaz / blaze_elo_testing.ipynb
Created September 12, 2024 00:45
blaze_elo_testing.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@antaz
antaz / throttle.rb
Created July 26, 2023 15:55
Throttle for IIRC
module IIRC
module Throttle
# ratio in seconds / messages
def throttle_ratio
1/1r
end
def time
@time ||= Time.now
end
@antaz
antaz / tagging.org
Last active March 21, 2023 15:45
Tagging files with Extended Attributes

Tagging files using extended attributes

Extended attributes

As described in xattr(7) extended attributes are name:value pairs associated with each file on the filesystem

Namespaces

in Linux the only supported namespace classes are security, system, trusted and user which is the most general of these.

@antaz
antaz / arabic.md
Last active February 20, 2023 21:17
Generate Arabic typeset PDFs from markdown with pandoc
lang babel-lang mainfont dir
ar
arabic
IBM Plex Sans Arabic
rtl

عنوان أول

الضروري بالولايات بريطانيا-فرنسا أن يبق. الخاطفة المؤلّفة المشتّتون أي جهة, حين ان شمال شموليةً. دار من ونتج يطول وبولندا. أصقاع بأيدي الفرنسية يبق تم. قد دون دخول قِبل الهجوم. عن بقعة وبعض وقامت بعد.

@antaz
antaz / UCI.md
Created February 18, 2023 21:52
Universal Chess Interface (UCI) Specification
Title Author Date
Universal Chess Interface Specification
blocr
Feb 18, 2023

Universal Chess Interface Specification

Introduction

The Universal Chess Interface (UCI) is a communication protocol used between chess engines and chess user interfaces (GUI). UCI was created and first release in November 2000 by Rudolf Huber and Stefan Meyer-Kahlen

@antaz
antaz / chess.org
Last active October 1, 2025 11:53
List of Chess Resources

List of Chess Resources

This list is not necessarily meant to be fully comprehensive, but just to shed the light on the piles of hidden resources for those who are interested in the game of kings

Servers

@antaz
antaz / lsm_avx2()
Created October 1, 2021 11:40
Level-Set Method vector implementation disassembly output
<oxidfract::lsm_avx2::h5baaa77574b30ab9>:
mov rax,rdi
vxorpd xmm0,xmm0,xmm0
mov ecx,0x3e8
vbroadcastsd ymm1,QWORD PTR [rip+0x2e47b]
vbroadcastsd ymm2,QWORD PTR [rip+0x2f02a]
vxorpd xmm4,xmm4,xmm4
vxorpd xmm3,xmm3,xmm3
vxorpd xmm5,xmm5,xmm5
vxorpd xmm6,xmm6,xmm6
@antaz
antaz / lsm()
Created October 1, 2021 11:39
Level-Set Method scalar implementation disassembly output
<oxidfract::lsm::h6d09fa2e1870eca3>:
xorpd xmm5,xmm5
xor eax,eax
movsd xmm2,QWORD PTR [rip+0x2f29a]
xorpd xmm3,xmm3
xorpd xmm4,xmm4
xorpd xmm6,xmm6
nop WORD PTR [rax+rax*1+0x0]
mov ecx,eax
lea eax,[rcx+0x1]