第5月第18天视频编辑水印

lianhuaren lianhuaren     2022-08-22     539

关键词:

1.

//*********** For A Special Time
    CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"opacity"];
    [animation setDuration:0];
    [animation setFromValue:[NSNumber numberWithFloat:1.0]];
    [animation setToValue:[NSNumber numberWithFloat:0.0]];
    [animation setBeginTime:5];
    [animation setRemovedOnCompletion:NO];
    [animation setFillMode:kCAFillModeForwards];
    [overlayLayer addAnimation:animation forKey:@"animateOpacity"];

 

http://blog.csdn.net/lvmaker/article/details/51945254

第5月第6天nsoperationisconcurrent

1. @implementationAFURLConnectionOperation...-(BOOL)isConcurrent{returnYES;} NSOperation调用start方法即可开始执行操作,NSOperation对象默认按同步方式执行,也就是在调用start方法的那个线程中直接执行。NSOperation对象的isConcurrent方法会告诉我... 查看详情

第9月第5天avvideoaveragebitratekey

1.https://stackoverflow.com/questions/11751883/how-can-i-reduce-the-file-size-of-a-video-created-with-uiimagepickercontroller http://www.jianshu.com/p/61a9030adeef 查看详情

第42月第5天swiftplaygroundsmac版上线

1.SwiftPlaygroundsMac版上线https://apps.apple.com/cn/app/swift-playgrounds/id1496833156?mt=12&ign-mpt=uo%3D4https://zhuanlan.zhihu.com/p/106538941 查看详情

第18月第25天github下载单个文件夹

1.用SVN即可.举例说明:譬如这个项目:Mooophy/Cpp-Primer·GitHub,我只想看ch03文件夹的代码怎么办?先打开ch03,其URL为:"https://github.com/Mooophy/Cpp-Primer/tree/master/ch03"(这里添加空格,为了防止知乎智能识别)将/tree/master/换成/trunk/.(这个以前... 查看详情

第25月第2天django项目01

1.exportPATH="$PATH":/Applications/XAMPP/xamppfiles/bin/ sudoln-s/Applications/XAMPP/xamppfiles/lib/libmysqlclient.18.dylib/usr/lib/libmysqlclient.18.dylib  更新20160318的node  3 查看详情

第9月第3天uilabelcontentscale

1. http://blog.csdn.net/u012703795/article/details/43706449 查看详情

第9月第30天mvp

1. importUIKitstructPerson{//ModelletfirstName:StringletlastName:String}protocolGreetingView:class{funcsetGreeting(greeting:String)}protocolGreetingViewPresenter{init(view:GreetingView,person:Per 查看详情

第16月第27天pipinstallvirtualenv

1.pipinstallvirtualenvvirtualenvtestvircdtestvircdScriptsactivatepipinstalldjango==1.9.8 https://zhuanlan.zhihu.com/p/32286726 查看详情

当月第一天最后一天下月第一天,时间date

时间记录,不是时间戳1$thismonth=date(‘m‘);2$thisyear=date(‘Y‘);3$startDay=$thisyear.‘-‘.$thismonth.‘-1‘;4$endDay=$thisyear.‘-‘.$thismonth.‘-‘.date(‘t‘,strtotime($startDay));//当月最后一天5$time1=date(‘Y-m-1H:i:s‘,str 查看详情

第2月第24天coretext行高

1.NSMutableAttributedString 行高 NSMutableAttributedString*attributedString=[[NSMutableAttributedStringalloc]initWithString:labelText];NSMutableParagraphStyle*paragraphStyle=[[NSMutableParagra 查看详情

第10月第28天touchesbegan

1.-(void)touchesBegan:(NSSet*)toucheswithEvent:(UIEvent*)event{[[selfnextResponder]touchesBegan:toucheswithEvent:event];[supertouchesBegan:toucheswithEvent:event];}-(void)touchesMoved:(NSSet*)touchesw 查看详情

第37月第29天avplayer截屏

1.-(void)displayLinkCallback:(CADisplayLink*)sender{CMTimetime=[snapshotOutputitemTimeForHostTime:CACurrentMediaTime()];if([snapshotOutputhasNewPixelBufferForItemTime:time]){lastSnapshotPixelBuffer=[s 查看详情

第16月第3天afurlsessionmanager

1. -(AFURLSessionManagerTaskDelegate*)delegateForTask:(NSURLSessionTask*)task{  NSParameterAssert(task);   AFURLSessionManagerTaskDelegate*delegate=nil;  [self. 查看详情

第25月第11天deeplearning.ai

1.网易云课堂深度学习工程师点击进入课程地址(英文)(收费)点击进入课程地址(中文)(免费)第一门神经网络和深度学习第二门改善神经网络第三门结构化机器学习项目第四门卷积神经网络第五门序列模型  查看详情

第11月第14天openglyuv

1.Hereissomesnippetsofcodefrommyproject‘movieplayerforiOS‘.1.fragmentshadervaryinghighpvec2v_texcoord;uniformsampler2Ds_texture_y;uniformsampler2Ds_texture_u;uniformsampler2Ds_texture_v;voidmain(){hig 查看详情

第26月第3天javagradle

1.430/Applications/AndroidStudio.app/Contents/gradle/gradle-2.8/bin/gradle-v434mkdirgradle01435cdgradle01 437 /Applications/AndroidStudio.app/Contents/gradle/gradle-2.8/bin/gradleinit--typ 查看详情

第16月第10天pocotarget

 1.voidTCPServer::start(){  poco_assert(_stopped);   _stopped=false;  _thread.start(*this);} voidThread::start(Runnable&target){startImpl(target);}...v 查看详情

第32月第12天blockstop(代码片段)

1.-(NSMutableArray*)filterUsingBlock:(BOOL(^)(idobj,NSUIntegeridx,BOOL*stop))blockif(!block)return[selfmutableCopy];NSMutableArray*result=[NSMutableArrayarray];NSUIntegeridx=0;BOOLstop=NO;for(idobj 查看详情