Fluency: Written Test (20190911)

Gift distribution The idea of dynamic programming. Consider three possibilities. There are no right ones on the left, right ones on the left, left ones on the left and right ones on the right. There are two kinds of cases: left side and right side, that is, left side or right side. def send_gift(n, a, ...

Posted by dman779 on Thu, 03 Oct 2019 15:50:35 +0200

[Mid-Autumn Festival] Universe First IDE Visual Studio

Official website https://visualstudio.microsoft.com/zh-hans/vs/ File https://docs.microsoft.com/zh-cn/visualstudio/designers/getting-started-with-wpf?view=vs-2019 https://docs.microsoft.com/zh-cn/dotnet/framework/wpf/getting-started/walkthrough-my-first-wpf-desktop-application The first WPF desktop application Install Visual Studio Create a ...

Posted by zfred09 on Thu, 03 Oct 2019 15:00:25 +0200

Drag and Drop to Realize Multiple Selections in GridView

Register MouseDown, MouseMove and MouseUp events in the GridView property bar of GridControl, add timer timer to GridControl, and implement its Tick event. Additionally: Set Editorable in GridView OperationBehavior to false (non-editable) and MultiSelect in OperationSelection to true. #region select many private int GetRowAt(Gri ...

Posted by many_pets on Wed, 02 Oct 2019 23:18:34 +0200

Deep into jvm kernel - principle, diagnose and optimize -10. jvm bytecode execution

1. Bytecode javap Simple bytecode execution process Common bytecodes Generating Java bytecode with ASM JIT and its related parameters javap(class file disassembly tool) public class Calc { public int calc() { int a = 500; int b = 200; int c = 50; return (a + b) / c; } } javap –verbose Calc Simple bytecode executio ...

Posted by phpisawesome on Wed, 02 Oct 2019 16:46:01 +0200

Vue project code initialization

Perfecting meta tags <meta name="viewport" content="width=device-width, initial-scale=1.0,initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0,user-scalable=no"> 2. introduce reset.css to solve different styles of mobile phones. @charset "utf-8";html{background-color:#fff;color:#0 ...

Posted by shann on Wed, 02 Oct 2019 13:08:12 +0200

web front-end entry to actual combat: pure css making thunderbolt weather icon

Effect The results are as follows. Implementation ideas Write several circles using box-shadow attributes, and combine these circles together to form cloud patterns. after pseudo-elements write the following projection style before Pseudo Elements Write Yellow Lightning Styles dom structure Wit ...

Posted by project-nz on Wed, 02 Oct 2019 00:20:31 +0200

How to Debug Classes Quickly with UiAutomator on Mac OS

Recently, when I used UiAutomator to debug classes quickly on Mac OS, I found that it is very different from using classes in Windows environment. There are many pits to fill in for my Mac OS white. Today, I finally revised them and shared the code for your reference. The main difference is that when you execute a command, you need to precede i ...

Posted by neuromancer on Tue, 01 Oct 2019 07:50:38 +0200

Audit Log Plug-in - hanboAudit

hanboAudit is a log embedded plug-in, based on interceptor implementation, currently compatible with persistence layer frameworks such as mybatis and hibernate. Plug-in function Record the value of operator, menu, module, function and database before and after row level operation, mostly for audit log display. Plug-in usage Adding ma ...

Posted by echoindia756 on Tue, 01 Oct 2019 00:12:06 +0200

Nutch2.1+Hbase+Solr to quickly build a crawler and search engine (fast, basically within 2 hours)

Note: This method is for quick experience or small data volume, not suitable for large data volume production environment. Environmental preparation: Centos7 Nutch2.2.1 JAVA1.8 ant1.9.14 HBase 0.90.4 (stand-alone version) solr7.7 Relevant download address: Links: https://pan.baidu.com/s/1Tut2CcKoJ9-G-HBq8zexMQ Extraction code: v75v Start inst ...

Posted by MAXIEDECIMAL on Thu, 26 Sep 2019 07:49:34 +0200

win32 API Implementation of Multi-threaded Small Routine

win32 API for Multithreading 1.API function (1) CreateThread creates threads (2) SuspendThread suspended thread (3) ResumeThread terminates the suspended state of the thread and executes the thread (4) ExitThread is used to terminate the execution of the thread itself, mainly called in the execution ...

Posted by sturbitt on Wed, 25 Sep 2019 12:03:16 +0200