@@Fireship Hello, I am learning Devops and I see you were taking recommendations. Can you make these in 100 sec or more: Ansible Jenkins Puppet Chef & other devops tools. Thanks
Be careful NOT to upload the .ssh dir to a public repo. This directory contains the ssh config file and private keys for logging into remote machines (Webservers etc.). If they would be public anyone could log into those machines and possibly get root access.
@@spell105 incorrect, failing to have these files backed up to an external source is, well, let's not beat around the bush it's bloody stupid. You *_should_* upload them to other places, but only to places you directly control and can ensure are secure. Frankly I wouldn't upload or backup *_anything_* I care about to an external service I don't manage. Some people mitigate this by only uploading encrypted copies, meaning the external service provider never gets an unencrypted version of any of your data, and that can be good for an offsite backup, but personally even that feels like flying a bit close to the sun if you ask me. Another thing you should do if you care about security is put passwords on your SSH keys, so even if the keys get leaked they're still not usable. Alternatively you can buy a hardware security key and store keys on that instead, with the keyfiles only referencing the true resident keys stored on the hardware-key. Unfortunately as far as I understand it FIDO2 is not quantum safe so there is an arguable hit to your security if you go that route. To be clear, chances are you will never have someone attacking you via quantum cracking, but it *_is_* a weakness and there is already strong evidence that governments are following a "store now, decrypt later" approach. If quantum computers continue to improve at the same rate classical computers did, that *_does_* mean that, eventually, your data may be forcefully decrypted. Personally though I'd argue the benefit of using a FIDO2 resident key is that you can setup your SSH config to first require a resident key *_then_* require a password. This should mitigate the weakpoints of both while keeping the security layered so that if one is compromised the other should remain secure. Granted though, I'm not all that savvy when it comes to the nit and grit of cryptography so take that advice as exactly what it is; the ramblings of a jackass in a youtube comment section's replies.
You can use stow to do this very efficiently. You can even make a script running stow on every folder/file in your ~/.dotfiles folder and it will do the work for you.
@@olirules1074 Even that is questionable. For example, the whole point of a hashed known_hosts file (which itself should probably not included in a public repository) becomes moot when your config file contains all those host names in the open.
I was watching videos about git bare repos and storing dotfiles 2 days ago and here you are! Great timing! The bare repo way looks more elegant to me (no ln links). I'll try them both now
Exactly what I was wondering the whole video. Bare repos are really objectively better. You don't move files to other folders just commit them whey they live naturally.
Lots of good stuff here. I did start the Udemy course, but never finished - work and other stuff gets in the way (coding is something I do for fun, not my job, though I'm hoping to do more n ow that I am working part time, transiationing to retirement) -- I'll be sure to go back and finish the course!
Dotfiles in 100 seconds. Hmm. More like dotfiles in 524 git commits and 3 years. I wish I could create my dotfiles in 100 seconds. Thanks for this content. Will be super helpful to people who don't know about them. See you soon!
Two points I'd make: First, it's a fantastic video and tutorial. Setting a git repository for one's dot files and dot directories will be so helpful for 1) the personalization of a rofi configuration. I spent over 2 hours getting rofi to work on a new machine as I had configured it on the first, and 2) it could be helpful for creating all the suggested subvolumes in btrfs, and 3) it could help with moving and symbolically linking Desktop, Documents, Pictures, Movies, Downloads, Templates, etc.from /home/user56 to /data/Users/user56/" on that separate partition as is suggested by tge folks who brilliantly work on siduction. See siduction manual about moving home.
The video was great. And the symlink approach is revealing, I'll definitely use it. Thanks! But the guy explaining it looks like he comes directly from Krypton!! 😂
dotfiles are files with a . at the beginning, that's the basic and short answer, they are usually pre made as configurations for your PC, and are hidden from some operating systems.
chocolatey is really good. But it obviously doesn't contain everything you might need. And if you want to install something not to default location, you might have troubles (idk, I didn't try that)
For future people wanting to know, Microsoft is developing it's own package manager called winget. It still in development, but the official repository teaches how to already install it. In time, this will come installed as default on Windows (that already is the case in Windows 11).
Winget has been in development way too long. Last I checked, it was little more than a wrapper around your existing software installers, and didn’t even handle library packages. What’s the bet Microsoft will lose interest and give up, as it has so many times before?
One of these days I'll be bothered to make an install script for when I reinstall my OS. I'm pretty sure that that day will be the last time I need to install my OS for the next ten years though.
THANK YOU SO MUCH. I have a repo just like this but could not figure out what to do with dot files needing to be in two locations at once. SYM LINKS. Thanks !! 🙏🏼🙏🏼🙏🏼
I keep my screenshots in a ~/Desktop/.mydotfiles/Screenshots folder, pinned to my file explorer. Dotfiles are so useful. I have several other folders like that.
Make sure to check out Patrick's course, I learned at bunch of cool tricks from it bit.ly/3anaaFh
Sure! Hopefully I'll learn more cool tricks than you!
I will not ruin the 69 sorry
this guy who is the tutorial instructor has very bad voice and it looks like it's not his own
"RUclips meet course" -> MASH SKIP AD EXTRA HARD
The best thing about 100 second videos is taking the opportunity to listen to topics you might have ignored. This is a perfect example.
13:53
This is what Siri’s voice should sound like.
Lmao
lol
Sounds like Siri but Obama
Preach
Sounds like lord gaben recording the tutorial
Not the video we think we wanted, but the video we need
I love how he talks to us like we're mentally challenged. Really needed that to understand some of this topics
What do you mean 'like'?
we are tho 😂💀🤣🤦👏🤓💯♿🔥🗿🤯🫡😖🧢
"To *git* started", i heard that
😂💀🤣🤦👏🤓💯♿🔥🗿🤯🫡😖🧢
Imagine Patrick saying "In a World..."
No kidding his voice is like those old school no BS narrators.
ruclips.net/video/IBgH2Q7x_Bk/видео.html
Nicely done
hm
@@Fireship
Hello,
I am learning Devops and I see you were taking recommendations.
Can you make these in 100 sec or more:
Ansible
Jenkins
Puppet
Chef
& other devops tools.
Thanks
I haven't thought of having my own dot files repo before. Thanks for this realization and another lesson!
Love how you're combining the short videos with the long. Best of both worlds.
Be careful NOT to upload the .ssh dir to a public repo. This directory contains the ssh config file and private keys for logging into remote machines (Webservers etc.). If they would be public anyone could log into those machines and possibly get root access.
You should not upload such information period.
@@spell105 incorrect, failing to have these files backed up to an external source is, well, let's not beat around the bush it's bloody stupid. You *_should_* upload them to other places, but only to places you directly control and can ensure are secure. Frankly I wouldn't upload or backup *_anything_* I care about to an external service I don't manage. Some people mitigate this by only uploading encrypted copies, meaning the external service provider never gets an unencrypted version of any of your data, and that can be good for an offsite backup, but personally even that feels like flying a bit close to the sun if you ask me.
Another thing you should do if you care about security is put passwords on your SSH keys, so even if the keys get leaked they're still not usable. Alternatively you can buy a hardware security key and store keys on that instead, with the keyfiles only referencing the true resident keys stored on the hardware-key. Unfortunately as far as I understand it FIDO2 is not quantum safe so there is an arguable hit to your security if you go that route. To be clear, chances are you will never have someone attacking you via quantum cracking, but it *_is_* a weakness and there is already strong evidence that governments are following a "store now, decrypt later" approach. If quantum computers continue to improve at the same rate classical computers did, that *_does_* mean that, eventually, your data may be forcefully decrypted. Personally though I'd argue the benefit of using a FIDO2 resident key is that you can setup your SSH config to first require a resident key *_then_* require a password. This should mitigate the weakpoints of both while keeping the security layered so that if one is compromised the other should remain secure. Granted though, I'm not all that savvy when it comes to the nit and grit of cryptography so take that advice as exactly what it is; the ramblings of a jackass in a youtube comment section's replies.
Is it just me or does 100 seconds get longer each episode?
Is to avoid RUclips demonetization of short videos.
is it just me or is this video getting kinda thicccccccc
@@shashidhar71 oh, that's where generosity comes from
1000 seconds now
Good
A quick intro to Vim would be a good fit for a 100 seconds video -- what do you think?
I think we would need beyond 100 seconds version for vim
It's likely gonna be 99 seconds of how to exit vim ^^
I totally feel you
He sounds like nineties ads voice over
12:36 a good tool to symlink everything is Stow
with dootfiles in ~/my_git_repos/dootfiles :
1. cd ~/my_git_repos
2. stow -v -R -t ~ dootfiles_folder
Dropping a like before I watch this video, 'cause I already know it's going to be good!
This godlike voice of Patrick made me feel so safe...
You can use stow to do this very efficiently. You can even make a script running stow on every folder/file in your ~/.dotfiles folder and it will do the work for you.
.ssh folder MUST NOT be on github for safety reasons!
Yeah only the config stuff should be there
@@olirules1074 Even that is questionable. For example, the whole point of a hashed known_hosts file (which itself should probably not included in a public repository) becomes moot when your config file contains all those host names in the open.
also need the .passwd file in there
Ending every line of bash with a semicolon is the most soydev thing I've ever seen, I'm proud of you, Jeff!
Haha, it's his fault 👉 github.com/mathiasbynens/dotfiles
1:53 I though it was some kind of intro for Patrick
In all honesty, this is a really cumbersome approach. A bare repo is the way to go.
I used to just use a bare repo before, but restoration wasn't smooth. I've moved back to using stow.
This was surprisingly valuable. Thank you Jeff and company.
Using git and dotfiles in this way is something that never occurred to me. Thanks for the enlightenment!
Thank you Fireship and Patrick for this fantastic tutorial! Made everything so easy.
JESUS CHRIST I finally understand symlinks now. I can rest in peace.
I LOVE the 100s series. Please keep making them!!
I was watching videos about git bare repos and storing dotfiles 2 days ago and here you are!
Great timing!
The bare repo way looks more elegant to me (no ln links).
I'll try them both now
Exactly what I was wondering the whole video. Bare repos are really objectively better. You don't move files to other folders just commit them whey they live naturally.
@@WojciechFrancuzikwhat are bare repos? Can you recommend me a good one to try?
this beyond 100 seconds video is beyond my expectation!
didn't realise soydevs knew what dotfiles where!!!!!
I like Jeff's content but I agree, he's a soydev.
Mom, I'm sorry, but you don't understand, he put my argument under an image of a soyjak, I have to kill myself
*were, Zing Fail.
just wait until you see my vim skills
@@Fireship vim in 100 seconds when?
Great video! The tutorial at the end was so helpful, I might even try out that course
Awesome video as always sir! Would love to see more of these 💖💖💖
Lots of love
Patrick can sing any rap song and make it sound church friendly.
Came for dotfiles
Stayed for Patrick's voice
this is a win-win, we get 100 seconds videos with longer videos for yt algorithm
Patrick sounds like professional voice over guy!
Ive done this in other ways but just never connected the dots to do this with system file. Simple and usual. Thanks!
Lots of good stuff here. I did start the Udemy course, but never finished - work and other stuff gets in the way (coding is something I do for fun, not my job, though I'm hoping to do more n ow that I am working part time, transiationing to retirement) -- I'll be sure to go back and finish the course!
love this format! keep cracking that RUclips algorithm!
Dotfiles in 100 seconds. Hmm. More like dotfiles in 524 git commits and 3 years. I wish I could create my dotfiles in 100 seconds. Thanks for this content. Will be super helpful to people who don't know about them. See you soon!
Indeed. The course is already 4+ hours and I have a ways to go.
With RCM, you can create them in a minute
Oh my god this dude's voice, is soooo pleasing
Patricks voice though 🤤
Two points I'd make:
First, it's a fantastic video and tutorial.
Setting a git repository for one's dot files and dot directories will be so helpful for
1) the personalization of a rofi configuration. I spent over 2 hours getting rofi to work on a new machine as I had configured it on the first, and
2) it could be helpful for creating all the suggested subvolumes in btrfs, and
3) it could help with moving and symbolically linking Desktop, Documents, Pictures, Movies, Downloads, Templates, etc.from /home/user56 to /data/Users/user56/" on that separate partition as is suggested by tge folks who brilliantly work on siduction. See siduction manual about moving home.
This new twist to the 100sec format is awesome :)
Love your content!! Please make a whole series on web dev. Love from INDIA!!
Thanks for the help on setting dotfiles up! This really helped me.
This is the ultimate procrastination task
I'll try automating the installation process on my Mac before purchasing a new one. Thanks for the video.
I'm gonna use symlinks too now! Thanks a lot both of you 😃
Symlinks are cool, but there are solutions to help you automate that part. I use Dotbot in the course.
Patrick's voice is like those 90's commercials
So many things I enjoyed about this video. Ty!!
Was about to save this on watch later, then I was like "wait this is only a 100s"
The video was great. And the symlink approach is revealing, I'll definitely use it. Thanks! But the guy explaining it looks like he comes directly from Krypton!! 😂
Great Video! I love the collaboration, a sign of a healthy community.
This is awesome! Didn’t even think of it, my dot files are a disaster right now.
wait, why do I feel like it's more than 100 seconds?
You're listening at high speed so everything seems like slow motion, that's why.
cause this one also goes beyond 100 seconds after explaining it in 100 seconds
because it is
yoooooo why patrick voice is soo damn good
And they said "Avengers" was best superhero collaboration!
This collab was fire
9:37 - Exiting Vim, LOL... So true. :)
dotfiles are files with a . at the beginning, that's the basic and short answer, they are usually pre made as configurations for your PC, and are hidden from some operating systems.
For managing dotfiles, I use yadm package on Linux, which is way easier
I tried yadm, but I like GNU stow better for the way I manage my repo and the minimalist approach
@@leonamer4054 I will have a look at it
Such a super creater i found on RUclips
I’m late but, A Boyz n’ the hood reference and on the first day of black history month? Well done, my friend. 👌🏾
Environment variables next please
The Only One Chanelle for developers
Quality 🔥🔥🔥....
This is quality content
What is that music playing starting at 13:16? I've heard it in some of your other videos too, and it's amazing!!
Uploads .env to github
** instantly regrets it
Not actually 100 Seconds but it still worth anyone's time.
I think Patrick needs a beer!
@0:40
I think it's time for projects to have .dot/ directory where all dot files could be put.
Otherwise project root dirs are too unwieldy.
His voice reminds me of the legendary commercial voices in 70s
"It will take you more than half an hour to exit Vim" 😂
Oh my, thanks for the ⌘⇧.
I had no idea that shortcut exists. It's not even in the menu!
You can use bare repo for managing the dotfiles it is much easier and you can create an alias to command to do commit add push ... that's what I do!
Me: Hey! Duke Nukem, what are you up to these days?
Duke Nukem: I'm giving online courses
Me:😲
Damn, how do you create those stunning animations? 😍
But their is security risk if someone but hands on like some sensitive file like .ssh
You can just leave .ssh out of the git repo
Legend says this is going to be the next voice of Jarvis
A lot of the time you can literally just copy them over... it's amazing just how much of, say, a Linux DE, is contained in the dot files alone.
Me using i3 and litterally just copying .config/i3 over and have ererytging like I want it
What would be the best equivalent of brew in Windows? I've seen a lot about Chocolatey, but I know nothing about it
chocolatey is really good. But it obviously doesn't contain everything you might need. And if you want to install something not to default location, you might have troubles (idk, I didn't try that)
For future people wanting to know, Microsoft is developing it's own package manager called winget. It still in development, but the official repository teaches how to already install it. In time, this will come installed as default on Windows (that already is the case in Windows 11).
Winget has been in development way too long. Last I checked, it was little more than a wrapper around your existing software installers, and didn’t even handle library packages.
What’s the bet Microsoft will lose interest and give up, as it has so many times before?
Another option would be to use GNU Stow to manage your dotfiles.
"And if you're like me it will take you half an hour to figure out how to exit vim"
hahaha can relate
Is it me or he just really sounds like a god
I used to put ".gitignore" in .gitgnore to not ignore the other dot files . Now I know I can just simply leave empty the .gitignore. thanks ! 🙏
Awesome tips, thank you guys!
Sounds like the voice of those early 2000s HBO murder documentaries
And here was me thinking of making separate gists for each config file...
One of these days I'll be bothered to make an install script for when I reinstall my OS.
I'm pretty sure that that day will be the last time I need to install my OS for the next ten years though.
is it just me or is patrick secretly gabe newell in disguise
THANK YOU SO MUCH. I have a repo just like this but could not figure out what to do with dot files needing to be in two locations at once. SYM LINKS. Thanks !! 🙏🏼🙏🏼🙏🏼
I keep my screenshots in a ~/Desktop/.mydotfiles/Screenshots folder, pinned to my file explorer. Dotfiles are so useful. I have several other folders like that.
enrolled to the course on udemy. 👍
10:08 "Exit Vim in half an hour" is a Western "How does one patch KDE2 under FreeBSD?" )
Udemy course purchased 👍
Patrick needs to make videos on RUclips himself too 💪💪
Im using gists and share them between different os and places - home, work. But this solution is more elegant
Thanks, this video is super useful!
Any recommendation for bootstrapping a new windows?
Did you find anything for Windows?
Patrick looks like the Chad programmer default