Tag:Duration

  • Alibaba cloud server Guide

    Time:2020-11-13

    Alibaba cloud server Guide Due novel coronavirus pneumonia, the school postponed the school. Don’t waste your time at home. It’s a good opportunity to improve your skills. Alibaba cloud elastic computing cooperates with the developer community to launch the “practice at home” program in Colleges and universities. Students in Colleges and universities across the country […]

  • Linux Shell FFmpeg

    Time:2020-10-20

    Common codes ffmpeg -i input.mov -s 800×450 -b 1M -vcodec h264 -acodec aac output.mp4 Cutting screen #Width: width #Height: height #Left: left margin #Top: top margin ffmpeg -i input.mp4 -vf crop=[width]:[height]:[left]:[top] -b 1M -vcodec h264 output.mp4 #Keep the bottom left quarter # iw: input width # ih: input height # ———– # | | | […]

  • Slide in and slide out effect at the bottom of the applet

    Time:2020-9-9

    You can use it by copying it directly wxml Click here wxss /*Modal box*/ .modal{position:fixed; top:0; right:0; bottom:0; left:0; z-index:1000;} .modal-cancel{position:absolute; z-index:2000; top:0; right:0; bottom: 0; left:0; background:rgba(0,0,0,0.3);} .bottom-dialog-body{width:100%; position:absolute; z-index:3000; bottom:0; left:0;background:#dfdede;} /*Initial position before animation*/ .bottom-positon{-webkit-transform:translateY(100%);transform:translateY(100%);} /*Bottom pop up*/ .bottom-positon{ text-align: center; } .huakuai{ margin-bottom: 20rpx; height:574rpx; width:100%; padding-top:50rpx; background:#fff; } wx.js data: […]

  • FAQ: timewait

    Time:2020-9-7

    How does timewait come into being? Which party actively closes first will generate timewait. If the server actively closes, it will be generated on the server side. And it will last for two MSLS (one MSL usually defaults to 30s) The harm and prevention of timewait If there are too many timewaits, there will be […]

  • Using mylayout to improve layout performance and support international layout

    Time:2020-8-5

    The IOS interface layout libraries mylayout and Tangram kit have been upgraded to GitHub and cocoapod. This new version is updatedThe two highlights are that the performance of the interface layout has been greatly improved and the support of RTL layout in Arab countries is needed。 Performance improvement. It’s no use talking too much. The […]

  • Gubernator: cloud native distributed rate limit of microservices

    Time:2020-8-4

    Today, mailgun is happy to open source gubernator, a high-performance distributed speed limiting microservice. What would gubernatore do? Features Gubernator distributes rate limiting requests evenly across the cluster, which means you can scale your system by simply adding more nodes. Gubernator does not rely on external caches such as Memcache or redis, so there is […]

  • Based on Python and selenium brush online course code

    Time:2020-8-2

    It is mainly realized by using selenium’s search and location, and through the time.sleep To control the timewebsite: http://hrbj.21tb.comThe courses are very good. They are all paid courses on other websites. (I have to sigh with regret that the railway system is treated well. What other people want to buy and ask for is too […]

  • Drawing bar chart with CSS flex layout

    Time:2020-7-11

    For flex layout, see my illustration flex layout This paper is based on the framework: wechat applet, uniapp( Vue.js )、SCSS。 The principle is the same, I don’t convert to native Vue.js And CSS. Principle: Template: v-for=”i in 5″Cycle display 5 bar :style=”{ ‘height’: readingHoursHeight[i] + ‘px’Set the bar height dynamically according to the data of […]

  • SafeType config use

    Time:2020-6-10

    I’m writing Spark Program recently. I want to find a configuration management library. I found this. Record the simple use 1. Add Maven dependency <dependency> <groupId>com.typesafe</groupId> <artifactId>config</artifactId> <version>1.3.2</version> </dependency> 2. Load configuration through configfactory val config = ConfigFactory.load(resourceBasename) Load without parameters application.confYou can load multiple configuration files and merge two configuration instances with fallback val […]

  • Four examples of mending animation in Android (with code download)

    Time:2020-5-20

    scene Four kinds of mending animation in Android. Transparency gradient animation     Rotate animation     Scale animation     translating animation     Note: Blog:https://blog.csdn.net/badao_liumang_qizhi Official accountDomineering procedural apeGet programming related ebooks, tutorials and free downloads. realization Transparency gradient animation First, add an ImageView to the layout file, and set the picture source […]

  • Soft technology class: jQuery effect fade in and fade out

    Time:2020-5-19

    JQuery fading method With jQuery, you can implement the fade in and fade out effect of elements. JQuery has the following four fade methods: fadeIn() fadeOut() fadeToggle() fadeTo() Jquery fadein() method Jquery fadein() is used to fade in hidden elements. Syntax: $(selector).fadeIn(speed,callback);   The optional speed parameter specifies the duration of the effect. It can […]

  • The underlying principles of several core mechanisms of redis

    Time:2020-5-18

    1. S & O down Two down states: s-down and o-down   (1) and s down are subjective downtime. If a sentinel thinks a master is down, it is subjective downtime Sdown achieves a simple condition. If a sentry Ping a master exceeds the number of milliseconds specified by is master down after milliseconds, the master […]