上一页 1 2 3 4 5 6 ··· 9 下一页

h5播放 加密m3u8文件

摘要: h5播放 加密m3u8文件 1. openssl rand 16 > enc.key 2. openssl rand 16 -hex # 获取字符串,key_info.txt 文件用 3. 新建文件:key_info.txt http://127.0.0.1:8080/enc.keyenc.keyd 阅读全文
posted @ 2024-12-30 18:28 少杨 阅读(176) 评论(0) 推荐(0)

error: RPC failed; curl 18 transfer closed with outstanding read data remaining

摘要: error: RPC failed; curl 18 transfer closed with outstanding read data remaining error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PRO 阅读全文
posted @ 2024-11-24 17:01 少杨 阅读(104) 评论(0) 推荐(0)

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

摘要: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools in 阅读全文
posted @ 2024-11-24 16:51 少杨 阅读(159) 评论(0) 推荐(0)

/usr/local/Cellar/ruby/3.3.6/lib/ruby/3.3.0/rubygems.rb:259:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::GemNotFoundException)

摘要: 问题: /usr/local/Cellar/ruby/3.3.6/lib/ruby/3.3.0/rubygems.rb:259:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) with executable pod (Gem::Ge 阅读全文
posted @ 2024-11-24 16:50 少杨 阅读(627) 评论(0) 推荐(0)

ionic 本地即时native测试

摘要: ionic 本地native测试 ionic cap run android --livereload --external --public-host=192.168.2.178 res/xml/network_security_config.xml <?xml version="1.0" enc 阅读全文
posted @ 2024-11-09 23:17 少杨 阅读(23) 评论(0) 推荐(0)

ionic android http 不能访问

摘要: ionic android http 不能访问,解决安卓不能访问http的问题 修改:capacitor.config.ts import type { CapacitorConfig } from '@capacitor/cli'; const config: CapacitorConfig = 阅读全文
posted @ 2024-11-09 12:13 少杨 阅读(42) 评论(0) 推荐(0)

ts 单例模式

摘要: ts 单例模式 class AudioManage { static audio: AudioManage|null = null constructor(){ console.log("constructor") } static Instance(){ // Audio.audio = new 阅读全文
posted @ 2024-11-05 11:21 少杨 阅读(8) 评论(0) 推荐(0)

python PyPDF2 切割PDF文件

摘要: python PyPDF2 切割PDF文件 from PyPDF2 import PdfReader, PdfWriter def split_pdf(in_file,out_file,orientation="vertical",percent=0.5): """ :param in_file: 阅读全文
posted @ 2024-10-21 12:30 少杨 阅读(79) 评论(0) 推荐(0)

android TextToSpeech status -1

摘要: android TextToSpeech status -1. 报错 在 manifest 里面添加,和 Application 平级<queries> <intent> <action android:name="android.intent.action.TTS_SERVICE" /> </in 阅读全文
posted @ 2024-09-20 20:03 少杨 阅读(163) 评论(0) 推荐(0)

warning: remote HEAD refers to nonexistent ref, unable to checkout

摘要: warning: remote HEAD refers to nonexistent ref, unable to checkout 检查出文件 git checkout main 阅读全文
posted @ 2023-11-06 15:50 少杨 阅读(119) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 9 下一页