1. Enter your own salary to calculate the personal income tax: according to the current tax rate (find your own tax rate)
public static void Main (string[] args) {System.out.println ("Please enter your salary:");Scanner sc=new Scanner (system.in);Double money=sc.nextdouble ();Double total=0.0;total=money-3500;Double revenue=0.0;if (totalSystem.out.println ("Congratulations, no watering");}else if (totalrevenue=total*0.03;}else if (total>1500totalrevenue=1500*0.03+ (total-1500) *0.1;}else if (tot
1. Compiler: Commonly used has Sourcery,linaro and so on. Of course, the chip manufacturers will generally also provide the available compilers.2. Configure and compile the output o to another location: Make O=some_dirThe advantage of doing this is to keep the source tree clean.Note: The O option must be given in each make command:Make Gconfig o= ...Make Arch=arm cross_compile= ... O= ...3. Multi-process Parallel compilation: Make J=n,n is the number of concurrent processes.4. Devicetree positio
formatted, it can only be partitioned into logical partitions
Remaining space (can be partitioned three, four occupy) 2G
In the extended partition, create two logical partitions each 2G, formatted as d:e: disk.
So what does Linux look like? Note I mentioned that partitions are the same for any operating system, although Linux does not agree with C D e disks, but these partitions are the same. So Linux under look is also partition one, partition two things. But it is different to the markings
/SDB2 .../DEV/SDC1,/dev/sdc2 ...
In the older Linux kernel, all IDE-related driver code is not only too complex, but also a lot of problems. As a result, Linux kernel developers start with kernel 2.6.19, providing libata based PATA drivers that enable IDE devices to be used like SCSI devices.
So, what we're using in Ubuntu, whether you're using an IDE hard disk or a SATA hard drive, you see devices that are/DEV/SDX instead of/DEV/HDX. From t
veterans have warned users to install Windows and then install Linux, but there are times when Windows crashes or is poisoned and must reload the Windows system to fix grub. The reason for this is because Windows overwrites the Multiboot grub, and its own program does not have the ability to boot Linux boot.The solution is simply to re-fix grub and what is needed is the installation disk.Ubuntu FIX:Use the CD to start Ubuntu, choose try Ubuntu without any your computer.A successful boot from th
Linux over MBR have been intensifying.
So how can we prevent two systems from quarreling? Two methods.
The first is post-event repair. Use any boot disk that can be directed to grub (for example, your LiveCD) to go to grub. If you first enter a terminal, enter
Grub
You can enter the terminal and perform grub repair and installation. If you know your disk Number X (usually 0) and Linux Partition Number (Partition Number) Y (starting from 0 ), then you can run:
Root (
1. switch to the root user # su -- root2, enter grub mode # grub3, and then perform grub gt as follows; find/boot/grub/stage1 or find/grub/stage1 usually return something like (hd0, 5), remember it. Grub gt; quit4. edit grub. conf # vim/
1. switch to the root user
# Su -- root
2. go to grub mode
# Grub
3. follow these steps:
Grub> find/boot/grub/stage1 or find/grub/stage1
It usually returns something like (hd0, 5). remember it.
Grub> quit
4. edit grub. conf.
# Vim/boot/grub. conf
Replace all (
Modify the background image of Grub in Debian-Debian information for the Linux release. For more information, see the following. 1. install required software:
Apt-get install imagemagick
2. Select the background image to use and convert it using the convert command.
Convert XXXX.jpg-colors 14-geometry 640X480! XXXX. xpm
3. Use gzip for compression
Gzip XXXX. xpm generate the XXXX.xpm.gz File
4. Copy xxxx.xpm.gz to/boot/grub.
Cp XXXX.xpm.gz/boot/grub/
5. Modify/boot/grub/menu. lst
Installing Ubuntu 8.07 is a real disaster... there is a problem almost every time it starts... grub error 17 has been encountered twice in a row, but it has been solved like a big deal...
Ubuntu Chinese wiki orThere are many solutions for Baidu and Google. Here is a summary:
Start with Ubuntu live CDApplicationProgram= "Appendix =" TerminalType the following command:$ Sudo grub$ Find/boot/GRUB/stage1# Return a value such as (hd0, 8)$ Root (hdx,
I a disk 7th partition installed Linux, the first partition first installed XP, after reloading for windows8.1, found that grub boot is gone, directly into the windows, the solution is as follows:1, LiveCD into the system, open the shell2. Enter Sh#fdisk-l to enter the disk list. Write down where your Linux and Windows are installed.3, Input Sh#grub, enter the GRUB configuration interfaceGrub>root (hdx,y) Here the X and Y representatives are numbers.
device. In addition to IDE devices, storage devices for interfaces such as SCSI, SATA, USB, and Firewire are all represented by sd.
Now you know that/dev/sdb2 refers to 2nd partitions of 2nd SCSI hard disks, while/dev/hda5 refers to 1st partitions of 5th IDE hard disks.
Table 2.3 Linux hard disk partition Representation
IDE interface hard drive
SCSI interface Hard Disk
Representation of the entire hard disk
/Dev/hda/Dev/hdb/Dev/hdc......
/Dev/sda/Dev/sdb/Dev/sdc..
, call the Collect () method of the IndexFileProxy object to reinitialize a new pair of index files (. hdx and. idx) so that the next index information can be stored.
6. IndexFileProxy calls IndexFile. AddWordAndDocList (wl. Word, wl. DocList) of the Index Class in the AddWordPositionAndDocumentPositionList () to record the index information corresponding to the index Word. Finally, record the stored index file information to the memory for query and
the HPI 8 interface is used, TOuTl bit and DIRx are forced to be set to zero, and the general input/output pins can only be in the input mode.
The GPIO pin (HDx, x = 0: 7) status can be monitored by the position in the GPIOSR. 4. When an HDx pin is set to the input end (by writing an "O" to the DIRx bit in GPIOCR "), the corresponding bits in GPIOSR can be read to determine the logical valu
logical partitions are supported, about 20 GB, Which is set as needed) for installing centos.
Windows partition naming rules: (hdx, Y), where X indicates the hard disk number, starting from 0; y indicates the Partition Number, starting from 0, because a maximum of four primary partitions are allowed, so 0 ~ 3 indicates the first to fourth primary partitions, and the logical Partition Number starts from 4. For example: (hd0, 0) indicates the first pri
1,
Download
Tools
If you install grub to MBR and reinstall Windows XP/2 K to clear MBR, how can you fix GRUB boot records in MBR? Here we will introduce
Method
Grub4dos is a DOS tool. The latest grub4dos version can be found here.
After downloading it, you can use WinRAR, WinZip, or
Linux
Run the tar zxvf command to unbind the grub.exe file and place it in your fat/FAT32 partition (such as D:/grub4dos ).
2. Restart to dos. You can use DOS to start a floppy disk or a CD (I think there
partition.Remaining space (three or four shards can be used) 2 GB
In the extended partition, two logical partitions are created, each of which is 2 GB and formatted as D: E: disk.
So what does it look like in Linux? Note that partitions are the same for any operating system. Although Linux does not agree with the c d e drive, these partitions are the same. Therefore, in Linux, partition 1 is used as the second-class partition. However, it has different labels and interpretations for these parti
of multiple pieces of paper feed. It has little to do with the paper jam. You can check the paper wheel and the transfer roller under the tab. They are more likely to be damaged, if damaged, replace it.Q: Why does the printing on Samsung 4500 appear light after powder is added?A: First of all, when adding powder, you must clean all the powder in the original powder warehouse, and scrape the scraper of the powder warehouse with a metal appliance. (One
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.