-
Use the Download button on www.cursor.com web site. It will download the
NAME.AppImagefile. -
Copy the .AppImage file to your Applications directory
cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImageUse the Download button on www.cursor.com web site. It will download the NAME.AppImage file.
Copy the .AppImage file to your Applications directory
cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage| import requests | |
| import re | |
| import sys | |
| import json | |
| def obtain_ids(user): | |
| response = requests.get('https://www.instagram.com/' + user) | |
| appid = re.search('appId":"(\d*)', response.text)[1] | |
| serverid = re.search('server_revision":(\d*)', response.text)[1] |
| from enum import auto | |
| from typing import List, Optional | |
| from collections import Counter | |
| from fastapi_utils.enums import StrEnum | |
| from fastapi_utils.inferring_router import InferringRouter | |
| from pydantic import BaseModel | |
| from fastapi import HTTPException, Query, Depends | |
| router = InferringRouter() |
| [settings] | |
| EMAIL_HOST_USER[email protected] | |
| EMAIL_HOST_PASSWORD=your_app_password_here |
| # First you update your system | |
| sudo apt update && sudo apt-get dist-upgrade | |
| # Uninstall unnecessary programs | |
| sudo apt purge epiphany-browser epiphany-browser-data #browser | |
| sudo apt purge pantheon-mail | |
| # Bring back Software and Updates from Ubuntu | |
| sudo apt-get install software-properties-gtk | |
| # Properties Commons (to install elementary tweaks) |
| axios({ | |
| url: 'http://localhost:5000/static/example.pdf', | |
| method: 'GET', | |
| responseType: 'blob', // important | |
| }).then((response) => { | |
| const url = window.URL.createObjectURL(new Blob([response.data])); | |
| const link = document.createElement('a'); | |
| link.href = url; | |
| link.setAttribute('download', 'file.pdf'); | |
| document.body.appendChild(link); |