TypeScript and Playground練習問題集更新情報
WIP
/* | |
* This is free and unencumbered software released into the public domain. | |
* | |
* For more information, please refer to <https://unlicense.org> | |
*/ | |
//Regular text | |
#define BLK "\e[0;30m" | |
#define RED "\e[0;31m" | |
#define GRN "\e[0;32m" |
TypeScript and Playground練習問題集更新情報
WIP
With its built-in Bluetooth capabilities, the ESP32 can act as a Bluetooth keyboard. The below code is a minimal example of how to achieve it. It will generate the key strokes for a message whenever a button attached to the ESP32 is pressed.
For the example setup, a momentary button should be connected to pin 2 and to ground. Pin 2 will be configured as an input with pull-up.
In order to receive the message, add the ESP32 as a Bluetooth keyboard of your computer or mobile phone:
about:config
in the URL bartoolkit.legacyUserProfileCustomizations.stylesheets
and double-click the field to set it to true
about:support
in the URL barProfile folder
field and click on the open button next to it.Demo video: youtube.com....
Act as software engineer and help me build one file application. Here's what I want to achieve.
It is a web crawler, which searches for alien conspiracy theories, stores the URL of the theory. Give the theory a headline and also short summary. Then continues to other links from that page. It must
remember visited sites, so it wouldn't go into circles.
import os.path | |
import aiohttp.web | |
async def get_tar(request): | |
''' | |
AIOHTTP server handler for GET request that wants to download files from a `directory` using TAR. | |
''' | |
directory = <specify the directory> | |
response = aiohttp.web.StreamResponse( |
/** | |
* Script to recursively delete all bookmarks using the Chrome Bookmarks Manager UI. | |
* This script continues to run until no more bookmarks are available. | |
* | |
* Instructions: | |
* 1. Open Chrome Bookmarks Manager: | |
* - Go to `chrome://bookmarks` in your Chrome browser. | |
* | |
* 2. Open Developer Tools: | |
* - Right-click anywhere on the page and select "Inspect" OR |
[ | |
{ | |
"Title": "Avatar", | |
"Year": "2009", | |
"Rated": "PG-13", | |
"Released": "18 Dec 2009", | |
"Runtime": "162 min", | |
"Genre": "Action, Adventure, Fantasy", | |
"Director": "James Cameron", | |
"Writer": "James Cameron", |
# mihomo (Clash Meta) 懒人配置 | |
# 版本 V1.15-241205 | |
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33 | |
# https://obdo.cc/meta | |
# 作者: 笨蛋ovo (bdovo.cc) | |
# Telegram: https://t.me/baka_not_baka | |
# 关注我的 Telegram 频道谢谢喵 https://t.me/s/BDovo_Channel | |
# 修改自官方示例规则 https://wiki.metacubex.one/example/#meta | |
# 转载请保留此注释 | |
# 尽量添加了较为详尽的注释,不理解的地方建议对照 虚空终端 (Clash Meta) Docs 进行理解 |
Twitter allows users to download parts of their data, see How to download your Twitter archive.
But what's not included in that data dump is the usernames/handles of the people that you follow or are following you. All you get is account IDs which is just an internal number and so a bit useless when it comes to archival.
Here's a way to get that data (you need to know how to run stuff in the terminal):