permissions of the file are set. Of course, these two attributes are not required for devices. Pass 0
After the device is created, it will communicate with the device. To communicate with the device (that is, to communicate with the driver), use deviceiocontrol to call this parameter in minicd.exe.
Wchar outbuffer [501] = l "MF: // developetool // sql2000sp4. ISO ";DWORD buffersize = 0x3ea;
Deviceiocontrol (Device,0x22008,Null,0,Outbuffer,Sizeof (out
-mtime-2 check files modified in the last two days under/homeFind/home-atime-1. Check the files that have been accessed within one day.Find/home-mmin + 60 check files modified 60 minutes ago under/homeFind/home-Amin + 30 check files that have been accessed in the last 30 minutesFind/home-newer tmp.txt check for files or directories that are earlier than tmp.txt in/home.Find/home-anewer tmp.txt check the files or directories with a time closer to tmp.txt under/home.Find/home-used-2 list the files
/mysql_virtual_alias_maps.cfVirtual_mailbox_base =/home/mail# How to retrieve virtual domains using the specified PostfixVirtual_mailbox_domains = MYSQL:/etc/Postfix/mysql_virtual_domains_maps.cf
Virtual_mailbox_limit = 102400000# How to retrieve the mailbox with the specified Postfix. MySQL is used here.Virtual_mailbox_maps = MYSQL:/etc/Postfix/mysql_virtual_mailbox_maps.cfVirtual_minimum_uid = 501# Email account uid, that is, the Postfix group ID (t
files to the regular Oracle software owner(2) Detailed description of relevant documentsThe LS command and many parameters provide some useful file information.Another unfamiliar command, stat, provides more useful information.
[oracle@Think ~]$ cd $ORACLE_HOME/bin[oracle@Think bin]$ stat oracle File: `oracle' Size: 93362427 Blocks: 182552 IO Block: 4096 regular fileDevice: 802h/2050d Inode: 1557452 Links: 1Access: (6751/-rwsr-s--x) Uid: (
There are three matrices A, B, C. Ask a * B if it is C. (n ^ 3) the algorithm will time out.
Construct an N * 1 Matrix
A * B = C
A * B * x = C * x
A * (B * X) = C * x
Then it can be determined once in (N ^ 2) time.View code
1 program pku3318(input,output); 2 var 3 x,y,z : array[0..501,0..501] of int64; 4 left,right,answer1 : array[0..501] of int64; 5 n : longint; 6 rand
Http://poj.org/problem? Id = 2912
Enumerate + relationships and check the set. The set is similar to 1182. When every child is judge, if the current enumeration is correct, the current enumeration number may be judge. If only one judge is found, find the maximum number of round required to exclude other numbers. The two are output.
After a whole day, WA performed nine times. The reason is that the offset R formula is incorrect and the table is listed many times.
Code:# Include # Include Using na
shell limits (system resource limit) to improve the running efficiency of the software.
A. Add the following red lines to the/etc/security/limits. conf file:
Oracle soft nofile 65536
Oracle hard nofile 65536
Oracle soft nproc 16384
Hard nproc 16384
B. Add the following lines to the/etc/PAM. d/login file, if not:
Session required/lib/security/pam_limits.so
Session required pam_limits.so
C. Add the following statement after/etc/profile:
VI/etc/profile
has been revoked
HTTP 403.15-Access prohibited: too many access permits from customers
HTTP 403.16-Access prohibited: the client certificate is untrusted or invalid
HTTP 403.17-Access prohibited: the client certificate has expired or has not yet taken effect HTTP 404.1-
The web site cannot be found.
HTTP 404-file not found
HTTP 405-the resource is forbidden
HTTP 406-unacceptable
HTTP 407-proxy authentication required
HTTP 410-never available
HTTP 412-precondition failed
HTT
acceptableUnacceptable
407
Proxy authentication requiredProxy verification required
408
Request timeoutRequest timeout
409
ConflictConflict
410
GoneNo longer available
411
Length requiredLength required
412
Precondition failedPrerequisite failed
413
Request Entity too largeThe Request Entity is too large.
414
Request URI Too long URIThe request URI is too long.
Useradd example:
After talking about this for a long time, we also started to use the useradd command to create several accounts to improve our hands-on capabilities. In addition, let's make a demonstration. After all, we have a good idea. Oh, but I forgot what a great man said. Well.# Create a new user chongpig by default without adding any parameters
[Simaopig @ xiaoxiaozi ~] $ Useradd chongpig
Bash:/usr/sbin/useradd: insufficient Permissions
[Simaopig @ xiaoxiaozi ~] $ Su
Password:
[
control and select Properties. A dialog box is displayed, this dialog box has a style option. This parameter corresponds to this style.
Now that we understand the above, let's create a button dynamically. First, add a member variable cbutton m_button in the corresponding class;
In the dialog box editing area, add a button control to the dialog box (click this button to create a button control), add this button control, click the message processing function, and add the following statement to th
(create a Grid Management Group)#/Usr/sbin/useradd-g oinstall-G dba, asmdba oracle-d/home/oracle (oinstall is the main group to ensure that/home/oracle does not exist)# Id oracle (remember the uid and gid of the oracle user)Uid = 501 (oracle) gid = 501 (oinstall) groups = 501 (oinstall), 502 (dba), 504 (asmdba)# Passwd oracle
4. Adjust OS Kernel ParametersSettin
42424 4096 Oct 23 2005 database-Rw-r -- 1 root 801603584 Oct 14 2009 10201_database_linux_x86_64.cpio2. Create a software installation environment2.1 create an Oracle account and directory:Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/--> [root @ Fantasy ~] # Groupadd oinstall[Root @ Fantasy ~] # Groupadd dba[Root @ Fantasy ~] # Useradd-g oinstall-G dba oracle[Root @ Fantasy ~] # Passwd oracleChanging password for user oracle.New UNIX password:B
changes the data in the third column of/etc/shadow.
-U unlock
Uerdel deletes user-related data
Account Password:/etc/passwd,/etc/shadow
User group:/etc/group,/etc/gshadow
User personal file data:/home/username,/var/spool/mail/username
Userdel-r username
-R is also deleted along with the user's main folder.
User features:
Id
Uid = 501 (lixue) gid = 501 (lixue) group =
, -- password PASSWORD to encrypt the new account password-r, -- system to create a system account-R, -- root CHROOT_DIR chroot to the directory-s, -- shell SHELL New Account Login shell-u, -- uid UID new account user ID-U, -- user-group creates a group-Z with the same name as the user, -- selinux-user SEUSER is SELinux user ing using the specified SEUSER
Create a new user named "/home/test5" with UID = 501, GID =, and validity period of 30 days.
Comm
the login shell for the new user account-u, --uid UID force use the UID for the new user account-Z, --selinux-user SEUSER use a specific SEUSER for the SELinux user mapping[root@localhost ~]# useradd -DGROUP=100HOME=/homeINACTIVE=-1EXPIRE=SHELL=/bin/bashSKEL=/etc/skelCREATE_MAIL_SPOOL=yes[root@localhost ~]# useradd test[root@localhost ~]# id testuid=500(test) gid=501(test) groups=5
quotafile: No such fileor directoryquotacheck: Cannot stat old group quotafile: No such fileor directoryquotacheck: Checked 2 directories and 0 filesquotacheck: Old filenot found. quotacheck: Old filenot found. [root @ localhost ~] # Ll/mnt/sdb -- view the two generated files total 26-rw -------. 1 root 6144 Jan 9 aqu59 aquota. group-rw -------. 1 root 6144 Jan 9 aqu59 aquota. userdrwx ------. 2 root 12288 Jan 9 17: 55 lost + found [root @ localhost ~] # Quotaon-avug -- enable the quota functio
email subject! "); Try {mimeMsg. setSubject (MimeUtility. encodeText (mailSubject, "UTF-8", "B"); return true;} catch (Exception e) {log = "An error occurred when setting the email subject! "+ E; System. err. println (log); return false ;}} public boolean setBody (String mailBody) {try {System. out. println ("set the mail body format"); BodyPart bp = new MimeBodyPart (); // convert it to the Chinese format bp. setContent ("
Ii. Problem Summary
2.1 error reported during local execution
Java e
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.