Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Blog Pricing

Valentino Stoll

๐Ÿ‘ค Speaker
700 total appearances

Appearances Over Time

Podcast Appearances

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

So I don't know if anybody else here has a gem RC that doesn't include documentation when you install gems because it takes longer. I used to have that. Dash, dash, dash. Yeah. So I have turned that back on now because it's so great to see, you know, tab, tab. How does this method work? I use that all the time now.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

So I don't know if anybody else here has a gem RC that doesn't include documentation when you install gems because it takes longer. I used to have that. Dash, dash, dash. Yeah. So I have turned that back on now because it's so great to see, you know, tab, tab. How does this method work? I use that all the time now.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

Yeah, it's also, you know, if you use a higher level, like, documentation app, right, which has some nice things as well. Like, I use Dash as an example. But it has some drawbacks in that you have to know what you're looking up. And so it's nice having it in the direct context that you're in without having to go, okay, let me go to this other app, you know, look up this context, this method.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

Yeah, it's also, you know, if you use a higher level, like, documentation app, right, which has some nice things as well. Like, I use Dash as an example. But it has some drawbacks in that you have to know what you're looking up. And so it's nice having it in the direct context that you're in without having to go, okay, let me go to this other app, you know, look up this context, this method.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

Right. I don't pay for the Dash. I just wait for it to load.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

Right. I don't pay for the Dash. I just wait for it to load.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

Sure.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

Sure.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

I have a thing with lightning bolts. My starting prompt is a lightning bolt. It tells me I'm in IRB. That's kind of nice. I used to, for the longest time, use... There's a Oh My Zosh theme that has a cloud.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

I have a thing with lightning bolts. My starting prompt is a lightning bolt. It tells me I'm in IRB. That's kind of nice. I used to, for the longest time, use... There's a Oh My Zosh theme that has a cloud.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

And when you have changes in your Git repository or in whatever repository you're working with, it'll show a lightning bolt to tell you that there's changes made so you know whether you're in a clean state or not. So it's just fun. That's cool. It was kind of interesting making the custom prompt because I was just, you know, playing with it, seeing what you could do.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

And when you have changes in your Git repository or in whatever repository you're working with, it'll show a lightning bolt to tell you that there's changes made so you know whether you're in a clean state or not. So it's just fun. That's cool. It was kind of interesting making the custom prompt because I was just, you know, playing with it, seeing what you could do.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

And so I had actually picked up the quoting. So when you're in different modes in IRB, so example, like in a string and you have a string open in line that basically has a signal to IRB to style it differently. And so, you know, I wrapped it in the quotes icon So that like an emoji quotes, which was kind of interesting to use on a regular basis for a while.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

And so I had actually picked up the quoting. So when you're in different modes in IRB, so example, like in a string and you have a string open in line that basically has a signal to IRB to style it differently. And so, you know, I wrapped it in the quotes icon So that like an emoji quotes, which was kind of interesting to use on a regular basis for a while.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

I definitely will be using some emojis in my prompt for a while now. Nice. I was trying to figure out how to get an X wing on there.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

I definitely will be using some emojis in my prompt for a while now. Nice. I was trying to figure out how to get an X wing on there.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

Sure. I had dealt with IRB customizations for a long time. So I was familiar at least with the notion of IRB RC and being able to kind of customize small things. But I didn't know the extent at which you can do it. Like probably another topic of conversation or blog post is that the history itself of IRB and even kind of save those histories as files.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

Sure. I had dealt with IRB customizations for a long time. So I was familiar at least with the notion of IRB RC and being able to kind of customize small things. But I didn't know the extent at which you can do it. Like probably another topic of conversation or blog post is that the history itself of IRB and even kind of save those histories as files.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

So you could, in essence, and that's kind of where I'm going to go next with some of our servers, is to customize the IRB session per user so they all have their own history, especially when you deal with a shared server setting. You run into a lot of, oh, you hit up a few times and You're scrolling through somebody else's history that's sharing the session with you.

Ruby Rogues
The Hidden Gems of Ruby - RUBY 651

So you could, in essence, and that's kind of where I'm going to go next with some of our servers, is to customize the IRB session per user so they all have their own history, especially when you deal with a shared server setting. You run into a lot of, oh, you hit up a few times and You're scrolling through somebody else's history that's sharing the session with you.