This file contains hidden or 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 'dart:typed_data'; | |
import 'dart:async'; | |
import 'package:quick_usb/quick_usb.dart'; | |
import 'utils.dart'; | |
typedef Listener = void Function(Uint8List msg); | |
enum ReturnCode { | |
success, | |
notFound, |
This file contains hidden or 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"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Android Vector Drawable To Svg</title> | |
</head> | |
<body> | |
<!-- STYLE --> | |
<style> |
This file contains hidden or 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
const $ = require('jquery'); | |
// Extract TUNE.PK Links | |
function TUNEPK(link, callback) { | |
$.get(link) | |
.done(function(data, status) { | |
let start = data.indexOf('"sources":'); | |
let end = data.indexOf(',"configurations":'); | |
let json = '{' + data.substr(start, (end % start)) + '}'; | |
json = JSON.parse(json); |
This file contains hidden or 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
/** | |
* | |
* ok.ru links work with header User-Agent Gecko | |
* 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0' | |
* i tried chrome and webkit both does not work | |
* | |
*/ | |
const $ = require('jquery'); | |
// Extract OK.RU Links |
This file contains hidden or 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
const $ = require('jquery'); | |
// Extract GOOGLE DRIVE Links | |
function GOOGLEDRIVE(link, callback) { | |
let id = GetID(link); | |
$.get(`https://drive.google.com/get_video_info?docid=${id}`) | |
.done(function(data, status) { | |
if ((data.indexOf('errorcode=100&reason=') == -1) || (data.indexOf('errorcode=150&reason=') == -1)) { | |
callback('error'); |