Vue element Multilingual Settings

In the project, you need to customize the Chinese / English switch. Based on vue.js, combined with vue-i18n and ElementUI, the following are the usage methods. ElementUI internationalization link: http://element-cn.eleme.io/#/... vue-i18n: https://github.com/kazupon/vu... Installation: npm install vue-i18n vue.js+vue-i18n int ...

Posted by Xo_ on Sun, 05 Jan 2020 06:41:50 -0800

Easy to use Popupwindow by Kotlin

Summary XPopupWindow, which further encapsulates and strengthens the PopupWindow of the system for easy use. With Kotlin language, many additional functions are provided, such as setting the position of the pop-up window, adjusting the animation of the pop-up window and so on. Project address XPopupWindow preview C ...

Posted by Seraph on Sun, 05 Jan 2020 00:00:10 -0800

Simple use of Realm database in iOS development

1. installation Download address of realm GitHub If you use cocoapods, the sample statement is as follows platform :ios, '8.0' target 'Simona_Realm' do pod 'Realm', '~> 3.0.0-beta.3' end 2. Create a simple model, inherit from RLMObject, and all models stored in the database need to inherit from RLMObject Pers ...

Posted by RON_ron on Sat, 04 Jan 2020 22:59:09 -0800

Double click to exit (press again to exit) the app

brief introduction One of the common requirements in development is to exit the application. Now, there are two situations. One is to click the return key to pop up a prompt box, to exit the application, such as UC browser and Cheetah browser. The other is to double-click within a certain time interval to exit the application. ...

Posted by beamerrox on Sat, 04 Jan 2020 21:10:49 -0800

Qt Writing Baidu Map Comprehensive Application (Online+Offline+Region)

1. Preface In many applications, there will be a map module. Map-related applications and apps are also very many. The most widely used are navigation. Maps are basically divided into online and offline. Online maps are generally real-time, data is up-to-date, fast route is accurate, the disadvantage is that it consumes traffic, always needs to ...

Posted by craigbabe on Sat, 04 Jan 2020 16:30:16 -0800

Android ring progress bar

Share a circular progress bar for your reference, project address https://download.csdn.net/download/weixin_40998254/10595267 The effect is as follows The following is the code of the custom progress bar. It is a simple version at present, but the comments are very detailed and easy to expand. The first is the code of cus ...

Posted by ev5unleash on Sat, 04 Jan 2020 14:20:39 -0800

Kubernetes/6.Pod Resource Management

1. Labels Labels are "key value" types of data that can be specified directly at the time of resource creation or added on demand at any time, and then checked for matching by the tag selector to complete resource selection. You need to be aware of: An object can have more than one tag, and the same tag can be added to more than one ...

Posted by PHP Novice on Sat, 04 Jan 2020 09:35:40 -0800

The use of Java micro benchmark framework JMH

After checking the usage of JMH, many blogs have to be very complicated. This step is quite simple for me Using Intellij IDEA2018.2 as the integrated development environment, JMH version is 1.21 Note that when building a project, you must create a maven project and directly import the two jar s, jmh core and jmh generator ann ...

Posted by Wolphie on Sat, 04 Jan 2020 09:27:05 -0800

Android Studio released aar to Jcenter, plug-in could not be found

Reference resources: https://www.jianshu.com/p/5be222e98efc?from=jiantop.com / / used by gradle https://github.com/nuuneoi/JCenter/blob/master/installv1.gradle / / dependent on gradle location   Objectives: Previously, Android Studio released aar to Jcenter. For details, please refer to: https://blog.csdn.net/u014803950/ar ...

Posted by kruahsohr on Fri, 03 Jan 2020 13:53:29 -0800

Learning ios Metal(2) - drawing points with adjustable size

Introduction to basic knowledge of metal, the first Metal By Example series: http://metalbyexample.com/ . Related articles of the blogger mainly give typical problems encountered in engineering practice and solutions.         Source code of this section: https://github.com/sjy234sjy234/Learn-Metal/tree/master/MetalPoint . M ...

Posted by Awestruck on Fri, 03 Jan 2020 09:41:59 -0800