- 18
- 84 711
nixhero
เข้าร่วมเมื่อ 2 ก.ย. 2023
Mostly programming. Meme sometimes.
The SSH flag you never used
Have you ever used capital g flag for ssh command?
It's a pretty useful flag, especially if you're doing ssh config related shell scripting.
Find out what the flag does, in this video.
#linux #programming #software #shellscripting
It's a pretty useful flag, especially if you're doing ssh config related shell scripting.
Find out what the flag does, in this video.
#linux #programming #software #shellscripting
มุมมอง: 359
วีดีโอ
Lobotomy Kaisen: React.js
มุมมอง 196วันที่ผ่านมา
As the strongest frontend library of nowdays won the battle against strongest frontend library in the history, jquery asked react. are you strongest because you are react? or are you react because you are the strongest? react replied. stand proud you're strong, but no matter how many frontend libraries you see on internet, always bet on react. after react finished him off with his domain expans...
Unix Job Control in 100 seconds
มุมมอง 49714 วันที่ผ่านมา
Did you know that we can run multiple command within a single shell? Unix Job Control allows a shell to have multiple background jobs. You can also pause and resume a job (command). In this video, we will walk through all we can do with Unix Job Control, with some useful tricks. #linux #programming #software #100secondsofcode
Javascript Mewing
มุมมอง 1.7K2 หลายเดือนก่อน
Node.js is a cross-platform, open-source JavaScript runtime environment that can run on Windows, Linux, Unix, macOS, and more. Node.js runs on the V8 JavaScript engine, and executes JavaScript code outside a web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting. The ability to run JavaScript code on the server is often used to generate dyn...
Git Branch Protection in 100 seconds
มุมมอง 1.3K2 หลายเดือนก่อน
Ever wondered how git servers (GitHub, GitLab, Gitea) implements branch protection? It's implemented using git server side hooks. In this video, we will explore what kind of protection rules can be made on server side hooks. Also we will implement minimalist http basic authentication to enable user based rules on server side hooks. References: git-scm.com/book/en/v2/Customizing-Git-Git-Hooks gi...
Making Minimalist Git HTTP Server
มุมมอง 3K2 หลายเดือนก่อน
You might be thinking that creating remote (repository) git server via HTTP is something that requires a lot of efforts. But actually it's not. In this video, we will implement minimalist git HTTP server with only 0.8 KB of javascript and Node.js. Related videos: th-cam.com/video/xCiBARrItSg/w-d-xo.html Playlist: th-cam.com/play/PLx4RVX7j5duRKNwFg-N-VV9LarFKS_TbY.html th-cam.com/play/PLx4RVX7j5...
Unix Named Pipe in 100 seconds
มุมมอง 6K2 หลายเดือนก่อน
If you are not doing bidirectional communication between process, you might want to use unix named pipe (fifo) instead of unix domain socket. It's really just like read and write on a regular files. We can even easily write to unix named pipe using x86 assembly. Related videos: th-cam.com/video/1UHaR54i3ak/w-d-xo.html th-cam.com/video/BxbHGHWldoU/w-d-xo.html th-cam.com/video/-WP_BIiVBo4/w-d-xo....
Unix Socket HTTP in 100 seconds
มุมมอง 6K2 หลายเดือนก่อน
HTTP typically runs on top of TCP. But nothing prevents you from using Unix Domain Socket instead. Let's see how we can use HTTP-over-UDS to build server & client, run a test, and deploy it using reverse proxy. Related videos: th-cam.com/video/1UHaR54i3ak/w-d-xo.html th-cam.com/video/BxbHGHWldoU/w-d-xo.html th-cam.com/video/tPMmazzn5tM/w-d-xo.html Playlist: th-cam.com/play/PLx4RVX7j5duSckqPjl2b...
Unix Domain Socket in 100 seconds
มุมมอง 56K3 หลายเดือนก่อน
Do you run TCP for IPC on a single machine? Running out of TCP ports? You might want to try Unix Domain Socket instead. In this video We will see how to use unix domain socket with Node.js, and also pros and cons of Unix Domain Socket compared to TCP. Related videos: th-cam.com/video/BxbHGHWldoU/w-d-xo.html th-cam.com/video/-WP_BIiVBo4/w-d-xo.html th-cam.com/video/tPMmazzn5tM/w-d-xo.html Playli...
You might not need HTTP
มุมมอง 9K3 หลายเดือนก่อน
HTTP runs on top of TCP. So if we are doing simple RPC, do we need HTTP? Can we just use TCP? Let's find out. Related videos: th-cam.com/video/1UHaR54i3ak/w-d-xo.html th-cam.com/video/-WP_BIiVBo4/w-d-xo.html th-cam.com/video/tPMmazzn5tM/w-d-xo.html Playlist: th-cam.com/play/PLx4RVX7j5duSckqPjl2bGhZhSDkWmbx2s.html #webdevelopment #computerscience #networking #javascript #nodejs #https #http #tcp...
Download anything with nix using fetchurl function
มุมมอง 2335 หลายเดือนก่อน
Download anything with nix using fetchurl function
Hello World Nix derivation using Nix Flakes [nix build]
มุมมอง 1085 หลายเดือนก่อน
Hello World Nix derivation using Nix Flakes [nix build]
Run Node.js with Nix Flakes (nix develop)
มุมมอง 1105 หลายเดือนก่อน
Run Node.js with Nix Flakes (nix develop)
Install Node.js in Nix virtual environment
มุมมอง 1045 หลายเดือนก่อน
Install Node.js in Nix virtual environment
Set default app with home-manager + NixOS
มุมมอง 1728 หลายเดือนก่อน
Set default app with home-manager NixOS
Faster browsing with Qutebrowser's search engine config (with nix + home-manager)
มุมมอง 3739 หลายเดือนก่อน
Faster browsing with Qutebrowser's search engine config (with nix home-manager)
damnn.... i didnt understand anything
Last sentence hits hard
Literally the reason react is still alive
lmao
In the next episode: React is dead and his body is taken over by Next.js
Learned something but I don't know will I ever use it or not. lol Just use multiple session in tmux
Just open 2 terminals LOL 😂
Super neat stuff!
very good content, thanks
What if I provision a TLS through PKI or a local root CA ? Then can the traffic be routed through port 443 ?
Socket files can run entirely in memory! Crazy `> find / -type s ` is super helpful
Is it used in real life? PHP-FPM makes heavy use of Unix Domain Sockets. Most databases use them as well. If you’re running a website on a single system I am pretty sure Unix Domain Sockets are involved somewhere.
Great video! Btw what do you use for the slides?
Every time I see this thumbnail I click into this video. It is on par with the quality of the contents
I was liking this video until you said the example in JS...
why i just found you!!!!! THIS VIDEO IS GREAT TRICK FOR CORPO LIKE GITHUB HAHA
Linus Torvalds domain expansion is Linux.
I'm in tears
gud
MySQL also use Domain sockets
insane thumbnain lmaoi
nice vid. Subbed
Yes, it supported under Windows, but only as a wrapper around named pipes. For most software this slight overhead is unnoticeable, but if you need to squeeze every last drop of performance, you'd might want to use named pipes directly. But than again, if this communication is the bottleneck of your application, you already have most likely already made some bad design decisions earlier. Usually IPC is used to communicate from a user-space front-end utility to a background service/daemon process, but in some cases it also used for communication between forked processes...
In Windows, it's not available to non-insiders.
Why the GenZ call-out?
1:36 One Piece ftw
Under rated content
Not the domain expansion 😭 it's perfect
nodejs jaw line is insane
Which theme are you using?
Why da fock are you writing socket shit in js
Anyone have a comparison of the throughput difference between domain and TCP sockets, when both processes are running on the same machine?
This is both idiotic and genius.
It’s that easy to use Unix pipes?? And here I am using a whole-ass server like a sucker.
I wonder which other programs you might want to add to that development environment
Wow Sun Tzu really was ahead of his time :P
I have a project on github that uses socket servers. Made it years ago
make a discord so i can annoy you when im bored
can u please show? how u make those video?
10/10 thumbnail
I keep watching this even though I’ve already known what a UDS is. For the thumbnail.
I think it's valuable going over the rest of the list and some further reasons why you would want this over another. It seems half done, really.
Bruh I've been searching for this for a week now
"No bloat" Proceeds to use nodejs
What do you use for terminal ascii art?
why is it just plain black?
I don’t know enough about Node.js to say this for sure, but at least in C TCP sockets, you have to also deal with the fact that sometimes messages are encoded across multiple chunks, meaning you have to build you own buffers and the like. HTTP libraries generally abstract this for you. If you want something you described, I think that ZeroMQ is a much better system. That still has almost no overhead over raw TCP sockets, but handles that chunking and the like for you.
Nice content, keep bringing it, please!
Linus Domain expansion : sudo rm -Rf. Not even Sukuna can counter this.🤣
The domain expansion thumbnail is the only reason I clicked on this. And I'm glad I did.