Wesley13 Wesley13
3年前
iOS 用objective
如:123456789变为:123,456,789直接上代码(NSString)countNumAndChangeformat:(NSString)num{intcount0;longlongintanum.longLongValue;w
Stella981 Stella981
3年前
FFmpeg 简单合成 MP4 :视频解封与重新封装
教程代码:【Github传送门:https://github.com/ChenLittlePing/LearningVideo】目录一、Android音视频硬解码篇:1,
Wesley13 Wesley13
3年前
Java 子类 instanceof 父类
1.结论:子类instanceof父类true父类instanceof子类false2.测试代码@TestpublicvoidtestInstanceof(){//子类instanceof父类
Wesley13 Wesley13
3年前
asp.net中使用Global.asax文件中添加应用出错代码,写入系统日志文件或数据库
voidApplication_Error(objectsender,EventArgse){//在出现未处理的错误时运行的代码ExceptionobjErrServer.GetLastError().GetBaseException();//获取错误
Wesley13 Wesley13
3年前
Java ASM 简单例子
Test的代码比较简单publicclassTest{/\\\@paramargs\/publicstaticvoidmain(String\\args){test01();}staticvoidtest01(){System.out.println("HelloInTes
Wesley13 Wesley13
3年前
Java之super关键字
\toc\Java之super关键字话不多说,直接上代码:packagecom.my.pac14;/@autherSummerday/publicclassSuperTest{publicstaticvoidm
Stella981 Stella981
3年前
Egret引擎的常用倒计时
直接上代码,privatetimeControl(){lettimer:egret.Timersegret.Timer(1000);timer.addEventListener(egret.TimerEvent.TIMER,(event:egret.TimerEvent){
Wesley13 Wesley13
3年前
C# 生成二维码
 1、添加ThoughtWorks.QRCode.dll引用 2、代码usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Threading.Tasks;usingMicrosof
Stella981 Stella981
3年前
RocketMQ消息发送【源码笔记】(一)
1.消息发送代码需要设置produerGroup需要设置NameServer地址DefaultMQProducerproducernewDefaultMQProducer("melontst");producer.setNamesrvAddr("localhost:9876");producer.s
近屿智能 近屿智能
3个月前
AI 来势汹汹,程序员即将被替代?近屿智能带你了解真相!
今年,Anthropic创始人DarioAmodei预测,AI可能在三到六个月内编写90%的代码,一年内编写所有代码,甚至可能随机抢走世界50%的工作,这一预测引发人们的恐惧。不得不说,程序员已开始拥抱AI工具,如ClaudeCode和Cursor,它们能