iHTCboy 最近的时间轴更新
iHTCboy's repos on GitHub
Swift · 75 人关注
acextract
A tool to list and extract content from Assets.car file.
Objective-C · 31 人关注
BackBarWebBrowser
仿微信浏览网页时返回显示“关闭”按钮
Objective-C · 8 人关注
CampusOfGLUT
iOS应用:桂林理工大学——校园通【已经开源,App Store可下载】
7 人关注
HelloWorld
Record here I often use Website, for learning and development, have very big help, also can quickly enter the corresponding Website, don't need to bookmark. GitHub is my favorite! 这里记录了我经常使用的网址,对于学习和开发,都有很大帮助,也能快速进入相应网站,不要需要书签,登陆本页即可。GitHub是我的最爱!我的主页:
Swift · 6 人关注
iEnglish
iEnglish is English Beginner App for iOS, iPadOS, macOS
Objective-C · 5 人关注
GLUTCloud
iOS应用:桂林理工大学云地图【已经开源,App Store可下载】
HTML · 4 人关注
iHTCboy.github.io
Writing 1000 Words a Day Changed My Life
Objective-C · 2 人关注
Dash-iOS
Dash gives your iPad and iPhone instant offline access to 150+ API documentation sets
2 人关注
iGallery
For personal image management.
Python · 1 人关注
ChatGPT
custom request chat example with https://chat.openai.com
Swift · 1 人关注
CommandLine
A pure Swift library for creating command-line interfaces
Objective-C · 1 人关注
CoreSpotlightSearchDemo
Especial CoreSpotlightSearchDemo
Objective-C · 1 人关注
DTPowerApi
Open source Api Debug editor for OS X 、macOS
Objective-C · 1 人关注
GLUTJWStuderForiPad
桂林理工大学教务系统-学生版 for iPad
Java · 0 人关注
com.netease.vopen
Netease open course was leaked android client source.
0 人关注
document-style-guide
中文技术文档的写作规范
0 人关注
EFCountingLabel
Adds animated counting support to UILabel.
Objective-C · 0 人关注
FullScreenBrowser
一个超实用的全屏浏览器 iOS App
Vue · 0 人关注
Geeker-Admin
✨✨✨ Geeker Admin,基于 Vue3.3、TypeScript、Vite4、Pinia、Element-Plus 开源的一套后台管理框架。
Swift · 0 人关注
gifski-app
Convert videos to high-quality GIFs on your Mac
Objective-C · 0 人关注
GLUTJWStuderForiPhone
桂林理工大学教务系统-学生版 for iPhone
Objective-C · 0 人关注
GLUTJWTeacherForiPad
桂林理工大学教务系统-教师版 for iPad
Objective-C · 0 人关注
GLUTJWTeacherForiPhone
桂林理工大学教务系统-教师版 for iPhone
JavaScript · 0 人关注
hexo-theme-yilia
一个简洁优雅的hexo主题 A simple and elegant theme for hexo.
Objective-C · 0 人关注
HUD-Guidance-Demo
HUD-Guidance with JGProgressHUD、MBProgressHUD、Toast
0 人关注
iApp
my App link and data repository
0 人关注
iDesign
My design Appicon or advertisement banner so on.
0 人关注
iDocuments
iDocuments:Wonderful document pdf or ppt , etc.
0 人关注
iForum
A Python Django forum APP
0 人关注
iHTCboy
my GitHub
iHTCboy

iHTCboy

V2EX 第 136967 号会员,加入于 2015-09-05 23:32:26 +08:00
iHTCboy 最近回复了
没什么。努力学习吧
2023-01-25 17:34:59 +08:00
回复了 Greatshu 创建的主题 分享发现 小米手机用户慎重升级 MIUI 12.5
今天才发现这个问题,国内的安卓商店没有的 app ,想用 google play 下载,才发现打不开了。。。。
2021-02-28 17:29:30 +08:00
回复了 xloger 创建的主题 程序员 吐槽一下 App 上架国内应用市场
太坑了,腾讯应用宝还要上传 32 位应用,这坑的不行,还要版权证明。算了,还是华为厚道,已经在测试审核了,腾讯要完吧,决定不在上腾讯,没有用的东西!
2020-09-22 10:57:02 +08:00
回复了 shawnzhong 创建的主题 Apple Apple DTK 细节流出
用 Apple Configurator 2 还原 DTK 失败,

在论坛看到,需要注意点:
这 2 软件需要 beta 版本:
Apple Configurator beta 4 or 5
Xcode 12 beta 6 or 12.2 beta


否则就会遇到报错:
The operation couldn’t be completed. (AMRestoreErrorDomain error 10 - Failed to handle message type StatusMsg) [AMRestoreErrorDomain – 0xA (10)]


其实官网有教程:

https://download.developer.apple.com/Documentation/Universal_App_Quick_Start_Program_Resources/Restoring_Developer_Transition_Kit.pdf

### Restoring Developer Transition Kit
Instructions
1. Download and Install prerequisites
- Your host Mac may be running macOS Catalina 10.15.5 or later
- Download Xcode 12 beta 1 and Apple Configurator 2.13 beta 1 from developer.apple.com
- Launch Xcode 12 beta 1 and allow components to install
- Quit Xcode 12 beta 1 and launch Apple Configurator 2.13 beta 1 2. Place the device in DFU mode
- Shutdown the device
- Unplug the power cable
- Hold the Power button
- While holding the power button, reconnect the power cable - Continue holding the power button for 2-3 seconds
3. Connect to Host Mac
- Use a USB-C cable (USB-C charge cable is fine)
- Connect to USB-C port closest to HDMI port on the device - Launch Apple Configurator 2.13 beta 1
- Ensure the device is present in the devices window
4. Restoring the device
- Drag the IPSW file dowloaded from developer.apple.com over to the device
- Select “Restore” from the alert that appears
- The restore process will now begin. The restore process will take some time. Even if the Apple Configurator progress bar isn’t moving, progress is being made. You should also see a progress bar on the device if a display is connected
- The progress sheet in Configurator may not dismiss until the device is in macOS Setup Assistant
2020-08-26 20:12:24 +08:00
回复了 leeiio 创建的主题 macOS 无法更新到 macOS 10.15.3,有相同遭遇的没?
发现最新的 macOS 10.15.6 在这里下载啊 [Apple - 技术支持 - 下载]( https://support.apple.com/zh_CN/downloads)
2020-03-09 14:52:13 +08:00
回复了 qianyi0129 创建的主题 问与答 如何下载 m3u8 视频?
格式没有了-x-,还是补一个原格式的: https://gist.github.com/iHTCboy/ba60fab028de5eff266dd3e70d70eff2
2020-03-09 14:50:55 +08:00
回复了 qianyi0129 创建的主题 问与答 如何下载 m3u8 视频?
Python 来一波!

```python3

import os
import requests

# 下载 m3u8 格式的视频
def download_m3u8(video_download_url, multimedia_path):
print("start download video")
all_content = requests.get(video_download_url).text # 获取 M3U8 的文件内容
file_line = all_content.split("\n") # 读取文件里的每一行
length = len(file_line)
print('video length:', length)
# 通过判断文件头来确定是否是 M3U8 文件
if file_line[0] != "#EXTM3U":
raise BaseException(u"非 M3U8 的链接")
else:
unknow = True # 用来判断是否找到了下载的地址
for index, line in enumerate(file_line):
if "EXTINF" in line:
unknow = False
# 拼出 ts 片段的 URL
pd_url = video_download_url.rsplit("/", 1)[0] + "/" + file_line[index + 1]
res = requests.get(pd_url)
print(length, '-', index)
with open(multimedia_path, 'ab') as f:
f.write(res.content)
f.flush()
if unknow:
raise BaseException("未找到对应的下载链接")
else:
print("video download finish~")


```
2020-03-01 18:04:46 +08:00
回复了 Jimmy6luo8 创建的主题 问与答 刚刚查了一下,移动 8 元保号有效期只到 2037 年,怎么办?
当然还有一个遥不可及的问题。10000 年问题( Year 10000 Problem,简称 Y10K )是所有软件可能在表示五位数年份时发生的问题的总称。在 2000 年问题引起人们关注的一段时间中,10000 年问题曾被以幽默的方式被人们在媒体中披露。实际上,在 10000 年时,由于未来科技及软件的进步-不再只以少数几个数字表示年份,这可能不再是个问题。

关于时间的故事真多!😂更搞笑的是,日本在 2019 年改元为令和时,不但要更改年号,而且昭和时代年号计算的“新千年虫”(昭和 100 年)马上就要来临!

1999 年年底,在全世界程序员在为千年虫问题焦虑的的时候,日本程序员却灵机一动:如果继续沿用昭和( 1926 年开始)年号的话,千年虫会足足延后 25 年(延至 2025 年)。

详细可看 [为什么改元“令和”,竟然成了日本程序员的魔咒?_凤凰网科技_凤凰网]( https://tech.ifeng.com/c/7mMvXe6e4T0)
2020-03-01 12:56:54 +08:00
回复了 Jimmy6luo8 创建的主题 问与答 刚刚查了一下,移动 8 元保号有效期只到 2037 年,怎么办?
2038 年问题 又叫 Unix 千年臭虫 或 Y2K38 错误。

32 位元作业系统上,此「 time_t 」资料模式使用一个有正负号的 32 位元整数( signed int 32 )储存计算的秒数。

也就是最大值(二进制):01111111 11111111 11111111 11111111

换成十进制(时间戳):2147483647 (秒)

换成北京时间:2038-01-19 11:14:07

过了那个时间后,由于整数溢出


时间值将作为负数来存储:10000000 00000000 00000000 00000000

系统会将日期读为 1901 年 12 月 13 日,而不是 2038 年 1 月 19 日!

到那一天,使用标准时间库的 C 程序会开始出现日期问题!

当然

新的 64 位元运算器可以记录有正负号的 64 位元整数,可以将日期延长至今后的 2920 亿年!

北京时间:292,277,026,596 年 12 月 4 日 23:30:08

最后

32/64 位操作系统、32/64 位应用程序和 32/64 位整型类型之间是个什么关系呢?
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2221 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 02:19 · PVG 10:19 · LAX 19:19 · JFK 22:19
Developed with CodeLauncher
♥ Do have faith in what you're doing.