Category:Blogs

  • Change solution (. SLN) file

    Time:2020-1-24

    Microsoft Visual Studio 2010 project is changed to Microsoft Visual Studio 2015 open by default Solution (. SLN) file for 2010 Microsoft Visual Studio Solution File, Format Version 11.00 #Visual Studio 2010 — default open version ide geovin Du Tu Tu poly comment Project(“{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}”) = “ActiveUp.MailSystem.DesktopClient2010”, “ActiveUp.MailSystem.DesktopClient2010.csproj”, “{2CFFCA13-B00A-4605-B6A4-D49A616CFCB4}” EndProject Project(“{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}”) = “ActiveUp.Net”, “ActiveUp.Net\ActiveUp.Net.csproj”, “{25DA9502-B959-4E81-9368-471AE231BCC0}” EndProject […]

  • How to write high quality equals and hashcode methods?

    Time:2020-1-24

    What are equals and hashcode methods? This starts from the object class. We know that the object class is a super class of Java. Each class directly or indirectly inherits the object class. Eight basic methods are provided in the object. The equals method and hashcode method are two of them. : the equals method […]

  • Python 3 operates MySQL database

    Time:2020-1-24

    Operating MySQL database in Python 3 To use MySQL database in Python 3, you need to install the MySQL Library pip install pymysql Operation MySQL Guide bag import pymysql Step 1: open the database connection DB = pymysql.connect (host = database address), User = “user name”, Password = “password”, Port = “port”, Database = “database […]

  • Pycharm2019.2 permanently activated

    Time:2020-1-24

  • Using typescript in react

    Time:2020-1-24

    Preface It is much more comfortable to write react with typescript than to write Vue. React’s support for TS is a natural partner. If you want to refactor a project with TS, unlike Vue, which is very destructive to the project, react can relatively easily achieve refactoring. By the way, the globally installed create react […]

  • Python error message is: sudo: apt get: command not found

    Time:2020-1-24

    1. Problem description The error message is: sudo: apt get: command not found 2. Causes and Solutions Use Yum install XXX under CentOS Differences between Yum and apt getGenerally speaking, famous Linux systems are basically divided into two categories:1. RedHat series: RedHat, CentOS, Fedora, etc2. Debian series: Debian, Ubuntu, etcRedHat collection1. The common installation package […]

  • Oulipo substring lookup

    Time:2020-1-24

    Title Description thinking Use the hash value to represent the value of the substring of the long string, and directly compare whether the hash values are equal Code #include #include using namespace std; char a[1000005], b[1000005]; unsigned int sum[1000005], sumb, bt[1000005]; int bs = 37, ans; int lena, lenb; unsigned int get(int st) { return […]

  • C ා parameters passed in when the desktop program starts

    Time:2020-1-24

    using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms; namespace WindowsFormsApplication8{ static class Program { /// ///The main entry point for the application. /// [STAThread] public static void Main(string[] args)//Add parameter and receive value. When the program is started by dragging a file, the first value of the parameter array is the path of the file { if (args.Count()>0) […]

  • Ms17-010 remote overflow vulnerability – Eternal Blue [cve-2017-0143]

    Time:2020-1-24

    Ms17-010 remote overflow vulnerability (eternal blue) Ti:2019-12-25 By: Mirror Wang Yuyang MS17-010 CVE-2017-0143 MS17-010 CVE-2017-0144 MS17-010 CVE-2017-0145 MS17-010 CVE-2017-0146 MS17-010 CVE-2017-0148 Experimental preparation Loophole principle Ms17-010 vulnerability in kernel state functions in Windows SMB v1srv!SrvOs2FeaListToNtDeal withFEAThere is a buffer overflow on the large non paged kernel pool during the (file extended attributes) conversion. functionsrv!SrvOs2FeaListToNtWill beFEAList […]

  • [20191213] invalid bind_award prompt under toad 12.txt

    Time:2020-1-24

    [20191213] invalid bind_award prompt under toad 12.txt –//Link to http://blog.itpub.net/267265/viewspace-2130781/ test, and find the test error at that time. Check again if you have time 1. environment:[email protected]> @ ver1PORT_STRING                    VERSION        BANNER—————————— ————– ——————————————————————————–x86_64/Linux 2.4.xx            11.2.0.4.0     Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 – 64bit Production create table t as select rownum id ,lpad(‘x’,100,’x’) name ,lpad(‘1’,1) […]

  • Get development SHA1 and development SHA1

    Time:2020-1-24

    Note:The premise is that you have installed the JDK and Android SDK, and you have set the environment variables of both. Here is jdk8 Get development SHA1 (also known as beta) 1. Open command line cd .android 2. Enter keytool – List – V – keystore debug.keystore to get development board SHA1 keytool -list -v […]

  • IOS ——– audit rejected (distributed in groups next door)

    Time:2020-1-24

    Hello, We are writing to let you know the results of your appeal for your app The App Review Board evaluated your app and determined that the original rejection feedback is valid. Your app does not comply with: 5.2.1 – LegalWe continue to find your app facilities, enables, or resources live video chat or performance, […]