Skip to content

Instantly share code, notes, and snippets.

View uunnxx's full-sized avatar
🏠
Working from home

バカです uunnxx

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am uunnxx on github.
  • I am uunnxx (https://keybase.io/uunnxx) on keybase.
  • I have a public key ASAHjTIkQmtkdWD49dkFpQpHCC9fHGjU-Lsl0hiSU3X6ggo

To claim this, I am signing this object:

@uunnxx
uunnxx / big-o.md
Created December 13, 2021 10:26 — forked from PJUllrich/big-o.md
Big-O Time Complexities for Elixir Data Structures

Big-O Time Complexities for Elixir data structures

Map [1]

Operation Time Complexity
Access O(log n)
Search O(log n)
Insertion O(n) for < 32 elements, O(log n) for >= 32 elements [2]
Deletion O(n) for < 32 elements, O(log n) for >= 32 elements
@uunnxx
uunnxx / rspec-syntax-cheat-sheet.rb
Created July 23, 2021 18:10 — forked from dnagir/rspec-syntax-cheat-sheet.rb
RSpec 2 syntax cheat sheet by example
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below)
module Player
describe MovieList, "with optional description" do
it "is pending example, so that you can write ones quickly"
it "is already working example that we want to suspend from failing temporarily" do
pending("working on another feature that temporarily breaks this one")

x64 NASM cheat sheet

Registers

64 bit 32 bit 16 bit 8 bit
A (accumulator) RAX EAX AX AL
B (base, addressing) RBX EBX BX BL
C (counter, iterations) RCX ECX CX CL
D (data) RDX EDX DX DL

Keybase proof

I hereby claim:

  • I am uunnxx on github.
  • I am uunnxx (https://keybase.io/uunnxx) on keybase.
  • I have a public key whose fingerprint is 924D 5CF8 2915 98DB 28FC 020F 9C8B 4591 700E 6532

To claim this, I am signing this object:

@uunnxx
uunnxx / one-liners.md
Created August 20, 2019 18:52 — forked from KL-7/one-liners.md
Ruby one-liners

One-liners

Reverse every line:

Input file:

$ cat foo
qwe
123

bar