- API
- status
- album cover image
- Player control
- next/prev
- seek
- volume(+/-/mute)
- shuffle/repeat mode
- Metadata
- status
- song info/full lyrics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import welcome from "welcome.html"; | |
/** | |
* @typedef {Object} Env | |
*/ | |
export default { | |
/** | |
* @param {Request} request | |
* @param {Env} env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
NC='\033[0m' | |
GREEN='\033[0;32m' | |
BLUE='\033[0;34m' | |
SOURCE_DIR=${1%/} | |
TARGET_DIR="${SOURCE_DIR}_scaled" | |
TARGET_512_DIR="${SOURCE_DIR}_512" | |
if [ -z "$SOURCE_DIR" ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Data] | |
DataCount=1 | |
[Data_1] | |
Comment=should never see | |
DataCount=5 | |
Enabled=false | |
Name=should never see | |
SystemGroup=2 | |
Type=ACTION_DATA_GROUP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from winrt.windows.foundation import Uri, TimeSpan | |
from winrt.windows.media import SystemMediaTransportControls, MediaPlaybackStatus, \ | |
SystemMediaTransportControlsDisplayUpdater, MediaPlaybackType, SystemMediaTransportControlsTimelineProperties | |
from winrt.windows.media.playback import MediaPlayer | |
from winrt.windows.storage.streams import RandomAccessStreamReference | |
if __name__ == '__main__': | |
player = MediaPlayer() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.9.32", | |
"description": "UNOFFICIAL client for music.163.com . Powered by Electron, Vue, and Muse-UI.", | |
"url": [ | |
"https://github.com/Rocket1184/electron-netease-cloud-music/releases/download/v0.9.32/electron-netease-cloud-music_v0.9.32.asar#/app.asar", | |
"https://npm.taobao.org/mirrors/electron/15.3.0/electron-v15.3.0-win32-x64.zip", | |
"https://raw.githubusercontent.com/Rocket1184/electron-netease-cloud-music/master/assets/icons/icon.ico#/ElectronNCM.ico" | |
], | |
"extract_to": [ | |
"", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
#*-- coding:utf8 -- | |
import aiohttp | |
import asyncio | |
import json | |
json_str = '' | |
async def main(): | |
session = aiohttp.ClientSession() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"inbounds": [ | |
{ | |
"tag": "transparent", | |
"port": 1080, | |
"protocol": "dokodemo-door", | |
"settings": { | |
"network": "tcp,udp", | |
"followRedirect": true | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Network presets | |
declare -A address="" | |
declare -A proxy="" | |
adb_connect() { | |
adb start-server | |
connected_devices=$(($(adb devices | wc -l)-2)) | |
if [ $connected_devices = "0" ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
#*-- coding: utf-8 --* | |
import json | |
import argparse | |
import time | |
import hmac | |
import hashlib | |
import base64 | |
from urllib import parse, request |
NewerOlder