The most powerful project in the history: the realization of user's microservice function

We have analyzed the users of the system, including the users of the background management system and the users of the front-end portal. In theory, the two should be managed separately. But for our project, there is no need to do such comprehensive and complex functions in the early stage, so at present ...

Added by j_70 on Sun, 12 Jan 2020 10:42:11 +0200

Easy to build Xposed Hook

0x1. Open AS to create an empty project without interface, and then add the following code to the manifest file: <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme" > <!-- send xposed ...

Added by kingconnections on Wed, 08 Jan 2020 18:31:18 +0200

Simple top navigation bar

I don't want to talk much, but I still like the picture above The amount of code is not large, there is slight animation effect, it does not support left and right sliding, and the switching is smooth. The specific code is as follows: HTML: <div class="nav-box"> <div class="nav-tap"> ...

Added by weekenthe9 on Mon, 06 Jan 2020 04:05:21 +0200

System adaptation of Android heterogeneous models: the app name defined by application is not consistent with the name displayed on the desktop after it is installed on the mobile phone

System adaptation of Android heterogeneous models: the app name defined by application is not consistent with the name displayed on the desktop after it is installed on the mobile phone This kind of situation will appear on some domestic bizarre customized Android models. Normally, the name of the android App displayed under t ...

Added by j007w on Mon, 06 Jan 2020 03:26:57 +0200

Android gets IMEI value of mobile phone

During the production of mobile phones, each mobile phone has a unique ID, and international mobile equipment identity (IMEI) is adopted internationally. IMEI is an "electronic serial number" composed of 15 digits. It corresponds to each mobile phone one by one, and the code is unique in the world. After assembly, eac ...

Added by nepton on Sun, 05 Jan 2020 22:36:28 +0200

Dynamic SQL loop traversal with Oracle dynamic cursors

Dynamic cursors can traverse dynamic tables, Format: TYPE cursor TYPE IS REF CURSOR; -- define a dynamic cursor Cursor type of game name; If the data of the query table is different and dynamic, dynamic cursors can be used. It should be noted that the definition of dynamic cursors, In normal stored procedures: the first l ...

Added by arctushar on Sat, 04 Jan 2020 19:07:55 +0200

[Series] How does Go parse JSON data?

Summary Recently, I fell into a demand pit and just climbed up. There was a serious problem with the evaluation schedule. The following three pictures are very in line with my mood at that time. Talk about needs Estimate Schedule Start drying Why is this so? Here's a brief summary: Dock with third party. Docking across teams. For the first ...

Added by cdjsjoe on Sat, 04 Jan 2020 17:59:27 +0200

Wechat chat robot

preparation: Install itchat: install command pip install itchat 1. Import the itchat module and send a message to the file transfer assistant import itchat itchat.auto_login(hotReload=True) itchat.send("Hello, file transfer assistant",toUserName='filehelper') Run the code, scan the QR code, that is, log in the wechat page version, and automat ...

Added by blear on Sat, 04 Jan 2020 02:55:05 +0200

Data filtering details and examples of Rxjava2 Observable

Continue to the previous article: Data filtering details and examples of Rxjava2 Observable (1) 6. Filter Only data items filtered by the function are emitted. Instance code: // filter(Predicate<? super Integer> predicate) // Verify data and decide whether to transmit data Observable.range(1, 10) .filter(new Predicate<Integer&gt ...

Added by sk8erh4x0r on Thu, 02 Jan 2020 23:31:44 +0200

Today's top screen adaptation

Today's top screen adaptation In a word, summarize the principle of realization: According to the width of the design drawing, calculate the density, then calculate the dpi, and replace the dpi in the system. Then the layout file can set the width according to the design drawing given by the UI, so as to achieve the purpose o ...

Added by NeoPuma on Thu, 02 Jan 2020 16:39:57 +0200