Open git bash with admin privilege.
cd "C:/Program Files/Git/usr/share/mintty"
mkdir -p emojis
cd emojis
curl https://raw.githubusercontent.com/wiki/mintty/mintty/getemojis > getemojis
./getemojis -dOpen git bash with admin privilege.
cd "C:/Program Files/Git/usr/share/mintty"
mkdir -p emojis
cd emojis
curl https://raw.githubusercontent.com/wiki/mintty/mintty/getemojis > getemojis
./getemojis -d| #!/bin/bash | |
| set -e | |
| set -o pipefail | |
| # Install 1Password password manager | |
| sudo apt update && sudo apt install 1password -y | |
| # Install vanilla GNOME desktop environment (without Ubuntu modifications) | |
| sudo apt purge pipewire-alsa pipewire-audio -y | |
| sudo apt install vanilla-gnome-desktop vanilla-gnome-default-settings -y |
| /** | |
| * 使用步驟: | |
| * 瀏覽器新增書籤,並在網址欄位放入以下程式碼 | |
| * 後續只要在 risu 播放影片的頁面點擊書籤即可自動下載 | |
| * 若有密碼,須先自行輸入密碼後,進入播放影片的頁面方可有效 | |
| */ | |
| javascript: function downloadBlobs(blob){const blobUrl=new URL(blob);const url=new URL(blobUrl.pathname);const fileName=url.pathname.replace(/^\//g,"")||"video";const a=document.createElement("a");a.href=blob;a.download=`${fileName}.mp4`;a.click()}downloadBlobs(document.getElementsByTagName("video")[0].src); |
| # WSL通过Win访问网络,所以WSL的网关指向的是Windows,DNS服务器指向的也是Windows,设置WSL的proxy为win的代理ip+端口即可 | |
| # WSL中的DNS server在/etc/resolv.conf中查看,该文件是由/etc/wsl.conf自动生成的。 | |
| # 如果关闭了wsl.conf中自动生成resolve.conf并自行修改了resolve.conf,DNS nameserver并不是本机win ip | |
| # 需要开启wsl.conf的自动生成,再运行以下命令 | |
| # https://zhuanlan.zhihu.com/p/153124468 | |
| # 添加到环境变量设置中,例如~/.zshrc | |
| export hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*') | |
| export https_proxy="http://${hostip}:7890" | |
| export http_proxy="http://${hostip}:7890" |
| /* https://userstyles.org/styles/133201/hacker-news-readable */ | |
| /* reset */ | |
| body, td, table, input, textarea, .pagetop, * | |
| { | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| font-weight: 400; | |
| -webkit-font-smoothing: antialiased; | |
| } |
UIA is the way around UIPI ([User Interface Privilege Isolation][1]) which in simple terms is a way of bypassing the security built into Windows to avoid applications interacting with other applications that have a higher integrity level (security).
In other words, when you run a script it cannot communicate with the system or elevated (running as Administrator) processes; this is to avoid insecure and non-sanctioned interactions.
使用JAV金鸡儿奖官网附带的工具JAV SQL 查询器,可查询各种类别的JavDB TOP250影片:
及分年数据(存在部分重复影片,原始数据的问题):
如何获得蓝标认证?
蓝标认证事实上基于 NIP-05 标准,您可以在任意自己掌控的位置内进行认证。
方法如下:
.well-known/nostr.json 文件{"names":{"<username>":"<public_key>"}}Profile -> Edit -> NIP-05 VERIFICATION 键入 username@domainSave| const _net_count = 15641; | |
| const _net_list = [ | |
| {"net": 0x01000000, "prefix": 24}, {"net": 0x01000400, "prefix": 22}, {"net": 0x01001000, "prefix": 20}, {"net": 0x01004000, "prefix": 18}, | |
| {"net": 0x01008000, "prefix": 17}, {"net": 0x01010100, "prefix": 24}, {"net": 0x01014000, "prefix": 18}, {"net": 0x01018000, "prefix": 17}, | |
| {"net": 0x01020300, "prefix": 24}, {"net": 0x01028000, "prefix": 17}, {"net": 0x01040000, "prefix": 24}, {"net": 0x01048000, "prefix": 17}, | |
| {"net": 0x01050000, "prefix": 16}, {"net": 0x01060000, "prefix": 15}, {"net": 0x01090000, "prefix": 16}, {"net": 0x010a0a00, "prefix": 24}, | |
| {"net": 0x010a8000, "prefix": 17}, {"net": 0x010b0000, "prefix": 16}, {"net": 0x01100000, "prefix": 13}, {"net": 0x01200000, "prefix": 13}, | |
| {"net": 0x01280000, "prefix": 14}, {"net": 0x012c0000, "prefix": 16}, {"net": 0x012e0000, "prefix": 15}, {"net": 0x01340000, "prefix": 14}, | |
| {"net": 0x01400000, "prefix": 14}, {"net": 0x01480000, "prefix": 13}, {"net": 0x016 |
| // Website you intended to retrieve for users. | |
| const upstream = 'api.openai.com' | |
| // Custom pathname for the upstream website. | |
| const upstream_path = '/' | |
| // Website you intended to retrieve for users using mobile devices. | |
| const upstream_mobile = upstream | |
| // Countries and regions where you wish to suspend your service. |