Wednesday 6 November 2019

powershell enable Linux features

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Monday 1 July 2019

Download splited video files with m3u8

By doing following

download and combine


ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://xxx.com/upload/43f6fd9740cfaac0fb73a04fad3c4c96.m3u8" -c copy filename.mp4

further reading
https://www.makeuseof.com/tag/aria2-fast-multiprotocol-power-downloader-app/
aria2c -x 4 -j 4 -Z -P http://server/image[000-100].png 

Sunday 30 June 2019

Simulator unable to boot

Environment:
xcode 10.2


solution:


rm -rf ~/Library/Developer/XCPGDevices
rm -rf ~/Library/Developer/CoreSimulator



Friday 28 June 2019

ld: symbol(s) not found for architecture x86_64


Building iOS12 project with xcode 10

getting error as following

ld: symbol(s) not found for architecture x86_64

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_OpenAdapter", referenced from:
      objc-class-ref in PacketTunnelProvider.o
ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

solution 1:  make sure problematic files have targeted proper app in properties windows


solution 2: