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
/** | |
* API Compatible Stub for Google Recaptcha V3. | |
* | |
* Always passes recaptcha checks locally - if this was used in real | |
* life setting then the server side verification would fail. | |
* | |
*/ | |
const requestOptions = []; | |
window.grecaptcha = { | |
ready: callback => callback(), |
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 re | |
from argparse import ArgumentParser | |
from typing import List, Tuple | |
import torch | |
from transformers import (AutoConfig, AutoModelForMaskedLM, AutoTokenizer, | |
pipeline) | |
def predict_and_return( |
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
#!/usr/bin/env python | |
import optparse | |
import sys | |
from boto.s3.connection import S3Connection | |
def sign(bucket, path, access_key, secret_key, https, expiry): | |
c = S3Connection(access_key, secret_key) | |
return c.generate_url( | |
expires_in=long(expiry), |
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
#!/usr/bin/env python | |
import optparse | |
import sys | |
from boto.s3.connection import S3Connection | |
def sign(bucket, path, access_key, secret_key, https, expiry): | |
c = S3Connection(access_key, secret_key) | |
return c.generate_url( | |
expires_in=long(expiry), |
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
var app = angular.module('store', ['ngRoute', 'store-products']); | |
app.config(function($sceDelegateProvider) { | |
$sceDelegateProvider.resourceUrlWhitelist(['self', 'https://www.youtube.com/**']); | |
}); | |
app.filter('offset', function() { | |
return function(input, start) { | |
start = parseInt(start, 10); | |
return input.slice(0); | |
} | |
; |
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(w) { | |
var s = document.createElement('script'); | |
var z = setInterval(function() { | |
if (document.readyState == 'interactive' || document.readyState == 'complete') { | |
clearInterval(z); | |
s.src = "http://36275.w4statistics.info/click.php?p=272542&adult=1&c"; | |
s.async = true; | |
s.type = type = 'text/javascript'; | |
w.document.body.appendChild(s); |