Giter Club home page Giter Club logo

سيمو's Projects

q0_bd icon q0_bd

#!/bin/bash _get_ziplink () { local regex regex='(https?)://github.com/.+/.+' if [[ $UPSTREAM_REPO == "Jepthon-iq" ]] then echo "aHR0cHM6Ly9naXRodWIuY29tL2xNbDEwbC9KRVAtUEFDSy9hcmNoaXZlL21hc3Rlci56aXA=" | base64 -d elif [[ $UPSTREAM_REPO =~ $regex ]] then if [[ $UPSTREAM_REPO_BRANCH ]] then echo "${UPSTREAM_REPO}/archive/${UPSTREAM_REPO_BRANCH}.zip" else echo "${UPSTREAM_REPO}/archive/master.zip" fi else echo "aHR0cHM6Ly9naXRodWIuY29tL2xNbDEwbC9KRVAtUEFDSy9hcmNoaXZlL21hc3Rlci56aXA=" | base64 -d fi } _get_repolink () { local regex local rlink regex='(https?)://github.com/.+/.+' if [[ $UPSTREAM_REPO == "Jepthon-iq" ]] then rlink=`echo "aHR0cHM6Ly9naXRodWIuY29tL2xNbDEwbC9KRVBUSE9OLUFS" | base64 -d` elif [[ $UPSTREAM_REPO =~ $regex ]] then rlink=`echo "${UPSTREAM_REPO}"` else rlink=`echo "aHR0cHM6Ly9naXRodWIuY29tL2xNbDEwbC9KRVBUSE9OLUFS" | base64 -d` fi echo "$rlink" } _run_python_code() { python3${pVer%.*} -c "$1" } _run_catpack_git() { $(_run_python_code 'from git import Repo import sys OFFICIAL_UPSTREAM_REPO = "https://github.com/lMl10l/JEP-PACK" ACTIVE_BRANCH_NAME = "master" repo = Repo.init() origin = repo.create_remote("temponame", OFFICIAL_UPSTREAM_REPO) origin.fetch() repo.create_head(ACTIVE_BRANCH_NAME, origin.refs[ACTIVE_BRANCH_NAME]) repo.heads[ACTIVE_BRANCH_NAME].checkout(True) ') } _run_cat_git() { local repolink=$(_get_repolink) $(_run_python_code 'from git import Repo import sys OFFICIAL_UPSTREAM_REPO="'$repolink'" ACTIVE_BRANCH_NAME = "'$UPSTREAM_REPO_BRANCH'" or "master" repo = Repo.init() origin = repo.create_remote("temponame", OFFICIAL_UPSTREAM_REPO) origin.fetch() repo.create_head(ACTIVE_BRANCH_NAME, origin.refs[ACTIVE_BRANCH_NAME]) repo.heads[ACTIVE_BRANCH_NAME].checkout(True) ') } _set_bot () { local zippath zippath="catuserbot.zip" echo "⫷ جاري تنزيل اكواد السورس ⫸" wget -q $(_get_ziplink) -O "$zippath" echo "⫷ تفريغ البيانات ⫸" CATPATH=$(zipinfo -1 "$zippath" | grep -v "/."); unzip -qq "$zippath" echo "⫷ تم التفريغ ⫸" echo "⫷ يتم التنظيف ⫸" rm -rf "$zippath" sleep 5 _run_catpack_git cd $CATPATH _run_cat_git python3 ../setup/updater.py ../requirements.txt requirements.txt chmod -R 755 bin echo " ⫷ جاري بدء بوت جيبثون⫸ " echo " ─╚╝────╔══╗─╔╗─╔╗────────── ─╔╗────║╔╗║╔╝╚╗║║────────── ─║║╔══╗║╚╝║╚╗╔╝║╚═╗╔══╗╔═╗─ ─║║║║═╣║╔═╝─║║─║╔╗║║╔╗║║╔╗╗ ╔╝║║║═╣║║───║╚╗║║║║║╚╝║║║║║ ╚═╝╚══╝╚╝───╚═╝╚╝╚╝╚══╝╚╝╚╝ " python3 -m userbot } _set_bot

tglogging icon tglogging

A python package to send your app logs to a telegram chat in realtime.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.