C++ and Win32 Realize the Function of Recorder
Recently, in the process of learning, I asked to write a demo of a recorder. I found a lot of information on the Internet and found that it was incomplete, either simply introducing functions, or using MFC, or only some code fragments. This has caused great learning difficulties and confusion for beginners. Recently, I want to post a recorder p ...
Added by coreyp_1 on Thu, 20 Jun 2019 02:21:30 +0300
Building a simple logistic regression model using TensorFlow from scratch
TensorFlow is a python-based framework for machine learning. After learning the course content of Logical Regression in Coursera, I want to re-implement the content implemented in MATLAB with TensorFlow as a knocking brick for learning Python and framework.
Target readers
Know what logistic regression is, know a little Python, have heard of Ten ...
Added by oakld on Wed, 19 Jun 2019 03:59:47 +0300
Backup and restore of SVN (subversion)
A version control software commonly used in development is SVN. Sometimes the content of a version controller needs to be backed up/restored or migrated. Although it is rarely used, once used, the knowledge should be mastered.
Environment: CentOS 6.6
There are three ways to backup and restore svn, the first two are highlighted here:
Offici ...
Added by abriggs on Fri, 14 Jun 2019 20:49:06 +0300
Java Design Mode-Factory Mode
1. Simple factories
Definition
Simple Factory is not actually one of the 23 GOF design modes. It is a weakening (or a special case of) the factory method mode. Because it is simple, it is called Simple Factory Mode, also known as static factory mode.Although it's not a "standard" design pattern (more like a programming habit), there a ...
Added by jplock on Fri, 14 Jun 2019 19:03:51 +0300
Apache Virtual Host Configuration
The company needs me to develop a remote file upload function a few days ago. It needs to install two identical systems locally and bind different domain names to transfer files. Because I haven't touched the virtual host configuration before, I couldn't get started when I was faced with the browser's error. Have to consult the technical manag ...
Added by stewart715 on Fri, 14 Jun 2019 04:09:01 +0300
Android Immersion Status Bar Implementation Strategy (I)
First let's look at what immersion is.
Google's official explanation is to immerse the entire APP (full screen) in the screen, without showing the status bar, or even the bottom navigation bar.
Usually, the immersion we discuss is another way of UI display: the immersion we usually discuss: for example, the top Toolbar of Netease News and th ...
Added by ilikemath2002 on Fri, 14 Jun 2019 03:19:48 +0300
Vim Skills Training Course (12) - Vim's scripting language support
Vim scripting language support
At the beginning of this section, we are officially exposed to vimscript, an ancient scripting language.
First of all, there are many extensions supported by vim, such as python, Python 3, ruby, lua, TCL and other common scripting languages. It can support scripts embedded in. vimrc or execute files in scripting l ...
Added by objNoob on Thu, 13 Jun 2019 23:08:10 +0300
Optimize. Net MVC to access pages slowly
Make a good ASP.NET MVC website, access speed is very slow, it takes several seconds to tens of seconds to display the page. Every dozens of minutes will occur such a situation. Below to share the optimization method.
The development environment is: VS2015 + IIS8+ SQL Server
Deployment environment: Windows 2008 R2+ IIS7+ SQL Server
Set IIS ...
Added by Yesideez on Thu, 13 Jun 2019 21:18:44 +0300
MBProgress HUD 1.0.0 Source Parsing
MBProgress HUD is a tripartite library for displaying prompt windows, which is often used for user interaction, background time-consuming operations and other prompts. By displaying a prompt box, the user can be notified of the status of operation or task execution. At the same time, the animation effect can be used to reduce the anxiety of th ...
Added by kaser on Thu, 13 Jun 2019 01:57:09 +0300
Crawlers - GET and POST requests
urllib.parse.urlencode() and urllib.parse.unquote()
Encoding uses the urlencode() function of urllib.parse to help us convert key:value pairs into strings like "key=value". Decoding uses urllib's unquote() function.
# Test results in Python 3.5 console
>>> import urllib
>>> word = {"wd":"Reptiles"}
# By using the ...
Added by phpform08 on Wed, 12 Jun 2019 19:53:44 +0300