Oracle Case 09 - ORA-12154: TNS: could not resolve the connection identifier specified

DG still handles a lot of problems, but this time encounter a more exotic thing, surface configuration, network is not a problem, but the synchronization of backup always has problems, after many adjustments of parameters, redeployment problems are still the same, and ultimately the mos problem was solved. Now the processing process is recorded ...

Posted on Tue, 18 Dec 2018 13:51:04 -0800 by StateGuy

Python protocol: from yield/send to async/await

Python's threads are not able to perform multi-core parallel computing because of the well-known GIL (of course, with multiprocessing later, multi-process parallelism can be achieved), which is more chicken ribs. Since only one thread can run at the same time under GIL, the switching overhead between threads becomes a drag for CPU-intensive pro ...

Posted on Mon, 17 Dec 2018 09:06:04 -0800 by LMarie

Re-comb Android's message mechanism (and handler's memory leaks) from Handler.post(Runnable r)

Handler Reference: http://blog.csdn.net/iispring/article/details/47180325 Every beginner Android The development of Handler is inseparable from this "Kan". Why is it a Kan? First of all, it is a Kan. androidFramework One of the quintessences is that most people know what they are but don't know why they are. Today, after s ...

Posted on Sun, 16 Dec 2018 21:51:04 -0800 by kgahn

React Native combines Scrollable Tab, RefreshControl and FlatList to implement news categorization list

Just beginning to learn RN, familiar with the control and basic use. Knowledge points involved: 1. fetch network request, get splicing parameters, parse json. 2. Scrollable TabView and Scrollable TabBar Classified Layout. 3. FlatList data list. 4. Navigation routing carries parameter jump. 5. Drop-down refresh, combined with ...

Posted on Sun, 16 Dec 2018 18:33:04 -0800 by dmschenk

Chromium-cipd: golang net/http proxy agent

Recently, using Ubuntu 18.04 LTS desktop version, we downloaded chromium through foreign proxy, which hit many walls. Here we say that one of the cipd update failure errors, home using windows download also recurs: C:\myGit\depot_tools>.cipd_client.exe selfupdate -version git_revision:521b9b64770d3b43a221b1e2bd277687616adac ...

Posted on Sun, 16 Dec 2018 15:12:03 -0800 by InO

DR (Direct Routing Mode) Model of IP Load Balancing Technology in LVS(Linux Virtual Server) Cluster

Four working modes of lvs DR > TUN (Tunnel) > NAT > FULLNAT DR (Direct Routing Mode): client - > VS - > RS - > client NAT (Address Translation Mode): client - > VS - > RS TUN (Tunnel Mode): client - > VS - > RS - > client All three of them have no anti-attack capability. FULLNAT: client ...

Posted on Sun, 16 Dec 2018 11:18:03 -0800 by ATLien

socket&socket implementation of ftp get method, socket server

First of all, understand the working principle of socket, client-server mode1. socket Client:2. socket type3. socket data stream4. Experiment(1) Write a clientServer starts listening for ip and portadmindeMacBook-Air-62:~ admin$ nc -l 1234Client connects to server, sends data, and closes socketAdd a socket_client.py to pycharm and go:import&nbs ...

Posted on Sun, 16 Dec 2018 08:18:04 -0800 by ntnwwnet

js Baidu Map Control API Geolocation Control to locate _bmap api according to search keywords

//Create map objects and initialize them. var mp = new BMap.Map("map_container",{     enableHighResolution: true //Whether to turn on HD? });     var point = new BMap.Point(116.404, 39.915);     mp.centerAndZoom(point, 14); //Initialize maps mp.enableInertialDragging(); //Open the relationship drag. mp.enableScrollWheel ...

Posted on Sat, 15 Dec 2018 14:39:04 -0800 by installer69

Linux i2c subsystem (1) _Write an i2c device driver manually

i2c bus is a very common board-level bus. Taking Linux 3.14.0 as a reference, this paper discusses the i2c driver model in Linux and uses this model to write a driver of mpu6050. Finally, the original data in mpu6050 is read out in the application layer. i2c subsystem framework The following figure is the schematic diagram of i2c driver framewo ...

Posted on Sat, 15 Dec 2018 14:00:04 -0800 by Jem

Write a Nine-palace menu of Ctrip app with View, Text and Image in React-Native

For reprinting, please indicate the source: http://blog.csdn.net/hai_qing_xu_kong/article/details/72793846 This article is from: [Gu Linhai's blog] Preface This article introduces the use of View, Text and Image components in React-Native, and uses these components to compile a simple Nine-palace menu. If you have read the book React ...

Posted on Sat, 15 Dec 2018 11:54:03 -0800 by superhoops