Dart Language Learning Records

Variable declaration Once a VAR variable in var Dart is assigned, the type is determined and cannot be changed object art The root class of all objects, that is, all types are subclasses of Object (including Function and Null) dynamic declares variables that can be assigned to any object. dynamic is the same as Object in that they declare var ...

Posted by widox on Fri, 12 Jul 2019 19:44:53 +0200

Brother Bird's Server "Ten" Firewall

TCP Wrappers TCP Wrappers is a firewall-like mechanism managed by two files /etc/hosts.allow /etc/hosts.deny Not all software can be managed through these two files, only the following two software can manage firewall rules through these two files: Services managed by super daemon (xinetd) Services supporting libwrap.so m ...

Posted by tomc_1 on Fri, 12 Jul 2019 19:34:23 +0200

Introduction to Concurrent Pressure Performance Test Tools

1. AB Pressure Test Tool (ApacheBench) 1. Installation linux Installation yum -y install httpd-tools windosinstall // Download Apache software (ab software is not updated separately, but integrated independently into Apache) download https://de.apachehaus.com/downloads/httpd-2.4.39-o102s-x64-vc14.zip // Open Compressed Package unzip httpd-2 ...

Posted by BinaryBird on Thu, 11 Jul 2019 18:07:57 +0200

YYModel+AFNetworking

Network API in Reality json has become the standard data format of the modern network api, such as the query interface of the National Meteorological Administration.http://www.weather.com.cn/data/sk/101010100.html { "weatherinfo": { "city": "Beijing", "cityid": "101010100", "temp": "18", "WD": "Southeast w ...

Posted by rtsanderson on Thu, 11 Jul 2019 00:15:21 +0200

[Programming Question] Jingdong 2016 - Buy Candy

Code writing is a bit cumbersome, welcome to correct~ Topic Source: Cyber Code Network Buy candy (Beijing East 2016 intern real topic) Topic Description A candy company specializes in the production of children's candies. The most popular candies for children are A1 and A2, which are packaged in box. The volume of packaged A1 candy is one ...

Posted by vijdev on Wed, 10 Jul 2019 01:08:15 +0200

One Linux command per day (38):ps

ps is the abbreviation of Process Status, which lists snapshots of processes running in the current system. The use of ps can determine which processes are running, the state of the process running, whether the process is over, whether the process is dead, which processes occupy too much resources, and so on. ps provides a one-time process vi ...

Posted by FinalMjolnir on Wed, 10 Jul 2019 00:11:13 +0200

Hand-in-hand teaching you how to implement Android Recycler View pull-up loading function

Chicken Soup for the soul: those who know are inferior to those who are good, and those who are good are inferior to those who are happy. abstract I've been using RecyclerView with a little tremor because I haven't been able to understand how to implement pull-up loading, and I'm fed up with every time I go to Github to find open source introdu ...

Posted by jaykappy on Tue, 09 Jul 2019 23:30:49 +0200

handler mechanism of Android asynchronous message processing mechanism

In the past, we analyzed looper, and realized updating ui by rewriting handleMessage in main thread (see blogger's first two blogs specifically). Next, we mainly analyzed handler and its post(runnable r) method. First, let's look at the asynchronous updating ui in the post version, in Activity: private Handler mHandler;//global variable @Ov ...

Posted by mrbippy on Tue, 09 Jul 2019 22:03:58 +0200

[BZOJ2095][Poi2010]Bridges (Binary+Maximum Flow+Euler diagram)

Title Description Portal Main idea of the topic: An undirected graph with n points and m edges, each edge has different values for forward and reverse walking.Find an Euler circuit in the diagram, and the maximum value to go is the smallest. Problem It's easy to think of a dichotomous answer, the key is how to decide There are two conditi ...

Posted by stitchmedia on Tue, 09 Jul 2019 19:31:22 +0200

Oracle 11.2.04 Transparent Gateway Links to SQL server

1. Unzip gateways to local Click setup to enter the welcome screen 2. Welcome Interface Click on "Installed Products" 3. Check whether the database has been installed locally Close the product installation list after confirming that database has been installed 4. Back to the Welcome Interface Click Next to enter the Transparen ...

Posted by jarv on Tue, 09 Jul 2019 01:54:59 +0200