- Run
docker run --rm -it -v "${PWD}/rclone:/config/rclone:rw" rclone/rclone:latest config
- Complete the authentication then
docker run --rm -v "${PWD}/rclone:/config/rclone:rw" rclone/rclone:latest ls remote:/
# services | |
services: | |
syncron: | |
image: rclone/rclone:latest | |
environment: | |
RCLONE_REMOTE: "remote:/" | |
RCLONE_SYNC_FOLDER: "/sync" | |
entrypoint: ["/bin/sh", "-c"] | |
command: | | |
' |
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
since := time.Now() | |
// cooking |
export default { | |
async fetch(request) { | |
// get a name | |
const name = await fetch("https://randommer.io/Name", { | |
"headers": { | |
"accept": "*/*", | |
"accept-language": "en-US,en;q=0.9", | |
"content-type": "application/x-www-form-urlencoded; charset=UTF-8", | |
"x-requested-with": "XMLHttpRequest" |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>WebSocket Client</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
</head> | |
<body class="bg-gray-100 p-2 sm:p-4 md:p-6 lg:p-8"> | |
<div class="max-w-7xl mx-auto bg-white rounded-xl shadow-md overflow-hidden"> |
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"os" | |
) | |
func main() { |
Note: use https://store.rg-adguard.net to download the file if you dont want to use microsoft store.
sudo dnf install ncurses which
// allow saving google.com/saved folder to a file | |
var href_list = []; | |
var cols = document.querySelectorAll(".OmLvtc") | |
cols.forEach((col) => { | |
var items = col.querySelectorAll(".EHB20b") | |
items.forEach((item) => { | |
href_list.push( | |
item.querySelector("a").getAttribute("href").indexOf("/url?q=") !== -1 ? decodeURI(item.querySelector("a").getAttribute("href").replace("/url?q=", "")) : decodeURI(item.querySelector("a").getAttribute("href")) | |
) |