How to use wget to download a file stored in Google Drive without making publicly shareable link of the specific file?

First make the file publicly shareable then:- I use for small files download wget –no-check-certificate ‘https://docs.google.com/uc?export=download&id=FILEID’ -O FILENAME for large files wget –load-cookies /tmp/cookies.txt “https://docs.google.com/uc?export=download&confirm=$(wget –quiet –save-cookies /tmp/cookies.txt –keep-session-cookies –no-check-certificate ‘https://docs.google.com/uc?export=download&id=FILEID’ -O- | sed -rn ‘s/.*confirm=([0-9A-Za-z_]+).*/\1\n/p’)&id=FILEID” -O FILENAME && rm -rf /tmp/cookies.txt But how to do it without making publicly shareable link? Note: wget is…

Details

Save File Dialog is Crashing web Browers (I’ve tried everyting I’ve found except reinstalling the OS from scratch)

Whenever I use the save file dialog in Firefox or Internet Explorer, the browser crashes. (Windows 10.) This problem does not occur with an non-browser programs. Things I’ve tried (from various sources): 1. Clean install of Firefox. Same result. 2. Tried Internet Explorer. Same result. 3. Tried Safe Mode, no networking. Same result. 4. Creating…

Details

Dagger 2 with ViewModel, Repository, Room and Coroutines

I’ trying to utilize Dagger 2 in a ViewModel + Respository + Room + Retrofit + Coroutines project written in Kotlin. Currently each ViewModel initializes required repositories and their dependences by itself like so class HomeViewModel( application: Application ) : AndroidViewModel(application) { private val repository: UserRepository = UserRepository( Webservice.create(), AppDatabase.getDatabase(application, viewModelScope).userDao() ) I would like…

Details