Skip to content

Instantly share code, notes, and snippets.

https://docs.google.com/presentation/d/1OefcV5-SAYnXD2f3-7hqYl9ny7j_NK_tYFJUqOOUIYw/edit?usp=sharing
@Traydr
Traydr / using-gitkraken-and-1password.md
Last active October 20, 2023 11:07
Using gitkraken and 1password for ssh signing

Using gitkraken and 1password for ssh signing

Ive only needed to do this for windows, linux worked basically immediately out of the box.

Gitkraken

  • Settings
    • SSH
      • Use local ssh agent: yes
  • Integrations

A Pseudo Code of a Recursive quicksort

This might not be correct python code, but the highlighting in my editor is nice for this.

# Inputs:
# array[] -> the array to sort
# start -> first index of the array e.g. 0 in this case
# end -> last index of the array e.g. array.length - 1
@Traydr
Traydr / git-cheatsheet.md
Last active December 18, 2022 22:20
Useful git commands

To remove files that are in the repo, but are excluded in .gitignore

git rm -r --cached .
@Traydr
Traydr / multiplication.asm
Created October 23, 2022 14:31
Assembly multiplication for atmega168
.device atmega168
ldi R17,$5 ; Input 1
ldi R18,$6 ; Input 2
ldi R16,$0
loop: SBRC R18,0
add R16,R17
lsl R17
lsr R18
brne loop