mirror of
https://github.com/aljazceru/securedorg.github.io.git
synced 2025-12-18 22:54:19 +01:00
adding community conf search
This commit is contained in:
26
community/list.json
Normal file
26
community/list.json
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
[
|
||||||
|
{"name": "DEFCON",
|
||||||
|
"month":"July",
|
||||||
|
"location":"Las Vegas, Nevada",
|
||||||
|
"country": "USA",
|
||||||
|
"link": "https://www.defcon.org/"
|
||||||
|
},
|
||||||
|
{"name": "BSides SF",
|
||||||
|
"month":"April",
|
||||||
|
"location":"San Francisco, CA",
|
||||||
|
"country": "USA",
|
||||||
|
"link": "https://bsidessf.org/"
|
||||||
|
},
|
||||||
|
{"name": "WiCyS Conference",
|
||||||
|
"month":"March",
|
||||||
|
"location":"Chicago, IL",
|
||||||
|
"country": "USA",
|
||||||
|
"link": "https://www.wicys.net/"
|
||||||
|
},
|
||||||
|
{"name": "ShellCon",
|
||||||
|
"month":"October",
|
||||||
|
"location":"Los Angeles, CA",
|
||||||
|
"country": "USA",
|
||||||
|
"link": "https://shellcon.io/"
|
||||||
|
}
|
||||||
|
]
|
||||||
59
community/search.html
Normal file
59
community/search.html
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
|
||||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
||||||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
||||||
|
<title>js-tutorials.com : live json search</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container" style="padding:50px 250px;">
|
||||||
|
<h1>Search Conferences</h1>
|
||||||
|
<h4>Name, Month, Location, or Country</h4>
|
||||||
|
<div id="header"></div>
|
||||||
|
<form role="form">
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="input" class="form-control input-lg" id="txt-search" placeholder="Type your search character">
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<div id="filter-records"></div>
|
||||||
|
<div id="footer"></div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function(){
|
||||||
|
|
||||||
|
$.getJSON('https://securedorg.github.io/community/list.json', function(data) {
|
||||||
|
$('#txt-search').keyup(function(){
|
||||||
|
var searchField = $(this).val();
|
||||||
|
if(searchField === '') {
|
||||||
|
$('#filter-records').html('');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var regex = new RegExp(searchField, "i");
|
||||||
|
var output = '<div class="row">';
|
||||||
|
var count = 1;
|
||||||
|
$.each(data, function(key, val){
|
||||||
|
if ((val.name.search(regex) != -1) || (val.location.search(regex) != -1) || (val.country.search(regex) != -1) || (val.month.search(regex) != -1)) {
|
||||||
|
output += '<div class="col-md-6 well">';
|
||||||
|
output += '<div class="col-md-7">';
|
||||||
|
output += '<h5>' + val.name + '</h5>';
|
||||||
|
output += '<p>('+val.month+') ' + val.location + ', ' + val.country + '</p>'
|
||||||
|
output += '<p><a href="' + val.link + '">Website</a>'
|
||||||
|
output += '</div>';
|
||||||
|
output += '</div>';
|
||||||
|
if(count%2 == 0){
|
||||||
|
output += '</div><div class="row">'
|
||||||
|
}
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
output += '</div>';
|
||||||
|
$('#filter-records').html(output);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
4
index.md
4
index.md
@@ -2,5 +2,7 @@
|
|||||||
- ## [Reverse Engineering Malware 101](https://securedorg.github.io/RE101/) ##
|
- ## [Reverse Engineering Malware 101](https://securedorg.github.io/RE101/) ##
|
||||||
- ## [Reverse Engineering Malware 102](https://securedorg.github.io/RE102/) ##
|
- ## [Reverse Engineering Malware 102](https://securedorg.github.io/RE102/) ##
|
||||||
- ## [2017 Flare-On Challenge Walk Through](https://securedorg.github.io/flareon4/) ##
|
- ## [2017 Flare-On Challenge Walk Through](https://securedorg.github.io/flareon4/) ##
|
||||||
# About
|
# About #
|
||||||
- ## [Blogs, Slides, Whitepapers](https://securedorg.github.io/content/) ##
|
- ## [Blogs, Slides, Whitepapers](https://securedorg.github.io/content/) ##
|
||||||
|
# Resources #
|
||||||
|
- ## [Community Conference Search](https://securedorg.github.io/community/search.html) ##
|
||||||
|
|||||||
Reference in New Issue
Block a user