I/O -- File object
File file object
File s and folders are represented by files
Create a file object, (no real files or folders will be created)
File f1 = new File("d:/lolfilder");
System.out.println("f1 Absolute path of:"+f1.getAbsolutePath());
File f2 = new File("lol.exe");
System.out.println("f2 Absolute path of:"+f2.getAbsolute ...
Added by Megienos on Sun, 17 Nov 2019 21:57:25 +0200
Duilib - Basic Framework
Basic framework
A simple Duilib program is generally as follows:
// Duilib use settings section
#pragma once
#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_DEPRECATE
#include <windows.h>
#include <objbase.h>
#include "..\DuiLib\UIlib.h"
using namespace DuiLib;
#ifdef _DEBUG
# ifdef _UNICO ...
Added by tili on Sun, 17 Nov 2019 20:52:05 +0200
Setting up a separate development environment of front and back end under Windows
Recently, the company plans to adopt the development mode of front-end and back-end separation, which means that the front-end and back-end code will be divided into two projects, so I plan to use nginx's reverse agent to build a development environment for subsequent development.
Install nginx
The first step, of course, is to install nginx. He ...
Added by departedmind on Sun, 17 Nov 2019 20:07:35 +0200
[Practice Exercise, Reject 996]-SpringBoot 2.x Custom Spring boot Starter
Welcome to your attention
Increase in Competency and Waiting
Interview knowledge, job ready
Practice Exercise, Refuse 996
If this article is helpful and enjoyable to you, please give it a compliment!
Preface
Does it feel difficult to get promoted at work?
Do you find job interviews so difficult?
Do you feel like you are working overtime ever ...
Added by chetanrakesh on Sun, 17 Nov 2019 03:49:35 +0200
JavaScript Closure Use Posture Guide
Introduction
A closure is a function that can access variables in the scope of another function. A closure is a function that can access variables in the scope of other functions. js has a global object, under the browser is window, under the node is global. All functions under this object can also access variables under this object. That is to ...
Added by magic-eyes on Sat, 16 Nov 2019 04:08:07 +0200
Nginx optimization log segmentation
Log segmentation
1. Too many log files in the enterprise server cause the following problems:1. It is inconvenient for development and operation and maintenance to query too large log files, especially when overtime workers are tired;2. Long time ago, log files were almost worthless, but manual cleaning was too cumbersome.At this time, a solut ...
Added by Hard Styler on Thu, 14 Nov 2019 22:22:12 +0200
Two methods for Oracle to query the highest paid employees in each department: 1. MAX() function 2. RANK() function
this article takes the initial EMP table of SCOTT users as a reference. The code can be used directly.
The statement to query the structure of the EMP table is as follows, code 1:
DESC EMP;
The structure of EMP table is as follows: [result 1]:
SQL> DESC EMP;
//Is the name empty? Type
-------------------------- ...
Added by himnbandit on Thu, 14 Nov 2019 18:51:03 +0200
oracle monitoring failure in windows
Phenomenon: the database service and monitoring run normally, but the function module is very slow to open;Process:I. check the database alert? Oaxx.log logLog switching is not high, no error is reported; database load is not large;II. Check database statusThe service and monitoring are running normally, sqlplus / as sysdba login is normal, an ...
Added by pppppp on Thu, 14 Nov 2019 17:42:04 +0200
Using diskutil to format U disk under mac
brief introduction
People who have used win32diskimage know that the u disk will become several partitions after being mirrored with that object, and some partitions cannot be mounted, and the disk management tool of Mac can not deal with this problem well, but there is no good partition tool under Mac. If there is one that can be recommended ...
Added by jester626 on Tue, 12 Nov 2019 01:29:32 +0200
An interesting.Net Core collaborative development experience with C on Linux: Generating Linux standard user password strings
Recently, I encountered the problem of Linux user authentication in the process of the project. I thought about how to check the security of local Linux users, so I checked some data.
Password Storage for Linux
Looking at the data, we found that earlier Linux was stored in the / etc/password file, because the / etc/password permission control ...
Added by endersix on Mon, 11 Nov 2019 18:51:30 +0200