Posts By vishavjeet (23)

How can Change/Reset Repository

Check Remote Connection

> git remote -v

output similar to the following:

origin https://github.com/user1/oldrepo.git (fetch)

origin https://github.com/user1/oldrepo.git (push)

Set New Repo

>git remote set-url origin https://github.com/user2/newrepo.git

Again Check Remote Connection

>git remote -v

origin https://github.com/user2/newrepo.git (fetch)

origin https://github.com/user2/newrepo.git (push)

How Can Upload Files/Images using Django Form

# Create your views here.

def html_view(request):

   if request.method == 'GET':

       return render(request, "form.html")

dd = request.FILES['image_url']

 dd2 = request.FILES['image_url2']

 dd3 = request.FILES['image_url3']

 dd4 = request.FILES['image_url4']

 images = [dd, dd2, dd3, dd4]

 for image in images:

   ProductImage.objects.create('product'=request.POST['product'], 'image_url': image)

return render(request, "form.html")

How can install anydesk on ubuntu/linux

Step1: Update Ubuntu System

>sudo su

>apt update

Step 2: Add AnyDesk repository

>wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -

Step3: Then add AnyDesk repository content to your Ubuntu system.

>echo "deb http://deb.anydesk.com/ all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list

Step 4: Install AnyDesk on Ubuntu

>apt update

>apt install anydesk

Step 5: Launch AnyDesk on Ubuntu

>anydesk

How can Install Any DESK in Ubuntu/linux

Run Script in CMD

>sudo su

>wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add -

>echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list

>apt update

>apt install anydesk

>anydesk

1 2 3 Next Last