Category:Blogs

  • Python can do anything! Today we can open and run computer software automatically!

    Time:2019-11-12

    Recently, we need to use software automation to do the project. Let’s share it with you!       Let’s take a look at Python operations:   First, how to open the software The first is to use the OS module, which is also the simplest one. If I want to open Notepad, I can: […]

  • Examples of five variables in Ruby

    Time:2019-11-12

    Ruby global variables Global variables start with $. The value of the uninitialized global variable is nil, which generates a warning when the – W option is used. Assigning a global variable changes the global state, so it is not recommended to use a global variable. The following example shows the use of global variables. […]

  • C ා assignment operator

    Time:2019-11-12

    =: it means to assign the value to the right of the equal sign to the variable to the left of the equal sign. Expressions connected by equal signs are called assignment expressions. Be careful:For each expression, we can find the value of the variable to the left of the equal sign,Is the value of […]

  • PHP gets the current server version, IP and other details

    Time:2019-11-12

    1. Server IP address $’server [‘server’addr ‘] Server domain name $’server [‘server’name ‘] Server port $’server [‘server’port ‘] Server version php_uname (‘s’). Php_uname (‘r ‘) Server operating system php_uname() PHP version Get PHP installation path: default uunclude uupath Get the absolute path of the current file: \__ Get host value in HTTP request: $_server [“http_host”] […]

  • HashMap source code — JDK1.8

    Time:2019-11-12

    Important attributes The default capacity is 16 /** * The default initial capacity – MUST be a power of two. *N power of 2 is recommended */ static final int DEFAULT_INITIAL_CAPACITY = 1 << 4; // aka 16 Default load factor /** * The load factor used when none specified in constructor. */ static final […]

  • Mysql-5.. 6.23-win64.zip installation and configuration

    Time:2019-11-12

    MySQL is a small but powerful database, which is very popular at present. However, the installation package provided on the official website has two formats, one is MSI format and the other is ZIP format. Many people found that there was no setup.exe when decompressing in ZIP format. They were confused about a bunch of […]

  • Vue’s self built management background (I) preparation

    Time:2019-11-12

    Complete the most basic Vue environment and create a new Vue project.   Generally speaking, when we get a project requirement or a requirement, the first thing we should do is not to write code immediately in front of the computer. If you do this, ok… I can only temporarily assume that you are just […]

  • C language learning course, writing mine sweeping game in C language

    Time:2019-11-12

    The example of this paper shares the specific code of mine clearing game and its optimization in C language for your reference. The specific content is as follows   About mine clearance optimization 1. Core idea: two two-dimensional arrays are used for design, one for display and one for layout of background thunder. 2. Using […]

  • Windows Server 2016 – batch setup users need to change password next time they log in

    Time:2019-11-12

    PowerShell sets that all users under an OU must change their password when logging in next time: Get-ADUser -Filter * -SearchBase “ou=syncall,dc=azureyun,dc=com” |Set-ADUser -ChangePasswordAtLogon $flase Batch cancel the option that password must be changed for next login has been checked in the current domain environment: Get-ADUser -Filter * | foreach {Set-ADUser -Identity $_.SamAccountName -ChangePasswordAtLogon $false} […]

  • File descriptors and redirection

    Time:2019-11-12

    Introduction to file descriptors:The file descriptor is a non negative integer in form. Each file descriptor corresponds to an open fileFile descriptors are used to access files. The most well-known file descriptors are stdin (standard input), stdout (standard output), stderr (standard error). The system reserves three file descriptors 0, 1, 2 for them respectively in […]

  • 2019 unity learning resource guide [elaborate]

    Time:2019-11-12

    Preface The most direct and effective way to enter a field is to findRelated review articlesFirst of all, you need to have a general understanding of the areas you are getting started in, including: 1. Mainstream learning communities and websites. 2. Famous big cattle in this field and practitioners who are keen to share. 3. […]

  • Oracle multi table associated query and sub query

    Time:2019-11-12

    Oracle multi table associated query and sub query I. multi table associated query Example: SQL> create table student1 ( sid varchar(3), sname varchar(6), sage number(3)); Table created. SQL> create table course1 ( sid varchar(3), cname varchar(8), cno number(3)); Table created. Student1 table SQL> select * from student1; SID SNAME SAGE 01 Li Xiaoyao 21 02 […]