Skip to content

Instantly share code, notes, and snippets.

View zeehyt's full-sized avatar
🌞
Radler, beste Sommer-fling

Zidaan Hayat zeehyt

🌞
Radler, beste Sommer-fling
  • Decision Labs
  • Regensburg, Germany
  • 12:13 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am zeehyt on github.
  • I am zeehyt (https://keybase.io/zeehyt) on keybase.
  • I have a public key ASDzaF2Pv-6jEPmoJVvBcM8IVfDd_EJoLJ2m-oYIfkTCZwo

To claim this, I am signing this object:

@zeehyt
zeehyt / main.s
Created June 30, 2025 20:21
My Computer Systems assignment
.section .rodata
format_str:
.string "a=%d, b=%d, c=%d, d=%d, sum=%d\n"
.section .text
.globl main
main:
pushq %rbp
movq %rsp, %rbp
@zeehyt
zeehyt / ascii.py
Created October 30, 2024 15:37
Quick helper to get various numerical representations of ASCII characters
from sys import argv
def main():
if len(argv) <= 1:
print("Provide the character you want to find in the arguments like so: python3 ascii.py c")
return
char = argv[1]
dec_rep = ord(char)
@zeehyt
zeehyt / pi.zsh-theme
Last active May 4, 2025 22:54
custom version of a zsh theme https://github.com/tobyjamesthomas/pi
PROMPT=' ${return_status} %{$fg[blue]%}$(get_pwd)%{$reset_color%} $(git_prompt_info)${prompt_suffix}'
local return_status="%(?:%{$fg_bold[green]%}z:%{$fg_bold[red]%}z)"
local prompt_suffix="%{$fg[magenta]%}%{$reset_color%}"
# by shashankmehta (https://github.com/shashankmehta)
function get_pwd(){
git_root=$PWD
while [[ $git_root != / && ! -e $git_root/.git ]]; do

Keybase proof

I hereby claim:

  • I am zidaan-hayat on github.
  • I am zeehyt (https://keybase.io/zeehyt) on keybase.
  • I have a public key ASBArbwujOOkSruZZeV9eRtk33yWIiYrBUedgpHFhuFcPAo

To claim this, I am signing this object: