This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COMMENTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Clone the repo you care about | |
echo "Enter original git repository url" | |
read -p '(From GitHub and looks like "https://github.com/some-user/repo-name.git"): ' upstreamVar | |
echo Ready to clone in this here directory? `pwd` | |
read -p '(CTRL+C) if you want to quit, otherwise just press "ENTER"' | |
echo | |
# Clone the repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Domain | |
amazons.deals | |
amazons.digital | |
amazons.quest | |
amazons.rest | |
amazons.store | |
amazons.toys | |
amazons.uno | |
canyon.codes | |
codecanyon.biz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$results = []; | |
if (!empty($_POST['domains'])) { | |
$apiKey = 'INSERT_API_KEY'; | |
$domains = explode("\n", $_POST['domains']); | |
foreach ($domains as $domain) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import sys | |
import json | |
def waybackurls(host, with_subs): | |
if with_subs: | |
url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host | |
else: | |
url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import re | |
import sys | |
from multiprocessing.dummy import Pool | |
def robots(host): | |
r = requests.get( | |
'https://web.archive.org/cdx/search/cdx\ | |
?url=%s/robots.txt&output=json&fl=timestamp,original&filter=statuscode:200&collapse=digest' % host) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* multi-row extensions toolbar */.address-top .toolbar-extensions {position: absolute; top: 34px; left: unset !important; right: 3px !important; box-shadow: 4px 0 var(--colorBg); display: flex; flex-flow: row wrap; max-width: 100%; border-radius: 0 0 0 var(--radius); z-index:0; transition: visibility 0s .1s !important;}.address-top #header:not(:hover) ~ #main .UrlBar:not(:focus-within):not(:hover) .toolbar-extensions:not(:focus-within):not(:hover) {visibility: hidden; transition: visibility 0s .7s !important;}.address-top.color-behind-tabs-off .toolbar-extensions {box-shadow: 4px 0 var(--colorAccentBg);}.toolbar-extensions:not(:focus-within):not(:hover) {box-shadow: none; opacity: .5; background: transparent;}.toolbar-extensions .ExtensionIcon--Hidden {order:1; background: transparent;}.toolbar-extensions .ExtensionIcon--Hidden:hover {border-radius: 50%; background: transparent; transition: .3s ease-out !important;}.toolbar-extensions > .button-toolbar:not(.ExtensionIcon) {order:99;}.toolbar-extensions:after |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*#############################################################################\ | |
Shortcuts.xys | |
Library for creating shortcut files. | |
[ABOUT] | |
Author = TheQwerty | |
Version = 1.0 | |
Date = 2014-11-11 22:00z | |
Requires = XYplorer v14.50.0000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install docker | |
$ wget -nv -O - https://get.docker.com/ | sh | |
# setup dokku apt repository | |
$ wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | apt-key add - | |
$ export SOURCE="https://packagecloud.io/dokku/dokku/ubuntu/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function check_attempted_login( $user, $username, $password ) { | |
if ( get_transient( 'attempted_login' ) ) { | |
$datas = get_transient( 'attempted_login' ); | |
if ( $datas['tried'] >= 3 ) { | |
$until = get_option( '_transient_timeout_' . 'attempted_login' ); | |
$time = time_to_go( $until ); | |
return new WP_Error( 'too_many_tried', sprintf( __( '<strong>ERROR</strong>: You have reached authentication limit, you will be able to try again in %1$s.' ) , $time ) ); | |
} |