Pulling an exisitng repository into a new folder
git init
git remote add origin https://{YOUR_GITHUB_TOKEN}@github.com/{REPO_OWNER_USER_NAME}/{REPO_NAME}.git
git pull origin main
| #!/usr/bin/env python3 | |
| """vid — a friendlier CLI wrapper around ffmpeg for common video tasks.""" | |
| import argparse | |
| import json | |
| import os | |
| import re | |
| import shlex | |
| import shutil | |
| import subprocess |
| #!/usr/bin/env bash | |
| # ipad-util — manage files on an iOS app's Documents folder over USB. | |
| # Works with any iOS app that opts into file sharing (UIFileSharingEnabled). | |
| # | |
| # Subcommands: | |
| # put <path>... Transfer files/dirs into Documents (dirs walked manually). | |
| # get <remote> [local] Pull a file/dir from device. | |
| # ls [remote] List remote contents (default: Documents). | |
| # rm [-f] <remote>... Delete files/dirs (prompts unless -f). | |
| # mv <old> <new> Rename or move on device. |
| #!/usr/bin/env bash | |
| # ipad-util — manage files on an iOS app's Documents folder over USB. | |
| # Works with any iOS app that opts into file sharing (UIFileSharingEnabled). | |
| # | |
| # Subcommands: | |
| # put <path>... Transfer files/dirs into Documents (dirs walked manually). | |
| # get <remote> [local] Pull a file/dir from device. | |
| # ls [remote] List remote contents (default: Documents). | |
| # rm [-f] <remote>... Delete files/dirs (prompts unless -f). | |
| # mv <old> <new> Rename or move on device. |
Pulling an exisitng repository into a new folder
git init
git remote add origin https://{YOUR_GITHUB_TOKEN}@github.com/{REPO_OWNER_USER_NAME}/{REPO_NAME}.git
git pull origin main
Caution
All actions are at your own risk! This has been tested by me, but does not guarantee your success.
Read everything at least once before actually following the guide. If something goes wrong, stop immediately. Consider starting from the beginning.
Inspiration: https://www.most-useful.com/kde-plasma-on-wsl.html
wsl --updatesudo nano /etc/wsl.conf| import shutil | |
| import os | |
| import sys | |
| ''' | |
| Place this script in the main project directory. This should be | |
| the same directory as manage.py. | |
| ''' | |
| # Get the file path of this script | |
| root = sys.path[0] |
| #! /bin/bash | |
| n=32 | |
| arg=setaf | |
| text='Hello World! This is %s %d' | |
| _help() | |
| { | |
| printf 'usage: %s [--help|-H] [--16] [--256] [-t|--tiny] [--background|-b]\n' "$(basename $0)" | |
| exit 0 |