Use the page here , you just click on points and the distance will appear either in miles or in kilometers. You can also mark multiple points and calculate a real length of a path.
Don't panic , it is really easy. Your Steps will be: 1. Create a key on your Mac 2. Define your key on remote Linux 3. Connect via ssh. 1. Create the key on your Mac Open the terminal :) First make a directory named .ssh on your home directory ( mkdir .ssh ) If it exist , no problem. Go to the newly created .ssh directory with command cd .ssh Then, you need to create a ssh key on your MAC. There will be 2 files for key. If you dont want any passwords , just press enter when passphrase asked. Filename will be default id_rsa if you just hit enter. But if it already exists , you may want to choose another name. Hakos-MacBook-Pro:.ssh hakan$ ssh-keygen -t rsa -C "your@email.com" Generating public/private rsa key pair. Enter file in which to save the key (/Users/hako/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/hako/.ssh/id_rsa. Your public key has been saved in /
Here is a sample code I just wrote. This class copies one file to another. By understanding this code below , you will comphrend both reading from and writing to file concepts in java. I used FileInputStream and FileOutputStream in this code. package javacream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; public class FileUtil { public static void copyFile(String strInputFileName , String strOutputFileName) throws IOException { //Prepare file objects File fInputFile = new File(strInputFileName); File fOutputFile = new File(strOutputFileName); //Prepare read write streams from file objects FileInputStream fis = new FileInputStream(fInputFile); FileOutputStream fos = new FileOutputStream(fOutputFile); int c; // read from the input file and write to the output file while ((c = fis.read()) != -1) {
You need: iAtkos ML2 ( Mountain Lion 10.8.2 or higher) An 64 Bit laptop USB Flash (capacity 8gb or larger) Plenty of time (esp the laptop does not have an SSD ) You need tp download iAtkos ML2 as a DMG file and write to your USB Flash. You can find the file from various torrent sites. You need a Mac computer or a virtual host Mac to write the DMG to your USB. If you have your USB Flash ready with iAtkos ML2 DMG, then plug it in to your computer and reboot. You may need to choose boot from USB (press F12 on some BIOSes) Some important steps: BIOS setting must bring to factory defaults and activate "Intel Virtualization Technology" setting on your BIOS. You may need to activate verbose mode of iAtkos ML2 by pressing -v key combination. If your HD has a partition , erase it and create a brand new Mac OS partition. If you have an old graphics card (not Mobility) you have to disable graphic card activation. Once you configure your MacOS , you can upgrade