What and welcomed?
Wait, wait, wait.
Yeah.
OK.
OK. Hi, everyone. Welcome to our Thursday night master class.
Woohoo.
Great great showcase for what our interns are doing and.
I don't know the lineup because like I said, I'm walking on my
phone.
So it's great that you all came just to listen. And if you are
in intern, please make sure you're clocked in.
Get credit for your time.
And I will leave it to Marjorie transduce, the first contestant.
We have so the agenda tonight is James Norman. Then we have
Michael Celestin and then we have Edward Fernandez. So let's
start with James. Norman, come on down.
Alright, give me just a moment. I'll get my machine screen
shared here and we'll begin.
Any.
There is. You just want to get it so it'll share correctly
here.
I found out the other night. I cannot just stream my screen. I
have to actually load it through the.
Teams live PowerPoint viewer so.
Can you see my screen?
Yes, we can.
Yes.
Excellent. Alright. This evening I'm gonna talk about resume
cover letters, something we're many of us are gonna have to do
here. Coming up, as we look for a job.
So graduation is coming.
It's time to start searching for a career instead of a job.
What's the difference between a job and a career? A job is what
you do for money while a career is the long term endeavor. Being
worked on and built upon daily to.
Not only earn money, but improved your life.
So now that you found an interesting opportunity, it's
time to submit your resume. But don't forget your cover letter.
Now cover letters and resumes are not the same thing.
What's the difference? Well, your resume cover letter.
Your resume covers your educational, your work history,
and any certifications or any interesting facts, skills, or
information we wish to provide.
Whereas a cover letter shows what you know about the company,
what you know about the position.
Informing them why you're interested in the position.
Why you believe you are a good fit for the company in the
position and there is a little bit of discrepancy among my
sources. Some say highlight your key achievements, others say
don't because they're already on your resume. They want your if
they want your achievements, they can go to your resume.
You're trying to sell yourself without recovering your resume.
Otherwise it's.
Just a duplication.
So before you write your cover letter, do a little research on
the company, find out their history and what the company
does.
How long they've been in business, where they're located,
where they're headquartered? Do they have multiple sites?
Find out as much as you care about the company culture. Find
their code of ethics. Make sure you fit well within the company.
Second, you wanna find out who the hiring manager for the
position is. Sometimes it's listed on the job description,
sometimes it's not. I've called several locations and they are
always happy to provide you at the hiring manager's name.
Always address your cover letters directly to the hiring
manager. It shows a little bit of.
Ohh.
Little bit of stick to it in this and the fact you're willing
to look out there and see.
Who? The job manager is and find out. Gather a little more
information. This all ties together into presenting
yourself more clearly.
And then also look at their job description and compare to other
similarly titled job descriptions. While they may
have the same job description, jobs have completely different
descriptions based on company.
And that is one thing I've noticed. A cybersecurity analyst
ranges from.
Chest sights sign seems them.
Review through aspects of penetration testing management.
Tooling risk management. There is a wide variety of types and
cultures of positions out there, so you wanna look and see how
their job description compares to others in the industry so you
know exactly what you're getting into.
The cover letter should contain several things heading off with
your contact information, the address, your name, address,
telephone number, e-mail address, possibly also including
your.
LinkedIn Profile, Facebook profile or any other information
you're willing to share.
You want to then address it on the cover letter directly to the
hiring manager if you can.
This will be based on your research or the job description.
If you can't find the hiring manager.
You can always title it to the.
Umm.
Department manager or CIO. If you're looking for one of those
for a management role in the IT environment. So as I said,
there's a little discrepancy. Some people wanna highlight your
achievements, others say leave that to your resume.
So you can include that or not.
But you always want to show your interest in the company and the
and the position describing both.
Why you're interested in the company and why you're
interested in the position?
And also, how do you believe you'll fit within the company
culture? You know you're looking for a teamwork position.
Versus more of a silent position state. Hey, I I work great in
teams, so I really want to be in a team environment which I
understand your company offers.
Also then present your understanding of the position.
Thereby comparing it to something to other positions
within the industry so that everyone has a clear
understanding of what you believe you're looking for, what
you believe the company is looking for, and integrating the
two to mesh and make sure that everyone is on the same page.
Find finally, always include a conclusion.
With appreciation thanking them for their time to take to
consider your resume, your cover letter for their employment
position.
I have an example that's actually color-coded to this as
well. Let me switch screens here.
Just a second.
OK, so this is an example cover letter. I actually wrote it to
Marjorie, so you'll notice my contact information is at the
top of the screen.
Name, address, phone number, e-mail address.
Actually hidden behind here is my LinkedIn account.
As well.
Titled directly to the hiring manager with name, position and
address of the company and location where they're hiring
for.
The salutation directed at this person.
And then give your introduction.
Basically giving out what you believe the position is where
you found it, why you feel you be a great fit.
Moving on to expound upon how you believe you'll fit within
the company.
How you utilize your experience and everything to gain the stage
as a career?
Moving on to the job description here.
Giving some of the key points. Maybe this is where I would add
in my achievements, tying them back to the position they're
actually looking for, how I've achieved success in this type of
position before and finally the conclusion.
Taking the time to think them for reviewing your my resume and
cover letter and looking forward to the opportunity to speak with
them further for closing out with a simple thank you.
Bring again.
Great job.
So.
Thank you. Sorry.
All right. And that is my presentation for my. Any
questions, sorry, I went kind of fast there.
Well, that was great to have something like that on here.
Definitely because you know, everybody's gonna be coming to
that position here soon. When you graduate, you're looking for
something, even if it is within your company and you already
work there, maybe it's a different, you know, leader for
a different department or something like that. You still
want to make sure that you're writing cover letters with your
resumes to go to who that is, even within a company that
you're already familiar with. So this is great to have.
Definitely. To get a skill in that. That's good. Thank you.
The problem? Thank you.
OK, Next up.
Umm Michael celestin.
I'm going to do it this one. I'll be nice. That'll be fun.
Hello. Hi.
Good evening, everyone. Good. No pressure at all then.
No.
How's everyone doing tonight?
Didn't share my screen here.
Umm alright, so I'm going to go ahead and share my whole screen
cause be a lot of tabs switching so hopefully you can see
everything and hear me OK.
Umm, so tonight I'll be going over uh Raspberry Pi. Uh how to
turn it into a portable Wi-Fi router. And the cool thing about
this is that this once you complete this, you'll have
literally a router that you can take anywhere with you as long
as you have access to open free Internet and a power source and
you can connect to that free Internet securely.
Using a password encrypted and you can also set this up which
unfortunately I'm not going to go into tonight, but you can
also set this device up to go through VPN encrypted traffic as
well.
So the first thing you need to do is gather all your tools so
that some things you'll need. Here I have my Raspberry Pi
depicted here, and you'll need one. I chose the Raspberry Pi 4,
which is the latest model, and I chose that specifically because
it has a built in Wi-Fi dapter already, because you will need
to wireless access points on this device for it to work
properly, because one will be connecting to the open Internet
and the other will allow you to connect to it so you can do it
with older models. You'll just need two separate Wi-Fi routers.
You'll also need a micro SD card. Uh. With at least 16
gigabytes, I believe is the is the bare minimum you'll need. I
I have a some 32 gig cards here that I'm using. You'll need a
micro SD USB reader so that you can plug the SD card into your
computer and actually put the operating system onto the
device.
You'll need the Wi-Fi adapter as I mentioned earlier, your power
cord for your Raspberry Pi. This one USB C which will the power
will connect right here, this location and also this
particular model came with a case which it's good to have a
case, especially traveling with it, just to protect the computer
obviously. And also you'll need an Ethernet cable, which I don't
have one depicted here.
To connect the device to your laptop or computer.
Some other resources you'll need. I have the links here for
the open WRT which is the operating system we'll be using
Imager as well as you'll need imager to install the operating
system or into your device. I use the Raspberry Pi official
Imager here, and you'll also need some way to SSH into the
device so if your computer doesn't natively support SSH,
you can download something like putty. I did not need to do that
for this because my I'm able to do it just through the command
prompt and that's.
What I'll show you guys how to do next. So we're gonna go into
our demo. Hopefully everything works well and I don't forget
how to do any steps.
So first thing we'll do is we'll head to our Internet Explorer
here or a edge now.
And we will go to the open WRT wiki page.
And you can see we'll Scroll down here to installation and
there's a list of all the different types of Raspberry
pies I have. The Raspberry Pi 4B. So that's the one we'll
download and you'll just download it straight from here.
I have already downloaded this, so I'm not gonna.
To that here and then.
You'll also go to Raspberry Pi com and download the imager,
which you can choose for whichever operating system
you're working on. Once again, I've already downloaded this so.
We'll pull the imager up itself.
And this is super quick easy thing to do here. You'll go
ahead and scroll to use custom.
Navigate to wherever you have your OS saved.
Choose your storage device which here I have it mounted as my E
drive.
And then you'll write it.
And this usually takes about out of maybe maybe 1015 seconds.
It's super quick.
And once it's done here, there we go. We can now remove this.
So I'm gonna remove my SD card from my reader from my computer
and plug it into my Raspberry Pi, which unfortunately you guys
cannot see.
Alright and now once that's plugged in, we're going to go
ahead and power on our device, our Raspberry Pi.
And we're going to also plug our Ethernet cable into our
Raspberry Pi and then into our computer.
And the first step, once we're plugged in, as we need to go to
our control panel because we need to configure this Ethernet
port so that it can speak to our Raspberry Pi.
So the way we do that is going to control panel, network and
Internet.
Network and.
Sharing center and you can see here is our port. So we'll just
click on our Ethernet here.
Properties.
Maybe we want to find our IPV 4.
Properties and we're going to change this to a static IP
address, so the default.
IP address for the Raspberry Pi is 192.168 dot 1.1 is default
out-of-the-box. This is also the most common default port subnet.
Excuse me for.
A personal Wi-Fi routers.
So we wanna also make sure we're on the subnet, so we're gonna go
192.168 dot 1.10 is gonna be any IP address as long as it's on
the same subnet.
So going to apply this.
Close here. close this and we'll leave this open, cause we'll be
back.
And now we will go into command line land.
So.
Once we're here, we're gonna go ahead and SSH into our Raspberry
Pi and with an SSH command at username, which in this case is
root at the IP address, which is 198162 dot 1.1.
Hopefully this works.
And make sure it didn't.
Do something wrong here. Ohh Yep. There we go. See I'm
already.
Confuse my numbers 192.168 dot 1.1 there we go.
And once again SSH.
Root at 192.168 dot 1.1.
And there we go. So we'll go ahead and put, yes. And now
we're in, you can see our open WRT.
So we're going to go ahead now and move to the file path where
the files are located that we need to edit. So we're now
working in Linux, so we're gonna do a CD for change directory to
forward etc. Forward slash config.
And we'll do an LS to list all the files so you can see here we
have several files. The three we're going to be working with
tonight. Our firewall.
Network and wireless.
And when you're working with files like this, best practices
to always back them up. So that's the first thing we're
going to do, a CP to copy.
And we'll copy our network.
To network dot BK. This will make As for backup and I will do
CP firewall.
And a firewall dot BK once more CP wireless.
Wireless.
That be OK.
And we'll do one more list to show that we do have our
backups.
So first thing we'll do here is we're going to edit our network
command and the way we're going to do that is with the file
editor called them.
So the command has a VDI.
And that work is the file we want.
And as I mentioned earlier, we're gonna head down here to
configure our LAN. 19216811 is the most common. We used IP
address for home network routers. Hackers also know this.
So this is one of the first things we need to change. So the
way we'll do this is we're gonna press I for input.
And now we can edit this document that were to change
this to a private IP address. I'm going to use 10.71 dot 71.1.
And we will then add another option to this interface.
Or force under score link.
One and what that does is it forces the device to keep this
IP address that we set it to regardless of it shuts down for
whatever reason and it doesn't. It doesn't lose that.
That I and revert to default.
Next, we're going to add a new interface. We're going to do a
config.
Interface or are W Wan.
And then we'll tab down tab over the line of thing up so it looks
nice and pretty.
And we'll do an option for Proto.
DHCP so we can have dynamic IP addresses.
And we will also add option.
Peer DNS set that to 0.
So it is working and we will do an option DNS and we'll give it
two DNS servers. We'll do 1.1 dot 1.1 which is cloud flare and
8.8 dot 8.8 which is Google. This just gives you 2 pretty
reliable always available DNS servers so hopefully they're
always up.
And then finally, we're going to do one more config interface.
For VPN client and as I mentioned, I'm not going to go
over how to add a VPN unfortunately to this tonight,
but if you are gonna do this, you're on your own in the
future. This is an option you wanna make sure you have
included.
There IF name.
Ton 0.
An option.
Proto.
Or not.
OK. And now we're done here, so to get out of them, you're gonna
do an escape.
Colon W for right and Q for quit, enter and now we're back.
We'll go ahead and edit our firewall command now.
And the only thing we're going to change in here, we're going
to head down to config zone.
Of the wand, and we want to change this option input from
reject to accept, so we're gonna hit I per input.
And just type in accept here and we're done. So we'll do escape
colon WQ.
And now we will reboot.
Our Raspberry Pi.
Do an active changes.
So I'll be ready for that to reboot up. You're going to see
our connection here is going to disappear. Going to come back
and then disappear one more time while it's trying to refine it.
So now that we are on a DHCP, we can go ahead and change this
port back to a dynamic and get rid of that static IP address.
We're gonna go ahead and do that now.
Properties.
IPV 4 properties.
And back to automatically and DNS automatically.
And we are done with this, OK.
No.
Our next step is to SSH back end.
And they're going to use that new IP address we gave. So we're
gonna do another root at 10.71 dot 71.1.
Yes. And we're back again. And one thing I did forget to
mention actually is you can see here there's no password for
this device, which obviously is not a good deal. So we should
change the password. You can see the command here is PAS AWD.
And this is standard for all Linux will change this.
To something secure.
Alright, so now we have a new password, so we're going to
change directory again back to our.
Config file.
And we're going to use it to make sure we're in the right
place and we now want to.
Change our wireless so we'll do another VI.
Wireless.
Now what we want to change here is we're gonna set this radio 0.
This is the internal.
Wi-Fi adapter for the Raspberry Pi itself. We wanna make sure
that it's configured so it can get Internet so that we can go
and update the drivers to be able to install our external
Wi-Fi router or external Wi-Fi adapter. Excuse me so that we
can use it as a wireless access point.
And we're gonna make some changes here and I'll be
perfectly honest with you. I'm not a wireless guru, so I don't
know what most of these changes mean. I just know that they
work. I've tried this with and without these, but after a lot
of troubleshooting.
Uh, I I was told to enter these exact commands through pretty
much the different areas I went to and they work every time.
So I'm going to change our HW mode TO11G to change HT mode.
To HTTP 20.
We want to turn disabled one to disabled 0 so that disabled is
turned off so that the machine actually works.
And then we are going to.
Add one more option.
For short under score.
G I-40.
Set back to 0.
And now that is finished, we will do escape colon WQ.
Get out and to make sure that the wireless changes are
committed. We're gonna do a UCI commit.
Wireless command and then a Wi-Fi turn Wi-Fi on.
So now that the device has Internet, we're gonna head back
to the Internet.
We're going to go into the GUI, so we're going to type in our.
My address here.
Log in to the device.
And now we have a GUI interface and you can also all of the
changes that have shown you can do from here if you wish. If
you're not comfortable doing from the command line, it is
possible.
But what we want to do right now is going to head to wireless.
You can see our Radio 0 is set up and we're gonna scan for
local networks.
I'm going to go ahead and connect this to my home Internet
so that we can download all of the packages we needed so that
our.
Wi-Fi adapter works properly when you're doing. You wanna
make sure you replace wireless configuration so that your
Raspberry Pi has all the proper configs and then enter in your
passphrase.
Or whatever Internet you're connected to, we'll do a submit.
Save.
Then you want to save and alley and we should see a pop up under
associated stations.
And here we are. We now have Internet, so we'll head back to
our command line.
And we're going to now install our drivers. So the first thing
we want to do is an OP KG update.
And this will have the Raspberry Pi go out to the Internet and
update whatever packages it has, whatever ones we need install so
that they're the most current versions, so that there's no
conflictions with any software.
Uh, so now that that's done.
We will install our actual drivers and it's a very long
command string which I actually have it saved here just to save
us a few minutes of time.
And well, in order to paste into Linux what you need to do is a
control shift V little bit different than anyone's failure
with Windows.
And then we will run this and hopefully it starts installing
it. So these are just all of the different drivers for this
specific Wi-Fi router. I've also installed nano as you can see
here at the very end, which is a different.
Text editing software. I'll show you how to use that.
Uh shortly. Once this is finished, but we won't actually
change anything with it. It's some people prefer nano to VI
just because it's a little more user friendly.
Right. So now that the drivers are finished, we're going to
type in.
That IF.
I'm sorry we will not do this just yet. We're going to do is
do an A.
I'll show you nano. So we'll do a nano.
Firewall.
Let's see, we've installed this. It's a little bit different, a
little more user friendly.
So we're just going to go back where we did before is changes,
except we're gonna change it to accept again. But the difference
with Dano is that you don't have to press I for input. You can
just start typing.
So we'll change this back to accept again and to save your
changes here. You're going to do a control X.
Why for yes and enter save changes?
But now that we've installed her packages and IF.
Config.
WLAN one up. We're gonna run this command. If it works, which
it did. No error messages. That means all of our drivers are up
and running.
And in the last step for this process is we're going to do
change our wireless one more time so that we can set up the
wireless access point itself.
Uh, we're do another V wireless now. I'm not gonna actually show
this on screen because once I open this document, it's going
to show all of the information for all of the networks I'm
connected to, which includes my home network right now, and I
don't really wanna show everyone my wireless password, so I do
have. This is what you would see saved in the document in
addition to the other files. So I can show you here what it
would look like.
So we're just going to pretend we're in VI and Scroll down
here. Press I for input, change the one to a 0 so that disabled
is turned off.
And then we're going to come down.
And you can change your SSID here. We're gonna call it
Optimus pie.
And change your encryption to ask 2.
And add.
Option key for your password and we'll go with Autobots.
Roll out.
And then again, we're in thy, so we'll do a colon escape colon WQ
to save those changes.
And I'm actually going to go ahead and.
Stop sharing my screen here for just a second so I can apply
those changes and then come back and show you that they actually
worked and kind of showed this.
Talk. So give me just one second. I'm going to BI into
wireless here.
Had down to Radio 1.
I am I for input change disabled to one uh. I'm sorry from one to
zero change our open WRT SSID to.
Optimist pie.
Scription to PSK two and we're auditing option key.
To.
Thought about roll out.
And then we're going to escape Colon WQ and we're back. And let
me share.
A screen one last time.
And since we changed our wireless, we want to make sure
we commit. So we'll do a UCI.
Commit wireless and Wi-Fi to turn it on.
And it should be working. And just to prove that it did work,
I'm going to open my.
A Wi-Fi here and you can see right here we have optimist π,
which has a encryption on it. So if I were to connect to that, it
would I would have work in there. Am I gonna do that?
Obviously, because I'll probably lose connection and drop the
call. And then the very last thing is if for whatever reason
you're doing this is just a useful Linux tip if you're
working on this and you mess something up and you feel like
you have no idea where you are and you want to restart the
whole process, you can do a a command first boot, which is a
hard reset.
Of the device back to Factory default do and and.
Reboot now and that will factory reset and reboot the machine. As
you can see here it says all settings will be removed and all
packages will be uninstalled. Yes we are sure.
And then we have a brand new ready to go again reconfigure
Raspberry Pi.
Uh, and that brings you to your finished product, which is
literally a wireless router that can fit in the palm of your
hand. You can take it with you anywhere that as long as you
have a power source and Internet.
That concludes my discussion for my master class. Thank you all
for coming to my Ted talk. I hope you had a wonderful
evening.
I knew that was gonna be fun, but I need you to do it all over
again so I can learn it again.
Right. I actually this is my first attempt to doing something
It's.
like this. I did this probably 8 or 9 times this week just to
make sure I understood everything, but luckily we have
Yeah.
a recording and we can go back and watch it.
I exactly step by step through it slow.
Exactly. We have recording.
Absolutely. Thank you.
That was great. Yeah, that was really cool. OK, so I'm gonna do
a quick question because I gotta go teach, but my quick question
Yeah.
for this is really what significantly are Raspberry pies
for?
Just to have.
So I I my understanding is they're they're an open source
community project. Well I guess I have open source their
proprietary but their community project that the company
Raspberry Pi started so that people can just kind of get used
to one working with Linux and have fun projects to work on
because they're I mean they're tiny computers. You can see it
fits in my hand that can really do a whole lot of things and
because it's Linux really the skies open is the limit for what
people want to write them for so.
I don't know that they have a dedicated use. I could be wrong.
You know, somebody knows better, please correct me an original
use, but I know at this point they're kind of just toys.
They're computer toys for.
Uh for it geeks so.
Yeah, I think, uh, we should get some.
Yes, the the original.
Perfect.
Idea.
Was there were made for education? They wanted
something. A cheap computer like a very cheap trip computer like
you can get one for $1020.00 so people people can learn.
From it, and then they came with it. And they had such a huge
success, and now everyone uses for like he said, Sky's the
limit. We can do pretty much anything you wanted to.
Yeah, I think I'll buy something like that for my kids. And the
three of us will do it. See what we can come up with.
Yeah, they're fantastic. Great way to learn whatever concepts
you want like this one is great to learn networking Linux.
Obviously working Linux you can.
Turn them into the call pie hole is another popular use where it
blocks all incoming ad traffic to you. Put it in front of your
DNS server or in front of your Wi-Fi router in any ads that
come in. You can blacklist them. So if you're watching YouTube or
on scrolling Facebook, you won't see those ads. You can turn it
into an emulator, retropie they call it. It's like you make your
own Game Boy.
Umm, they can. There's tons of applications.
OK, awesome. Thank you so much. That was awesome. Yes, Monica,
you can download the recordings.
Just have to go into the UM.
I'm uh tonight, prop Wellman. Tonight or tomorrow I'm gonna
probably go ahead and rename it and put it into the PGIP tech
stream.
But you'll find it for today's date.
And everybody who has presented on here tonight too.
Well, awesome. Those were two great ones, very important for
both of those.
Last one we have is Edward Fernandez.
Come on down.
Good evening everyone. I hope you're all doing well.
Umm, so, uh, tonight I'll be talking about VI actually. So
it's good to the Michael already introduced it. But in case you
all wanted to learn a little more about it.
Let me I'm sharing my screen real quick.
Alright, so right now.
I have my PowerShell open and I have neovim installed. Uh
basically. Neovim is like a newer version of work of Vim
which is in a new code base supposed to be more
maintainability, more features that type of thing, but it's all
compatible with any configuration that you would
have with in vim.
So my presentation is going to be kind of in two parts. The
first one is going to be like administrative, what VI can be
used for administratively because VI is included in pretty
much every Linux distribution. So it's a good skill to have in
case you remoting to some and you have to administer some
remote machine that doesn't have any other text editor in it, so.
And you would start it up you with VI. I don't have VI
installed in my computer. I have in vim, but it works pretty much
the same way.
So you get your your introduction right here.
Now the way the VI works, it has four basic modes.
And they're the normal input modes. The visual mode and the
terminal mode. Now there are other modes that I'm not
completely familiar with, or a little more complicated, but.
For everyday use, you don't really need them.
But you know, there are many options. You know very powerful
things that you can do.
Let me see.
So in normal mode you can.
Do uh input you can input commands, editing commands.
Everything can be done through the keyboard. Now to edit input
to go to input mode we resi. Then we can start typing. O we
execute. This is a sentence.
And when you're in input mode, you can move around with the
arrow keys.
You can click around.
Now, if you're remoting into a machine, you probably can't use
your mouse, but.
And that's what's nice about being able to do everything with
the keyboard.
OWE to exit input mode and go back to normal mode. You can
just press escape.
And then we can navigate.
Using the homework keys on our right hand so you could press if
you have your hands on the home row with your index fingers.
There on the F and the J on your right hand, you can navigate
left with H you can move right with L.
Now, if we have another line.
You can move up with K and you can move down with J.
So we can move around just by using the keyboard.
Let's see. What else do I have?
So these are moving just one character at a time. If you put
in now every command that you put in vim, you can multiply it.
So if you press a number first, like if you press two and then
you press H it will move left two times. If you press 5 and
press, L will move right five times. So that's something you
can do.
No.
And there are many more commands that you can do in normal mode.
You can press U to undo.
And you can press control R to redo.
You can also press X to delete a certain character. So if I had a
typo.
You can just press X and you can remove 1 character that way and
then I can undo to bring it back.
Then there's also web. If you press W, it moves to the next
word. It'll even move across the lines as well. So if I go back
up, I press West and it goes to the next slower, which is on the
next line.
You can also Ress E to go to the end of the word, so if you keep
ressing E it will go to the end of each word.
You can also press B to go back.
So you can move across all these words just by using a keyboard.
Pressing W now pressing B, pressing E to go to the end.
You can also go to the beginning of align by pressing 0.
You can go to the end of a line by pressing Shift 4, so that
would be like the dollar sign.
That ones a little.
Umm, clunky. I guess you could say, but the nice thing about
Vim is that you can customize all your keybindings. Although
this is the default one if you're remoting to another
machine you don't. You probably won't have your own key
bindings.
Now there's also Y for yank or copy. You know you could they
call that yank, but you can copy.
By pressing Y.
If you press Y&W you will copy.
The word that you're on right now though, I just pressed YWI,
copied the word and I can press P to paste it.
So that it pays the word that I copied right here the cursor is.
Now if I press shift PP, it'll paste it before the cursor, so
it won't paste in the middle of the word.
Let me see what else.
Now the DT is a deletion key.
So we can delete one character with X. But if you wanted to
delete a word, we could press delete so the D and West and
that would delete the word.
The word that we're on right now, so if you're in the middle
of a word, it'll just delete.
Part of it.
But if you if you really have to be at the beginning of the words
where it to delete.
You know the word that you're.
Let me see. You can also press D twice to the little line.
So that makes it easy. That's something you do pretty often in
programming. Is a deleted line.
Something else that's also nice about Vim is that whenever you
delete something, it puts it into your.
Uh to your clipboard.
So once I delete this line, I can just press to paste it again
and I can just keep pasting it cause in my clipboard now.
So you there isn't a specific.
Like cut command like you would have in Windows.
Uh, because it it always does it whenever you delete.
Which is also something we have to watch out for because you
could replace whatever is in your clipboard when you delete
something. Although you can configure that as well.
You can press forward slash to search.
So you can see out here at the bottom.
This change, so if I press escape to go back, I press slash
or the forward slash it goes down here and I can start
searching. So if I search this it'll.
Highlight every time to this comes U.
Press enter. Then I can start navigating through every
occurrence of my search term. So if I press north.
It'll go to the next one.
So if I have the cursor here somewhere, press and then it
goes to the next one.
I know there is a very long uh, there can be a pretty long
learning curve for learning this because there are a lot of
commands and it doesn't tell you them anywhere, which is why a
lot of people like to use nano because it tells you here at the
bottom all what all the keyboard commands are.
And you can just type normally like if it was not bad.
Uh, but you know, being able to do all this without having to
touch the mouse at all can be a pretty, pretty good efficiency
boost once you learn how to do it.
OK, so there are many ways to enter input mode.
You know, there's just a couple of basic ones that are pretty
useful and maybe they work. So if I press I it'll the cursor
right before where my where.
Where I've highlighted.
So if I wanted to add to the end of a sentence, I would press A
to put the cursor in front of where I was highlighted.
Then I can type.
A type a little more in the sentence.
Let's see.
And we also have.
O if you press O, it'll enter input mode.
On the next line.
Now if you press shift to it will enter input mode and insert
a line above where you are.
You can see I made a space and I can start typing.
All right.
So now here's the elephant in the room.
How do I exit vim?
Now.
Because.
It's a joke, really. You know, if there's this whole thing,
like someone asked on Stack Overflow, how do I exit them?
And then became really famous because it is kind of difficult
if you don't know how.
But as Michael still kindly explained.
When you're an input mode, you press escape.
Then you presence colon and you can press.
Queue to escape.
Now if I tried doing this right now, it'll tell me that I
haven't written anything. I haven't written the file, I
haven't saved it, so I won't let me quit.
If I don't care about what I wrote in here, I can just press
Q.
And exclamation point and I'll be back in my terminal.
And then I can come back in.
Not even tells you right here when you first open it. How to
exit because.
That's pretty helpful.
Now if you want to write the file.
You would write W.
Actually I forgot to mention. When you're in normal mode.
You press colon and you go into command mode. You can see how
the word changes down here.
That's what. That's what it's called. And then so once you
press colon, you can press W you write your file. Now if there's
no file name.
Then you have to write your file name and then they writes it.
If we can, we can see that I have a file name, right?
Now, something that's nice about Vim is that, uh, if you open
your current directory, you can even you can actually navigate
through your directory using the same navigation keys that you
use while you're editing, and you can just.
Navigate the directories and you can open up your file like.
So that's the first part where we're talking about how you can
use this for everyday text editing because you know how
Linux you configure all mostly with text files.
But Vim can also be really helpful with your personal text
editing.
Software development and things like that.
But usually you would want to use vim or neovim because VI is
pretty old. It's not as used anymore.
But we do have vim spelled Vim, which is included in many Linux
distributions as well. Maybe not quite as many as VI.
And then there's also neo of them, which is what I use. It's
the it's really very in Python a new code base.
Umm. And it has, you know, slightly better plugin support,
but it is also backwards compatible with almost all VIN
plugins and configurations.
I say almost because they're just a couple of edge cases
where it's not compatible. I'm not exactly sure which ones they
are, but it hasn't affected me at all.
So an example of a plugin.
Would be.
And like what I have done here in this status bar, this is not
how neovim comes by default. All these colors like these colors
change depending on the status of the file. So if I write the
file see how we this is Gray.
When I go into insert mode, it's blue.
And then when I start typing it turns purple.
Meaning that I've changed the file but I have not written it
yet, so that's something nice. This plugin is called Vim
airline.
If you look it up, you can.
They may airline like that. You can look it up in GitHub.
And there are many many plugins that you can get plugins that
give you linting fuzzy search.
No language support like if you wanted to write an Elm or rust
and you know all these languages that don't.
There aren't all uh supported by default.
I'm.
See.
You can just look them up in GitHub and the easiest way to
manage your plugins I'd say would be to use vim plug
something that's called vim, plug like that. If you look that
U it's very easy to install.
Because there are many plugin managers that you could use, but
I'd say this is the easiest one.
I'm right now if I go to my configuration file.
I can show you how it looks.
So this is my configuration file is kind of messy.
Umm, but you know, I've over the years I've added a bunch of
things to here.
But down here is where Vin plug.
Configuration begins.
And you can see these are just GitHub addresses.
So you know how you would have HTTPS GitHub and then
github.com/and then this would be the end of the address around
here.
You just put that in.
Lug. And then the address.
And then once that is in your configuration file, all you have
to do is type plugin install.
And it'll automatically clone.
Uh, those uh plugins and install them?
And you're good to go. Once they're installed, you can just
click plug update and it'll close them again.
Now most of these plugins.
I installed them a very long time ago and not all of them
work.
I'm I'm not an expert in vim by any means.
But you know, some of these like this is just a color scheme.
This one gives you all support because I played with that long
time ago and this one gives you some auto completion snippets
that I have not been able to get working.
This one.
Is a.
It's a plugin to automatically.
But like HTML tags.
Closing like when you type HTML a little auto closing HTML tag,
that type of thing.
On this auto correct is pretty helpful because you know this
text editor doesn't come with auto correct automatically, but
if I.
Type type or something? Well, it depends on the word you can
configure.
Uh, typos that you are that you type pretty often, but if it
recognizes something that you mistype, it can automatically
correct it for you.
Uh, yeah, so.
That's on my quick rundown of.
Vim and neovim. I hope it was interesting and that y'all can
learn a little bit more about it and see if it works for you.
That was awesome, but I I don't want you to tell me that you
know those by heart.
All those commands.
Well, the ones I showed at the beginning, uh, the ones I showed
You know them.
at the beginning, I do.
That's just scary. Bad word. It's that is scary that, you
know all those.
It becomes muscle memory after a while.
That was really great. I am not a huge fan of the Common command
line on any program. Ohh, but that was really neat.
Well then, and I just feel I I just feel old after that because
Good job, good job.
Exactly.
I learned VI when there was just VI and it was a it was a black
Ohh wow.
Yeah.
and white screen with a flashing cursor. He does so yeah.
Because the old days, the 90s, Pope folks before you were born.
Is there?
Yeah, it's still around.
Well, at least it wasn't punch cards.
Ohh hey, I did that too. I did that in junior college. Thank
you very much. I worked in the bookstore.
And we have the shrink wrapped for sure.
There you go.
You, Landon, we're old.
I learned on Apple 2E basic.
That's.
Command command lines print flash all that.
I'm old too.
From home on, the Apple was fancy in my book I had the
Commodore, I had the Commodore.
Yeah.
Well, I had a Commodore 64. Well, I didn't have one, but my
my friend did. So yeah.
OK.
Yeah.
Ooh, takes me back.
That's scary.
Uh-huh.
But great job everyone. Does anyone have any questions for
any of our three presenters?
No, I just wanna thank you all.
Order.
For their presentations.
I agree. Great variety, yeah.
Yeah, that was.
Yeah, that was that was great. Great information. My head is
scrambling right now with all that knowledge.
Ohh, when I love I love these Thursday nights. I really do.
When I was an intern and and since then I'm we had the
maintenance and training which somebody would come on and and
and you know highlight a skill or something like that. But it
was more like a training and this is just great because you
get to show off what you know.
And.
I'm. I'm really impressed. Every week. I look forward to this,
this seminar or webinar or whatever you wanna call it.
Meeting. I'm but great job everyone and it will be it will
be uploaded and you can.
Retrieve it once Marjorie has uploaded it and.
I'm learn, learn from the professionals.
If no one has anything else.
I will say goodnight and everyone have a great night.
Have a great weekend and we'll see you next week.
Goodnight everyone.
Thank you everyone. Have a good night.
Tonight. Thanks everyone.
Goodnight, everyone. Have Marcia. You gotta second off for
recording.
Yeah, sure.
Umm would you run one of the departments could?
Turn it off. Hold on one second.