Posts By vishavjeet (52)

pip2 install using curl

sudo apt update

sudo apt upgrade

sudo add-apt-repository universe

>sudo apt install python2

>sudo apt install curl

>curl --output

>sudo apt install python3-pip

How can Change/Reset Repository

Check Remote Connection

> git remote -v

output similar to the following:

origin (fetch)

origin (push)

Set New Repo

>git remote set-url origin

Again Check Remote Connection

>git remote -v

origin (fetch)

origin (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 - | sudo apt-key add -

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

>echo "deb 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


First Previous 2 3 4 5 6 Next Last