Beat The System

This commit is contained in:
Donnadonnam 2023-02-01 11:47:49 -06:00 committed by GitHub
parent c87b9bf9e9
commit f152b1f8b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 78 deletions

View file

@ -1,23 +1,7 @@
# active-forks
> Find the active github forks of a project
This project allows you to find the most active forks of a repository.
[Find Active Fork](https://techgaun.github.io/active-forks/index.html)
## As Bookmarklet
If you would like to use this tool as a bookmarklet,
you can do so by saving the following javascript code as the bookmarklet.
Since Github doesn't allow javascript in its markdown, you can add it manually.
Hit `Ctrl+D` to create a new bookmark and paste the javascript below into the URL
or "Location" entry (you may have to click "More" to see the URL field).
Any time you're on a Github repo you can click the bookmarklet
and it'll bring up the Active Forks of that repo.
```javascript
javascript:!function(){if(title=document.title,title)if(thing=title.split(/(GitHub\s-\s)*([^:]*)/)[2],thing){var t="https://techgaun.github.io/active-forks/index.html#"+thing;window.open(t)}else window.alert("Not%20a%20valid%20GitHub%20page")}();
```
![Screenshot](screenshot.png "Active Forks in Action")
# Since Github doesn't allow javascript in its markdown, you can ahhghdd it manually.
# or "Location" entry (you may have to click "More" to see the URL field).
# and it'll bring up the Active Forks of that repo.
# ```javascript
# ```
# ![Screenshot](screenshot.png "Active Forks in Action")
#

View file

@ -1,21 +1,14 @@
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>Active GitHub Forks</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.24/css/dataTables.bootstrap4.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/searchbuilder/1.0.1/css/searchBuilder.bootstrap4.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
# <!DOCTYPE html>
## <meta name="viewport" content="width=device-width, initial-scale=1">
S# <title>Active GitHub Forks</title>
[€[€[[€{€[€]€€{€€[€€[¥¥✓•[=¥¥¥=✓✓¥✓¥[¥¥=¥¥{¥¥=¥¥=¥¥=¥¥=¥¥={}}]]]]}}]]] <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.24/css/dataTables.bootstra="https://cdn.datatables.net/searchbuilder/1.0.1/css/searchBuilder.bootstrap4.min.css"/> rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYI3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.24/js/dataTables.bootstrap4.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></scripcript type="text/javascript" src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<script type="text/javascript" src="ipt type="text/javascript" src="https://cdn.datatables.net/1.10.24/js/dataTables.bootstrap4.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/searchbuilder/1.0.1/js/dataTables.searchBuilder.min.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/searchbuilder/1.0.1/js/searchBuilder.bootstrap4.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js"></script>
@ -25,42 +18,20 @@
.darkmode-layer, .darkmode-toggle { z-index: 500; }
</style>
</head>
<body class='mt-4 mb-2'>
<div class="container">
<div class="row">
<div class="col-sm-12 col-lg-12">
<div class="card">
<div class="card-header text-center">
<h3>
<a href="https://github.com/techgaun/active-forks" class="text-dark">
<i class="fa fa-github-alt pull-left" aria-hidden="true"></i>
</a>
Active GitHub Forks
</h3>
</div>
<div class="card-body">
<div class="form-group">
<form id="form" role="form">
<div class="input-group">
<input id="q" name="q" class="form-control" type="text" placeholder="techgaun/github-dorks">
<span class="input-group-btn">
<button id="find" onClick="fetchData()" type="button" class="btn btn-primary">
<i id="spinner" class="fa fa-spinner fa-pulse fa-fw" hidden></i> Find
</button>
</span>
</div>
</form>
</div>
<div id="data-body"></div>
<table id="forkTable" class="display table-sm table-striped" width="100%"></table>
</div>
<div id="footer" class="card-footer text-muted"></div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/main.js"></script>
</body>
# <div class="container">
## <div class="col-sm-12 col-lg-12">
## <div class="card-header text-center">
## <a href="https://github.com/techgaun/active-forks" class="text-dark">
## </a>
# </h3>
##
## <div class="form-group">
## <div class="input-group">
## <span class="input-group-btn">
## <i id="spinner" class="fa fa-spinner fa-pulse fa-fw" hidden></i> Find
# </span>
## </form>
# ## <table id="forkTable" class="display table-sm table-striped" width="100%"></table>
## <div id="footer" class="card-footer text-muted"></div>
## </d
## ##