Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,030 --> 00:00:08,250
But you were to take a look at code searching, so you may run in a situation where you have a piece
2
00:00:08,250 --> 00:00:15,270
of malicious software or you're doing it Olson investigation, and you come across a particular line
3
00:00:15,270 --> 00:00:23,370
of code, a program or maybe even your whoever's hatching you with those in search wants you to take
4
00:00:23,370 --> 00:00:27,810
a look around and see if their particular code is being leaked somewhere on the internet.
5
00:00:28,560 --> 00:00:30,120
This is where this comes in handy.
6
00:00:31,140 --> 00:00:38,610
Now, the first site I want to show you is code or rather search Echo Dot com now and here as we see
7
00:00:38,790 --> 00:00:42,570
you could type in a code snippet or a function in the search.
8
00:00:42,570 --> 00:00:46,350
Over 20 billion lines of code from seven million projects.
9
00:00:46,920 --> 00:00:47,880
So pretty cool.
10
00:00:49,410 --> 00:00:55,920
So I have a little bit of code here and I don't think this is going to work because this is pretty generic
11
00:00:56,250 --> 00:00:57,240
program here.
12
00:00:57,960 --> 00:00:59,610
So I'm just going to grab this real quick.
13
00:01:00,390 --> 00:01:05,610
Yeah, copy that and we're going to paste it in here and we're going to run a search.
14
00:01:06,270 --> 00:01:14,340
So as we see there was zero results, so depending on how unique the code is, is going to depend on
15
00:01:15,090 --> 00:01:17,220
how successful you're going to be, obviously.
16
00:01:18,210 --> 00:01:23,310
But it does offer other solutions GitHub, StackOverflow, Google, Bing and DuckDuckGo.
17
00:01:24,630 --> 00:01:31,680
So for GitHub, you will need to sign up for an account which is free, so don't worry about that.
18
00:01:32,790 --> 00:01:39,660
Now, once you're signed in, you could actually just search in here for whatever the line of code is
19
00:01:40,140 --> 00:01:40,610
now.
20
00:01:40,920 --> 00:01:48,150
For more information on this, you can go to help dot GitHub for Forgan, for his articles, for sites
21
00:01:48,150 --> 00:01:52,140
searching Dash code, and that's going to take it to this page.
22
00:01:52,590 --> 00:01:58,530
Now this page is going to give you a lot more information on how you search that particular piece of
23
00:01:58,530 --> 00:02:01,700
code, so it's going to be case sensitive.
24
00:02:01,710 --> 00:02:10,500
You want to understand this is sin taxes and use quotations around multi-year search terms, label calling
25
00:02:10,500 --> 00:02:11,970
quote in progress.
26
00:02:13,260 --> 00:02:22,980
So pretty similar to like if you're doing a Google Google search with an advanced search operators.
27
00:02:23,400 --> 00:02:28,740
But again, I recommend going through this particular page because it does give you quite a bit of information
28
00:02:28,740 --> 00:02:31,590
for searching for code on GitHub.
29
00:02:31,770 --> 00:02:36,660
But again, you are going to need to create an account and sign into it in order to use this feature.
30
00:02:37,380 --> 00:02:42,690
But in here, we can see there's a lot of great examples for searching different lines of code.
31
00:02:44,460 --> 00:02:50,190
But again, these are a couple options to search code.
32
00:02:50,190 --> 00:02:58,320
And again, the use cases would be things like the company wants to verify if a particular code is being
33
00:02:58,320 --> 00:02:59,640
leaked online.
34
00:02:59,850 --> 00:03:03,840
Again, you do have a say, malicious hacker that try to drop a payload.
35
00:03:03,840 --> 00:03:10,500
You get you get a hold of the code you're able to look at and you can post it up on, you know, GitHub
36
00:03:10,500 --> 00:03:17,970
or Google Bing or on search code at Search Goal.com.
37
00:03:18,870 --> 00:03:24,620
But again, depending on how generic that code is you, your results are going to vary.
38
00:03:24,630 --> 00:03:26,070
So do keep that in mind.
39
00:03:28,170 --> 00:03:30,360
And this video was about searching for code.
40
00:03:30,900 --> 00:03:31,740
Thank you for watching.
4303
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.