C language mooc applet (1)

When learning mooc, I see a lot of interesting applets in C language. I have done some by myself. First, read the integer. Enter a number and output its pronunciation. Pronunciation using a simple switch And take out each digit with / percent. int main(int argc, char *argv[]) { int n; scanf("%d",&n); ...

Posted on Tue, 12 May 2020 09:21:31 -0700 by fireineyes

Oracle TNS 314 Protocol Analysis-5, Error Return

* Error message return process (take SQL errors for example) Client       Server 1 ------- Data Piggyback(11) Cursor Close All(69) Or 03 5e -----> Specific statements 2 <----- Marker(0C) ------- Return to Marker 3 <----- Marker(0C) ------- Return to Marker 4 ------- Marker(0C) - ...

Posted on Sun, 10 May 2020 11:43:31 -0700 by sergeidave

Spring Cloud-Gateway Spring-Cloud-Gateway

brief introduction Spring Cloud Gateway is a new project of Spring Cloud, which is a gateway based on technologies such as Spring 5.0, Spring Boot 2.0 and Project Reactor. It is designed to provide a simple and effective unified API routing management method for the micro service architecture. As a gateway in the Spring Cloud ecosystem, Sprin ...

Posted on Wed, 06 May 2020 22:00:41 -0700 by joeami

Implementation of a simple countdown control

I haven't written a blog for a long time. I wanted to be my own knowledge base, but sometimes I can't keep it up. If I have time to update it again today, I will write a simple countdown implementation. In fact, there is no difficulty. Handler+Timer can achieve it. The principle is: start a timer, use handler to send a ...

Posted on Tue, 05 May 2020 08:27:26 -0700 by progman

tyboot simple function demonstration without sql encoding

tyboot simple function demonstration without sql encoding tybootdemo source https://gitee.com/magintursh/tybootdemo tyboot source: https://gitee.com/magintursh/tyboot https://github.com/magintursh/tyboot Example project interface screenshot The following are the interface features for this demonstration to demonstrate simple tyboot-based encod ...

Posted on Tue, 05 May 2020 03:38:28 -0700 by ukphoto

Android: reading files under assets directory (2)

In the last blog, I introduced how to read the txt file in the assets directory. Here, I show you how to read an xml file. The contents of the xml file are as follows: <?xml version="1.0" encoding="UTF-8"?> <books> <book id="001"> <title>Harry Potter</title> <price>¥35.00</price&gt ...

Posted on Tue, 05 May 2020 03:07:07 -0700 by Hobgoblin11

Simple use of RecycleView

This control is used to display a large number of datasets in a limited window. In fact, we are not new to this kind of control, such as ListView and GridView. With ListView and GridView, why do you need RecyclerView? RecyclerView architecture provides a plug-in experience, high degree of decoupling and exceptiona ...

Posted on Tue, 05 May 2020 01:15:12 -0700 by tempi

C + + implementation of Huffman coding and decoding: building Huffman tree, coding and decoding Huffman

Recently completed the course design of data structure, and was assigned the title of Huffman coding and decoding. Now share your achievements in this blog. When I was designing, I referred to the algorithm and code of many teachers and predecessors on the Internet, and thanked them! Their achievements have given me a lot of inspiration and hel ...

Posted on Mon, 04 May 2020 21:59:45 -0700 by welsh_sponger

Bezier curve of technology sharing

Application scenarios of Bezier curve: progress of file download, progress of charging power, water ripple effect design sketch: Custom control create a new class Wave inherit view package besia.test.liang.com.besiacom.liang.test.besia; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.C ...

Posted on Mon, 04 May 2020 19:20:53 -0700 by efron

Android frame animation patching animation attribute animation

There are three types of animation in Android: 1 frame animation 2 animation of mending room 3 attribute animation 1 frame animation Look at the picture first The common method is xml resource file Create the animation.xml file under res/drawable <?xml version="1.0" encoding="utf-8"?> <animation-list xmlns:androi ...

Posted on Mon, 04 May 2020 14:44:55 -0700 by plasmagames