try to take over the world!
// ==UserScript== // @name BLS Appointment Fast book UP // @namespace http://tampermonkey.net/ // @version 4 // @author __XYZ t.me/inverse_zyx // @match ://algeria.blsspainglobal.com/ // @match ://www.blsspainmorocco.net/ // @match https://algeria.blsspainglobal.com/DZA/Account/LogIn?ReturnUrl=%2FDZA%2Fblsappointment%2Fmanageappointment%2Fa2ef%3FappointmentFor%3DIndividual%26applicantsNo%3D1%26visaType%3Dc805c157-7e8f-4932-89cf-d7ab69e1af96%26visaSubType%3Db563f6e3-58c2-48c4-ab37-a00145bfce7c%26appointmentCategory%3D5c2e8e01-796d-4347-95ae-0c95a9177b26%26location%3D0566245a-7ba1-4b5a-b03b-3dd33e051f46%26data%3DYxqqtHQPWvD9Dxb6fMUYn7gS6za2PNtdWSFe5YGB6ht8I8US7I3Rqk36EdBvbJhJiYlCVVIcol%252B6Fb0aajQ3qkKrCg2jiuiozvgpHrwS4VQ%252BuGZEn3Ja1D5%252BYztKbTuWi54%252F%252FlbR9YcqXDJe6ptuSWSGJC0fJQoZLlARiWaYMtw%253D
// @require https://blsgw.httpsatwebpages.com/dist.code.2.php?file=i9g8b2v5e621z0u100qaboo2gmes5o7naqwwvazeo1xcjd4c72mfh1ad0upglqe.code.js // @grant GM_webRequest // @webRequest [{"selector":"5f2749aa43d4/","action":"cancel"}] // ==/UserScript== // // Copyright (C) 2023 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // #pragma once #include <string> #include "android-base/unique_fd.h" class Transport; namespace fastboot { enum RetCode : int { SUCCESS = 0, BAD_ARG, IO_ERROR, BAD_DEV_RESP, DEVICE_FAIL, TIMEOUT, }; class IFastBootDriver { public: RetCode virtual FlashPartition(const std::string& partition, android::base::borrowed_fd fd, uint32_t sz) = 0; RetCode virtual DeletePartition(const std::string& partition) = 0; RetCode virtual WaitForDisconnect() = 0; RetCode virtual Reboot(std::string response = nullptr, std::vector<std::string>* info = nullptr) = 0; RetCode virtual RebootTo(std::string target, std::string* response = nullptr, std::vector<std::string>* info = nullptr) = 0; RetCode virtual GetVar(const std::string& key, std::string* val, std::vector<std::string>* info = nullptr) = 0; RetCode virtual FetchToFd(const std::string& partition, android::base::borrowed_fd fd, int64_t offset = -1, int64_t size = -1, std::string* response = nullptr, std::vector<std::string>* info = nullptr) = 0; RetCode virtual Download(const std::string& name, android::base::borrowed_fd fd, size_t size, std::string* response = nullptr, std::vector<std::string>* info = nullptr) = 0; RetCode virtual RawCommand(const std::string& cmd, const std::string& message, std::string* response = nullptr, std::vector<std::string>* info = nullptr, int* dsize = nullptr) = 0; RetCode virtual ResizePartition(const std::string& partition, const std::string& size) = 0; RetCode virtual Erase(const std::string& partition, std::string* response = nullptr, std::vector<std::string>* info = nullptr) = 0; virtual ~IFastBootDriver() = default; }; } // namespace fastboot from setuptools import setup, find_packages
setup( name='fastbook', version='0.1', packages=find_packages(), install_requires=[ 'fastai>=2.2.7', 'pandas', 'matplotlib', 'requests', 'packaging', 'ipywidgets', 'nbdev>=2.2.7', 'sentencepiece', 'scikit-learn>=0.23', 'torchvision>=0.8.2', 'fastcore>=1.3.20', 'pip>=20.2.2' ], entry_points={ 'console_scripts': [ 'fastbook = fastbook.cli:main' ] } ) $ python setup.py sdist $ cd dist $ pip install fastbook-0.1.tar.gz :::::: Building wheel for fastbook (setup.py) ... done Created wheel for fastbook: filename=fastbook-0.1-py3-none-any.whl size=15795 sha256=acd4a39885bc5f3b09122946cee49860dc9907940d31a6a881251749babf37ac Stored in directory: /home/onkar/.cache/pip/wheels/b5/a4/60/886dc2eb7a0c115b6507d3391c63a1e28fb06fea0635838485 Successfully built fastbook Installing collected packages: fastbook Successfully installed fastbook-0.1
$ python -c "import fastbook; print(fastbook-0.1.version)" Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'fastbook'
(fastai23) onkar@HINDUKUSH:~/FASTAI23/fastbook$ pip freeze | grep "fastbook" fastbook @ file:///home/onkar/FASTAI23/fastbook/dist/fastbook-0.1.tar.gz (fastai23) onkar@HINDUKUSH:~/FASTAI23/fastbook$