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 time | |
import socket | |
import threading | |
import hashlib | |
import itertools | |
import sys | |
from Crypto import Random | |
from Crypto.PublicKey import RSA | |
from CryptoPlus.Cipher import IDEA |
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 | |
require_once(dirname(__FILE__).'/class.MySQL.php'); | |
class CreateReadUpdate extends MySQL{ | |
public function __construct(){ | |
parent::__construct(); | |
} | |
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 socket | |
import os | |
import threading | |
import hashlib | |
from Crypto import Random | |
import Crypto.Cipher.AES as AES | |
from Crypto.PublicKey import RSA | |
import signal | |
from lazyme.string import color_print |
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
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
</head> | |
<body> | |
<form action="PATH_TO_vimigo.php" method="get"> | |
<input type="text" name="date_from" value="2019-01-10"> | |
<input type="text" name="date_to" value="2019-02-22"> |
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 xhttp = new XMLHttpRequest(); | |
xhttp.onreadystatechange = function() { | |
if (this.readyState == 4 && this.status == 200) { | |
console.log(JSON.stringify(this.responseText)); | |
} | |
}; | |
xhttp.open("GET", "LINK_TO_EASYTECH_API?date_from=2019-01-10&date_to=2019-02-22&auth=TOKEN", true); | |
xhttp.send(); |
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 xhttp = new XMLHttpRequest(); | |
xhttp.onreadystatechange = function() { | |
if (this.readyState == 4 && this.status == 200) { | |
console.log(JSON.stringify(this.responseText)); | |
} | |
}; | |
xhttp.open("GET", "LINK_TO_EASYTECH_API?auth=TOKEN", true); | |
xhttp.send(); |
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
// | |
// DownloadManager.h | |
// | |
// Created by Mohammad Julfikar on 22/05/2019. | |
// Copyright © 2019 Facebook. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import "RCTBridgeModule.h" |
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
export const isReachable = async () =>{ | |
const timeout = new Promise((resolve, reject) => { | |
setTimeout(reject, 5000, 'Request timed out'); | |
}); | |
const request = fetch('https://xxxxxx.com'); | |
try { | |
const response = await Promise | |
.race([timeout, request]); | |
return true; | |
} |
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
export const fetchParallel = (link,header, callback) =>{ | |
const POOR = 150; | |
const MODERATE = 550; | |
const GOOD = 2000; | |
const _start = new Date().getTime(); | |
const speedTester = RNFetchBlob | |
.config({ |
OlderNewer