Skip to content

Instantly share code, notes, and snippets.

View compscitwilight's full-sized avatar

Rust compscitwilight

  • Earth
View GitHub Profile
@ThomasBurleson
ThomasBurleson / refactor_6.md
Last active June 17, 2024 23:17
Best Practices: Using Permissions as BitFlags

💚 Best Practices: Use Permissions as BitFlags

Developers often miss the opportunity to express permissions as a collection of enumerated bitflags; where complex permissions can be easily grouped by context.

Consider the scenario where a user may have 30 or more permission flags.


Improved Version 😄:

@deekayen
deekayen / 1-1000.txt
Last active February 12, 2025 09:22
1,000 most common US English words
the
of
to
and
a
in
is
it
you
that
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active February 28, 2025 14:14
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname