Skip to content
View dedsec1121fk's full-sized avatar
:shipit:
Working...
:shipit:
Working...

Block or report dedsec1121fk

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
dedsec1121fk/README.md

Hi there, my name is dedsec1121fk.

I'm a Termux Python developer with a strong focus on building applications for Termux. My journey in programming has been driven by a passion for creating efficient, user-friendly solutions that leverage the power of mobile environments.

Download My Repositories

This Python script downloads all my repositories at once and updates them.

Installation

  1. Create the Python script:

    nano clone.py
  2. Copy and paste the following code into clone.py:

    import os
    import requests
    
    # GitHub username
    username = 'dedsec1121fk'  # Change this to the desired GitHub username
    
    # GitHub API URL to get the repositories
    url = f'https://api.github.com/users/{username}/repos'
    
    # Get the list of repositories
    response = requests.get(url)
    repos = response.json()
    
    # Clone or update each repository
    for repo in repos:
        repo_name = repo['name']
        clone_url = repo['clone_url']
        
        if os.path.isdir(repo_name):
            # If the repo already exists, pull the latest changes
            os.chdir(repo_name)
            os.system('git pull')
            os.chdir('..')
            print(f'Updated: {repo_name}')
        else:
            # Clone the repository if it doesn't exist
            os.system(f'git clone {clone_url}')
            print(f'Cloned: {repo_name}')
  3. Save and exit the editor.

Usage

Run the script with the following command:

python clone.py

Top Langs

GitHub stats

Pinned Loading

  1. Psyktikos Psyktikos Public

    Psyktikos is a Python script tailored for air conditioning technicians and enthusiasts in Greece. It offers a user-friendly interface to access essential information on maintenance, troubleshooting…

    Python 2

  2. DedSec DedSec Public

    Read the text below to see all programs descriptions.

    Python 5