28
2021
08

Python SQLITE3 Database

#!/usr/bin/pythonimport osfrom google.colab import drivefrom google.colab import filesfrom google.colab import authauth.authenticate_user()from oauth2client.client import GoogleCredenti
28
2021
08

Colab prevent sleep

setInterval(function() {  document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect-icon").shadowRoot.querySelector("paper-button > iron-icon&quo
25
2021
08

Colab delete files and upload files to your destination folder

import osfrom google.colab import drivefrom google.colab import filesfrom google.colab import authauth.authenticate_user()from oauth2client.client import GoogleCredentialsdrive.mount(

17
2021
08

Python download photo with multithreads

import osfrom google.colab import drivefrom google.colab import filesfrom google.colab import authauth.authenticate_user()from oauth2client.client import GoogleCredentialsimport re

16
2021
08

AutoJs download photo with multithreads

//url = "https://imgbin.com/free-png/re-zero/"url = "https://imgbin.com/free-png/order-a-rabbit/1"var folder = "點兔/"//var folder = "Rezero/"var threadsTotal = 8 toast("圖片下載中"); var pagesTota

11
2021
08

Setting Refer from Internal Remark

~async function (){   delay = (ms) => { return new Promise(function(resolve){setTimeout(resolve,ms);    }); };  var No_of_Components =  parseInt(document.querySelector("#divDetail > sp

05
2021
08

multithreading + queue

import threadingimport timefrom queue import Queuefrom google.colab import drivefrom google.colab import filesfrom google.colab import authauth.authenticate_user()from oauth2c
01
2021
08

m3u8 download frame

!sudo apt install ffmpeg!pip install FFmpeg#pip install ffmpeg-pythonimport datetimeimport reimport threadingfrom queue import Queueimport requests,osfrom google.colab im