's Avatar

@ttyrandom.bsky.social

Linux and Open Source.

29 Followers  |  189 Following  |  5 Posts  |  Joined: 09.11.2023  |  1.6499

Latest posts by ttyrandom.bsky.social on Bluesky


Post image Post image

πŸŽ‰We're celebrating 5 years of Tailscale! Read on for key lessons learned from half a decade of simplifying secure networking + enter to win one of five lifetime Personal Plus plans! Repost to win
πŸ‘‰ Read more tailscale.com/blog/5-thing...
πŸ—’οΈ Full rules here - tailscale.com/blog/5-thing...

03.04.2025 13:10 β€” πŸ‘ 85    πŸ” 67    πŸ’¬ 127    πŸ“Œ 48
Chris's Wiki :: blog/sysadmin/TcpdumpOnlyInOrOut

YA TIL tcpdump can just display incoming or outgoing traffic

Linux
-Q in
-Q out

BSD
-D in
-D out

utcc.utoronto.ca/~cks/space/b...

09.01.2025 09:21 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

TIL a handy way to diff two directories

git diff --no-index dirA dirB

dirA and dirB are not git repositories.

08.01.2025 17:36 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Making memcpy(NULL, NULL, 0) well-defined | Red Hat Developer C2y makes memcpy(NULL, NULL, 0) and other zero-length operations on null pointers well defined. This removes a source of bugs that may result in security issues.

TIL that following are UB and why it matters !

memcpy(NULL, NULL, 0);
memcmp(NULL, NULL, 0);
(int *)NULL + 0;
(int *)NULL - 0;
(int *)NULL - (int *)NULL;

from

developers.redhat.com/articles/202...

11.12.2024 15:01 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

TIL that you can create brave browser profiles with different configurations for same extensions. Allows one to have different VPNs for different profiles.

02.12.2024 07:33 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Need to remember to use unbuffered output to avoid headscratcher moments.

ag $patter $path | tee results.txt

scratch my head for results not appearing for a long time (buffered)

stdbuf -o0 ag $patter $path | tee results.txt

see the output as ag finds them

25.11.2024 13:54 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@ttyrandom is following 17 prominent accounts