Python simulated Login - Conquest verification code 9 weibo.com
Login interface
Http Analyzer and folders can be used for packet capturing analysis, but it seems to be very complex. It's better to use Firefox (chrome is far from Firefox).
First of all, after the user name is entered, the pre login will take place at: http://login.sina.com.cn/sso/prelogin.php?entry=weibo&callback=sinaS ...
Posted by postalservice14 on Sun, 15 Dec 2019 12:27:39 -0800
Personal notes on basic usage of tensorflow
Overview
TensorFlow program is divided into construction phase and execution phase. Build a graph and execute it to get the result.
Building map
.
import tensorflow as tf
# Create a constant op to generate a 1x2 m ...
Posted by theblacksheep on Sun, 15 Dec 2019 11:00:49 -0800
Compiling C/C + + interface of TensorFlow
TensorFlow's Python interface is popular because of its convenience and practicability, but we may need other programming language interfaces in practical application. This article will introduce how to compile TensorFlow's C/C + + interface.Installation environment:Ubuntu 16.04Python 3.5CUDA 9.0cuDNN 7Bazel 0.17.2TensorFlow 1.11.0
1. Install ...
Posted by - - NC - - on Sun, 15 Dec 2019 08:49:31 -0800
Android 8.0 graphics engine and form management service (WMS)
In the above four articles, Android's graphics engine is viewed from the hardware abstraction layer, data drive, rendering, output and other aspects of the graphics engine. From the perspective of engine input, the data input end of the engine mainly includes UI, Camera, Media and so on. Today, from the perspective of UI, we tak ...
Posted by countdrac on Sun, 15 Dec 2019 08:35:24 -0800
Avfunction learning notes -- audio and video editing
Avfunction learning notes - audio and video editing
Reading and writing of media data
AVAssetReader
AVAssetReader is used to read media samples from an AVAsset instance. One or more instances of AVAssetReaderOutput are usually configured and access audio samples and video frames through the copyNextSampleBuffer method. It ...
Posted by fiorelina21 on Fri, 13 Dec 2019 09:49:32 -0800
The config module of beego source parsing
target
The config module refers to the implementation mode, interface and implementation separation in database/sql. In this tutorial, the implementation of ini format configuration is selected and the integration mode of beego and config module is analyzed to achieve the following three goals.
Understand the source code implementation of conf ...
Posted by rogair on Fri, 13 Dec 2019 04:10:29 -0800
Using python to retrieve the Linux login password in SecureCRT
A Linux system was installed in the virtual machine on the notebook. It didn't work for a while. Suddenly, when it was used, I found that the password had been forgotten.Fortunately, I have used secureCRT software to connect to Linux before, so I can easily use python to retrieve the password.
Final effect
The red box indicates the password
Get ...
Posted by .-INSANE-. on Thu, 12 Dec 2019 13:31:07 -0800
C + + calls Tensorflow model in Python
C + + calls Tensorflow model
Save tensorflow model
Model loading code
C + + program calls Python program
CMakeLists document writing
Result
Use C + + to call Python 2.7 program, load tensorflow model (why not use Python 3, there are too many pits, which has not been solved well). The whole environment is completed under Ub ...
Posted by ojeffery on Wed, 11 Dec 2019 08:05:09 -0800
Can I connect multiple MySQL rows to a single field?
With MySQL, I can do similar things:
SELECT hobbies FROM peoples_hobbies WHERE person_id = 5;
My output:
shopping
fishing
coding
But I just want one row and one column:
Expected production:
shopping, fishing, coding
The reason is that I have to select multiple values from multiple tables, and after all joins, I get a lot more ...
Posted by ganeshcp on Wed, 11 Dec 2019 02:51:39 -0800
Research on the usage of flask Sqlalchemy
Recently, I used the sqlalchemy of flask, because it made some encapsulation for sqlalchemy, and I am not familiar with sqlalchemy myself, so I went a lot of detours in usage.
Because there is no time to study the source code of sqlalchemy, we can only test its usage.
1. Flash Sqlalchemy is thread safe
Please refer to the article for details ...
Posted by guitarlvr on Tue, 10 Dec 2019 17:46:54 -0800