After the webpack is packed, it cannot be called. Instead, use uglifyjs to pack and compress

Background: The project is based on native js and does not use any scaffolding or framework, but it also needs to be packaged and compressed. Some global variables are declared in the js of the project for other js to call. At this time, if we use the web pack, based on the web Pack feature, we will nest a layer of large functions, which will t ...

Posted by jwmessiah on Fri, 17 Jan 2020 14:01:51 +0100

You should not call base in this method Xamarin Forms Renderer

Recently, I am working on Xamarin Forms project. I believe you are unfamiliar with Xamarin. In fact, it is also a cross platform technology. Please refer to the following official document to understand. What is Xamarin.Forms? Xamarin.Forms is an open-source UI framework. Xamarin.Forms allows deve ...

Posted by jeremuck on Wed, 15 Jan 2020 10:25:47 +0100

Vulkan pit filling learning Day11 - intrinsic function

Vulkan's inherent functions Vulkan's inherent functionality, early graphics API s provided default state in many stages of a graphics rendering pipeline. In Vulkan, from the size of the viewport to the color mixing function, you need to do everything by yourself. In this chapter we will fill in all th ...

Posted by stringman on Mon, 13 Jan 2020 15:04:58 +0100

Android touch event delivery mechanism, as before

Preface To be a great Android developer, you need a complete Knowledge System Here, let's grow up as we want. 1. Understanding the composition of Activity An Activity contains a Window object, which is implemented by PhoneWindow.PhoneWindow uses DecorView as the root View of the entire application window, and this DecorView divides the screen i ...

Posted by rocket on Thu, 09 Jan 2020 06:51:30 +0100

Using C language to realize small game -- 2048

I finished the little game without interface and the game of computer in my blog, Using C language to realize small game - three chess And a little game full of memories of the same year Using C language to realize small game - minesweeping Next, let's write another simple, interface free, small game, computer-operated game 2 ...

Posted by mattnoble on Tue, 07 Jan 2020 18:08:47 +0100

Create websocket server

swoole has built-in websocket server function since version 1.7.9. We only need a few lines of simple PHP code to create an asynchronous non blocking multi process websocket server. First of all, we create a new project named swoole in the apache workspace, and then create a new ws-server.php file in the workspace. The PHP file mainly creates ...

Posted by trent2800 on Tue, 07 Jan 2020 09:06:03 +0100

[Python3] Encryption and decryption of RSA and signature/signature verification implementation--using pycrytodome

Introduction to Crypto Package: Pycrypto, pycrytodome, and crypto are one thing. Crypto's name on python is pycrypto. It is a third-party library, but updates have been stopped, so installing this library is not recommended. Installation of Python version 3.6 or above under windows is cumbersome (I am Python 3.7, the attempt to install was unsu ...

Posted by Jax2 on Tue, 07 Jan 2020 08:59:02 +0100

Analyzing the internal mechanism of Window from the source code

1. Window adding process 1.1 start from the source To add a small floating window, you need to use addView of WindowManager, And we checked the official documents and found that WindowManager is an interface public interface WindowManager implements ViewManager Its real implementation is WindowManagerImpl, which h ...

Posted by LiamOReilly on Mon, 06 Jan 2020 23:26:20 +0100

Quick Deployment Front End Project to Tencent Cloud Based on serverless

The Tencent Cloud COS component allows you to quickly deploy static Web site pages into object storage COS and generate domain names for access. install First install the serverless component npm install -g serverless Generate a configuration file at the root of the project touch serverless.yml <a name="YpT8f"></a> To configure C ...

Posted by sw45acp on Mon, 06 Jan 2020 15:22:26 +0100

Screenshot status monitoring - iOS

After receiving the call status monitoring demand, the screenshot status monitoring is added again. When using App, if the user needs to monitor the current status when performing screenshot operation, there are two methods below. One is to replace the screenshot image content (Plan A), the other is to pop up the prompt box (Plan B). The steps ...

Posted by seodevhead on Mon, 06 Jan 2020 12:32:36 +0100