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 # 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).
> Find the active github forks of a project # and it'll bring up the Active Forks of that repo.
# ```javascript
This project allows you to find the most active forks of a repository. # ```
# ![Screenshot](screenshot.png "Active Forks in Action")
[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")

View file

@ -1,21 +1,14 @@
<!DOCTYPE html> # <!DOCTYPE html>
<head> ## <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1"> S# <title>Active GitHub Forks</title>
<meta charset="UTF-8"> [€[€[[€{€[€]€€{€€[€€[¥¥✓•[=¥¥¥=✓✓¥✓¥[¥¥=¥¥{¥¥=¥¥=¥¥=¥¥=¥¥={}}]]]]}}]]] <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<title>Active GitHub Forks</title> <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="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">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <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://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://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="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/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://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/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://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> <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; } .darkmode-layer, .darkmode-toggle { z-index: 500; }
</style> </style>
</head> </head>
# <div class="container">
<body class='mt-4 mb-2'> ## <div class="col-sm-12 col-lg-12">
<div class="container"> ## <div class="card-header text-center">
<div class="row"> ## <a href="https://github.com/techgaun/active-forks" class="text-dark">
<div class="col-sm-12 col-lg-12"> ## </a>
<div class="card"> # </h3>
<div class="card-header text-center"> ##
<h3> ## <div class="form-group">
<a href="https://github.com/techgaun/active-forks" class="text-dark"> ## <div class="input-group">
<i class="fa fa-github-alt pull-left" aria-hidden="true"></i> ## <span class="input-group-btn">
</a> ## <i id="spinner" class="fa fa-spinner fa-pulse fa-fw" hidden></i> Find
Active GitHub Forks # </span>
</h3> ## </form>
</div> # ## <table id="forkTable" class="display table-sm table-striped" width="100%"></table>
## <div id="footer" class="card-footer text-muted"></div>
<div class="card-body"> ## </d
<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>