The introduction of print table stored procedure in oracle
All along, I think it's very easy to use the \ G parameter in MySQL to change the display mode of the output result set, especially in the command-line interface. But ORACLE database doesn't have this function. Today, when I searched a blog post of master Tom, I found that master used a stored procedure, print table, to implement such functions ...
Posted by Repgahroll on Thu, 02 Jan 2020 18:27:41 -0800
Rolling sequence and reverse sequence of tf rnn delay sequence
Using rnn to fit delay and inversion sequences
In fact, the rnn of this layer is not as good as full connection. When the sequence length is too long, the number of last full connection nodes needs to be increased. However, if the sequence is relatively short, there are too many parameters and the result is very accurate....
Scroll the sequen ...
Posted by brainardp on Thu, 02 Jan 2020 14:57:36 -0800
Realize real-time display of progress bar such as file export and write
1. First you need to download the progress bar plug-in. The URL is as follows http://www.jq22.com/jquery-info436
2. Copy the JS and CSS files in the extracted folder to the corresponding CSS and JS files in the project.
3. Introducing js and css
<link rel="stylesheet" href="css/jquery.circliful.css"/>
<scrip ...
Posted by DeFacto on Thu, 02 Jan 2020 03:22:21 -0800
Spring MVC file upload and download function
File upload
In order to upload the file successfully, you need to set the method attribute of the form to POST and the enctype to multipart / form data. Once it is set to multipart / form data, the browser will process the form data in binary. spring cannot process the file upload by default. You need to configure the MulipartResolver in the sp ...
Posted by James25 on Thu, 02 Jan 2020 01:30:31 -0800
Simply send requests with cookie s
Create the request, set the parameters of HTTPHeaderField, and send the request through NSURLSessionTask.
The AFNetworking component we encapsulate can only pass parameters, and can't set HTTPHeaderField parameters. There must be a few requests with HTTPHeaderField parameters sent, so we don't want to modify the component libr ...
Posted by moreshion on Wed, 01 Jan 2020 14:07:55 -0800
TensorFlow rnn fitting curve
Fitting curves with rnn
Generate the curve point set, X ﹣ ax represents the abscissa, y ﹣ line represents the corresponding ordinate
x_ax = np.linspace(-1, 1, num)
def fun(x):
# Is it not very friendly to the square sum exponential function, because the range of values changes too much? Reduce the definition field to - 1,1
...
Posted by k89mmmk on Wed, 01 Jan 2020 02:17:50 -0800
Nginx reverse proxy and cache usage
Bowen structureReverse Proxyproxy cache
nginx optimization
Reverse proxy (case)
1. Reverse Proxy means that a proxy server accepts a client's connection request, then forwards the request to the web server on the network (possibly apache, nginx, tomcat, iis, etc.), and returns the result from the web server to the client requesting the conne ...
Posted by anauj0101 on Wed, 01 Jan 2020 01:03:43 -0800
TCP port scanner
A TCP port scanner based on Python 3
Principle: TCP connection with different ports means that the port is open if the connection is successful, and closed if the connection is not successful.
import socket
import re
import threading
import time
lock = threading.Lock()
threads = list()
ports_list = list()
def judge_hos ...
Posted by om.bitsian on Tue, 31 Dec 2019 11:48:12 -0800
[reading notes] only simple but not in-depth data analysis (10)
This chapter is a continuation of the previous chapter. This chapter is mainly about regression problem. It designs a "salary increase calculator", which is a salary increase algorithm.
Here is still the data. First, let's make a histogram of the requirements and results of the salary raiser:
import pandas as pd
imp ...
Posted by kparish on Mon, 30 Dec 2019 23:10:32 -0800
The Java background json is sent to the foreground;
This is the case:
//Convert java object to json string and put it into session
String jsonMenu =JSONObject.fromObject(sysMenu).toString();
session.setAttribute("sysMenu",jsonMenu );
Then the foreground gets the json object from the session and binds the data to the corresponding container.
However, it is suddenly found that t ...
Posted by SnakeO on Mon, 30 Dec 2019 06:44:52 -0800