How to view hard disk models and hard disk serial numbers in linux hdparm-I/dev/hda display hard disk settings [root @ cnscn ~] # Hdparm/dev/sda: IO_support = 0 (default 16-bit) readonly = 0 (off) readahead = 256 (on) geometry = 19929 [number of cylinders]/255 [number of magnetic heads]/63 [number of sectors], sectors
InputStreamReader (system.in));
String userId = null;
UserId = Reader.readline ();
Myeclipsegen Myeclipsegen = new Myeclipsegen ();
String res = myeclipsegen.getserial (userId, "5");
System.out.println ("Serial:" + res);
Reader.readline ();
catch (IOException ex) {
}
}
}
Create a new Java project, copy the code to create a new class Myeclipsegen, and run the code that appears in the console:
Download the RHEL5.1DVD version with the serial number-Linux general technology-Linux programming and kernel information. For more information, see the following. RHEL 5.1 and RHEL 4.6
We recommend using thunder to download
5.1 i386
Http://linux.ifensi.com/redhat/rhel5/rhel-5.1-server-i386-dvd.iso
5.1x64
Http://linux.ifensi.com/redhat/r... rver-x86_64-dvd.iso
4.6 i386
Http://rhel.ieesee.net/uingei/RHEL4.6-
The engineer reported today that our program cannot obtain the machine code (hard disk serial number) under Vista ). After searching for information from Google and the help of msdn, we finally got it done.
There are many examples of VB. NET code on the Internet.
C #
String info = "";Managementclass MC = new managementclass ("win32_physicalmedia ");Managementobjectcollection MOC = mc. getinstances ();For
Method 1
Connect to the netapi32.lib library, define an NCB struct, and then call netbois (NCB) to obtain the serial number.
If NetBIOS is disabled, the serial number cannot be obtained.
Method 2
It is of little practical value to call the ipconfig command to obtain the result.
Method 3: Use the SNMP protocol
Read load
with T3 SELECT * fromCms_userWHEREUsername REGEXP'^t';4 5 --$ matches the part of the end of the string6 7 SELECT * fromCms_userWHEREUsername REGEXP'g$';8 9 Ten --. Represents any character One A SELECT * fromCms_userWHEREUsername REGEXP'.'; - - SELECT * fromCms_userWHEREUsername REGEXP'R.. G'; the - SELECT * fromCms_userWHEREUsername like 'R__g'; - - --[Set] [LTO] + - SELECT * fromCms_userWHEREUsername REGEXP'[LTO]'; + A --[^ charset] In
One. Example 1. Custom Sequence number,The General list order is in 1.2.3., but need "," instead of ".", then we have to define ourselves, mainly using the CSS of the counter-increment part and sub-parts are numbered, but the problem is that the part of the line is not automatically indented[CSS]View PlainCopy1 ol{list-style-type:none;counter-reset:sectioncounter;width:200px;} 2 ol Li:before { 3 content:counter (sectioncounter) ","; 4 cou
the voidGetcpuidex (unsignedintcpuinfo[4], unsignedintInfoType, unsignedintecxvalue) - { the #ifDefined (_msc_ver)//MSVC the #ifDefined (_win64)//Inline assembly is not supported under 64-bit. 1600:vs2010, it is said that VC2008 SP1 after the support of __cpuidex. the__cpuidex ((int*)(void*) CPUInfo, (int) InfoType, (int) ecxvalue);94 #else the if(Null==cpuinfo)return; the _asm{ the //load. Read the parameters to the register.98 mov edi, CPUInfo; About mov eax, infotype; - mov ecx,
Copy codeThe Code is as follows:/*** Serial number generator*/Function snMaker ($ pre = ''){$ Date = date ('ymmd ');$ Rand = rand );$ Time = mb_substr (time (), 5, 5, 'utf-8 ');$ SerialNumber = $ pre. $ date. $ time. $ rand;// Echo strlen ($ serialNumber). 'Return $ serialNumber;}Echo snMaker ();/*** Replace a part of
=====vmware Workstation4.5.2 build 8848 for windows=====
Zhdh1-ur90n-w844g-4ptn6
G1np0-t88al-m016f-4p8n2
=====vmware-workstation-4.5.2-8848 for Linux =====
Zc14j-4u16a-0a04g-4mezp
J1wf8-58lde-881dg-4m8q3
=====vmware Workstation 5 for Windows =====
Luxrm-wp0dn-a256u-4m9q3
Djxdr-ndt27-y2ndu-4ytzk
=====vmware Workstation 5 for Linux =====
Da925-hp80u-z8hdc-4wxxp
3kw2w-ayr2c-88m6f-4mdq2
=====vmware.gsx.server.3
of VMware Workstation 6.0.0 build-45731 for Linux for thisRunning kernel completed successfully.
You can now run vmware workstation by invoking the following command:"/Usr/bin/vmware ".
Enjoy,
-- The VMware team
Run vmware6
User License description
VMware Main Interface
Vmware6 supports the latest RedHat Enterprise 5 32/64 and Microsoft Vista.You must register before you can use all functions. Registration is for money.
VMware software version inform
This is because I recently learned how to develop embedded systems on the wince platform.
Therefore, you need to install evc4.0 and SP4 on the machine. As a result, the running program appears:"One or more files from the emulator for Windows CE installation is missing. Please reinstall emulator for Windows CE and try again ."
Solution: follow the above steps to go to The Device Manager> advanced> Start and fault recovery (Select Settings)> select edit in the start and fault recovery Dialog Box>
1. Install Norton AntiVirus 2012 180-day version (Facebook Partner Edition)2. turn off Norton Tamper and virus protection (stay connected)3. Run NTR2011: Click the blue "... install ..." (Wait, Norton will be back in taskbar)run Open Norton again, it will automatically pop up the activation page, enter the mailbox creation account (any mailbox not registered with Norton can be), and then enter the name, email, password, country, complete activation .4. Enter the https://account.norton.com/ams
database role in the Subscriber database, or have equivalent permissions if the Subscriber is for a non-SQL Server Subscriber.
5
View replication Monitor/dbo. MSrepl_errors
The following error is reported:
Command:
If @ trancount> 0 rollback tran(Transaction serial number: 0x0000003A000001DB006800000000, command ID: 3)
Error message:
· The row cannot
The example of this article tells the MySQL simple implementation of query results add serial number method. Share to everyone for your reference, specific as follows:
The first method:
Copy Code code as follows:
Select (@i:=@i+1) as i,table_name.* from table_name, (select @i:=0) as it
The second method:
Set @rownum =0;
Select @rownum: = @rownum +1 as rownum, t.username from Auth_User t l
caller can executeCOMMENT ' String ' is a comment message To view stored procedures under a database:SHOW PROCEDURE STATUS WHERE db= ' database name '; View the list of stored procedures under the current database:SELECT specific_name from Mysql.proc; To view the contents of a stored procedure:SELECT specific_name,body from Mysql.procwhere specific_name = stored procedure name;Or: SHOW CREATE PROCEDURE Stored procedure name. To delete a stored procedure:DROP PROCEDURE IF exists stored p
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.