• Warnings encountered during Vue project packaging (need to be optimized)


    Record the problems encountered in today’s deployment codeInpm run buildThe prompt error is shown in the figure below:Translated as follows:It’s a dependency inequality and compatibility problem. At this time, my colleague asked me to delete itpackege-lock.json, a new one appears after deletionwarning, similar to the following figure (my own error reporting steps were CLS by […]

  • Win10 internal update: warn users not to use chrome and Firefox


    Brief comment: don’t make an appointment with chrome and Firefox. My edge is more beautiful, my ass is more cocky and sexy… Microsoft is testing an update to windows 10: warning users not to install chrome and Firefox. This is the new warning that testers found. If you want to install a competitor’s browser, a […]

  • Some uses of cocoapods in daily development


    I’ve been useful in my recent work, so I’ll sort out my knowledge points by the way.Reference link 1. Specify source Cocoapods supportSpecWarehouse, you can build your ownsource, you can also use unofficial sources, as long as they comply with the regulations. Private library creation source ‘ https://github.com/624990742/SwiftBase/Specs.git ‘// own private source ‘ https://github.com/CocoaPods/Specs.git ‘// […]

  • VI operation under Linux found a swap file by the name


    When I use VI to open test under Linux Java file The following message appears: E325: ATTENTION Found a swap file by the name “.Test.java.swp” owned by: root dated: Wed Dec 7 13:52:56 2011 file name: /var/tmp/Test.java modified: YES user name: root host name: localhost process ID: 26153 (still running) While opening file “Test.java” dated: […]

  • [share] IOS Development — several trigger methods of UIAlertView


    Method triggered when the button is clicked -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex; The method triggered when the warning box is about to be displayed -(void)willPresentAlertView:(UIAlertView *)alertView; Method triggered when the warning box has been displayed -(void)didPresentAlertView:(UIAlertView *)alertView; Method triggered when the warning box is about to disappear -(void)alertView:(UIAlertView *)alertView willDismissWithButtonIndex:(NSInteger)buttonIndex; Method triggered when the warning box has […]

  • Solve the problem of [Vue warn]: error in render: “typeerror: cannot read property ‘0’ of undefined”


    Error descriptionI defined the seller data in the Vue component, and the seller passed theaxiosRequest a JSON file to obtain the data. There is a data support in the seller, which is an array type, as shown below:// { “data”:{ “supports”: [ { “type”: 0, “Description”: “online payment full 28 minus 5” }, { “type”: […]

  • [share] IOS development – ios9 UIAlertView of syntax change after 0


    Recently, when preparing to use UIAlertView in the project, I found that the system issued a prompt and warning: The general meaning of this warning is that ios9 0 is going to discard the outdated UIAlertView and adoptUIAlertControllerAndUIAlertControllerStyleAlert However, children’s shoes using UIAlertView have been added to the project before. Don’t worry too much. Apple […]

  • Using build analyzer to improve build performance in Android studio


    As a member of the Android Developer Tools team, my team members and I make various tools every day with the idea of making Android the best Mobile Developer Platform. This means that we will build some tools to help you develop your application and let you focus on writing your application. We know that […]

  • C#8.0 nullable reference type


    introduce One of the most frequent errors when our project code runs isSystem.NullReferenceExceptionException, c#8.0 increasedNullable reference typeIs used to help developers reduce or even eliminateNULLAbnormal. We should note that nullable reference types are syntax level functions, that is, they will be subject to programming constraints when writing code. This is different fromCan be null typeIt’s […]

  • Java connecting to MySQL database warning: establishing SSL connection witho solution


    Java connecting to MySQL database warning: establishing SSL connection witho solution Thu Dec 20 12:50:09 CST 2018 WARN: Establishing SSL connection without server’s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn’t set. For compliance with existing applications not using […]

  • About vector Summary of some common errors in size()


    1. Problem introduction By viewing[https://www.cplusplus.com/reference/vector/vector/]Vector Size () description, i.e member type definition notes size_type an unsigned integral type that can represent any non-negative value of difference_type usually the same as size_t You can know from the table: vector The return value of size () is the size of the vector dynamic array container, that is, […]

  • A preliminary study of angular (2)


    Today, I mainly want to talk about the inheritance of $scope, $rootscope and controller. I believe that many beginners like me will encounter a problem when using angularjs to develop the front end, that is, the control logic of some pages will be used by some other pages, even variables. For example, many form submission […]