A gadget that displays IP geolocation information under Linux-naliFirst, IntroductionNali, the name is taken from the Chinese "where" pinyin. Nali contains a set of command-line programs whose main function is to attach the IP strings of the output of some network tools to the location information (using the Pure database QQWry.Dat). For example, 74.125.128.104 will become 74.125.128.104[the California Mountain View of the United States Google Inc.].
The Window.navigator object contains information about the visitor's browser, and the Window.navigator object can be written without using the window prefix.Browser supportInternet Explorer 9, Firefox, Chrome, Safari, and Opera support geo-targeting.Note: geo-positioning is more accurate for devices with GPS, such as the IPhoneHTML5 Geo-positioningHTML5 provides the Geolocation property for Window.navigator, which is used to obtain the current user's
LBS, which stores the latitude and longitude coordinates of each location, searches for nearby locations and establishes a geographical index to improve query efficiency.
MongoDB geolocation Index,2d and 2dsphere, corresponds to planar and spherical surfaces.
1. Create lbs collection Storage location coordinates
Use Lbs;db.lbs.insert ( { loc:{ type: ' point ', coordinates: [113.332264, 23.156206] }, Name
#./configure# Make make installIv. Updating IP databasesYou can use the Nali-update command to update the IP database/usr/local/share/qqwry.dat This file needs to be updated frequently, otherwise the error will be relatively large.V. Use of5.1. Nali# Nali 74.125.128.106# Nali 61.135.169.1055.2. Nali-dig# Nali-dig www.google.com5.3. Nali-nslookup# nali-nslookup www.google.com5.4. Nali-traceroute# Nali-traceroute www.google.com5.5. Nali-tracepath# Nali-tracepath Www.baidu.com5.6. Nali-ping# nali-
#./configure# Make make installIv. Updating IP databasesYou can use the Nali-update command to update the IP database/usr/local/share/qqwry.dat This file needs to be updated frequently, otherwise the error will be relatively large.V. Use of5.1. Nali# Nali 74.125.128.106# Nali 61.135.169.1055.2. Nali-dig# Nali-dig www.google.com5.3. Nali-nslookup# nali-nslookup www.google.com5.4. Nali-traceroute# Nali-traceroute www.google.com5.5. Nali-tracepath# Nali-tracepath Www.baidu.com5.6. Nali-ping# nali-
"title=" 10.jpg "alt=" Wkiom1vvtavisvxeaamv_hollcq887.jpg "/>In other words, Nali This command, you can attach the geo-information to the standard output IP. Similarly, if you do not like to use Nali-dig, then you can also use dig Ip|nali such commands.VI. AliasIf you think the input nali-xxx trouble, then you can do some alias, for example:# alias Traceroute= ' Nali-traceroute '# alias dig= ' Nali-dig '650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6D/F2/wKioL1VvtbvwWBDzAAReQal2ryk
to dig |nali)Second, download# wget--no-check-certificate http://qqwry.googlecode.com/files/nali-0.2.tar.gzThird, installation# tar ZXVF nali-0.2.tar.gz# CD nali-0.2#./configure# Make make installIv. Updating IP databasesYou can use the Nali-update command to update the IP database/usr/local/share/qqwry.dat This file needs to be updated frequently, otherwise the error will be relatively large.V. Use of5.1. Nali# Nali 74.125.128.106# Nali 61.135.169.1055.2. Nali-dig# Nali-dig www.google.com5.3.
-mounted clock, in addition to the user's 3D coordinates x, y, and z,Delta T refers to the time difference between the satellite and the receiver as an unknown number, and then the four unknown numbers are parsed using four equations. Therefore, if you want to know where the receiver is, you must be able to receive signals from at least four satellites.
As we can see from the above, GPS is not what I originally thought. The GPS device sends a request to the satellite, and the satellite returns t
1817. geolocation Grand Prix
Description
Each jury in the contestant Grand Prix will rate each contestant. Use the class to describe the ratings of each contestant by the judges. The contestant scoring rule is to remove one highest score and one lowest score, and then calculate the average score. program the score of a contestant.
Input
There are multiple groups of input data. The first behavior data group is T.
The first ro
The Finder is a system program for MAC computers, some of which are similar to Windows-enabled resource managers. It's the "smiley face" we first saw on our Mac, and with it, we can organize and use almost everything on your Mac, including applications, files, folders, disks, and shared disks on your network, and you can see rich, high-quality file previews at the same time.Next, I will share with you some of the experience of using
The Finder is a system program for MAC computers, some of which are similar to Windows-enabled resource managers. It's the "smiley face" we first saw on our Mac, and with it, we can organize and use almost everything on your Mac, including applications, files, folders, disks, and shared disks on your network, and you can see rich, high-quality file previews at the same time.Next, I will share with you some of the experience of using
1. Show more information in Finder windowOpen any Finder window. Go to and open the "Show"-"display Path Bar", "Show"-"display status bar" and "Show"-"Show preview" three items.The Show path bar is selectedThe path bar is usually started from the disk partition, the name is not changed is called "macintosh hd", followed by "user", but the path information of these two items almost no effect, the need to see
In the OS X 10.9 system and later versions, Apple added a label feature to the Finder File Manager, which means that you can open several different Finder windows in the same window, like a browser's tab. The following small series for you to explain how to open multiple Finder tabs on the Mac steps:
1, as shown in the following figure, is currently
The Finder can locate the target serverresource and effectively process the request.
1. Finder manages the entire lifecycle of the serverresource subclass The default Implementation of finder is to use gettargetclass () to obtain the name of the serverresource subclass stored in the targetclass attribute of the finder
What should I do if the finder is stuck? Or do I need to restart the finder after executing some commands? The following two methods can be used.
How to operate on the dock icon
Press and hold the option key, right-click and press the finder icon, and select "re-enable" in the menu"
How to operate on a terminal
Open the terminal (Application-utilities), enter the
is the finder stuck requiring a reboot or is it necessary to reboot the Finder after executing certain commands? The following two methods are available.
How to operate on the Dock icon
Select "Reopen" in the menu by holding down the option key and right-clicking the Finder icon.
How to operate in a terminal
Open the terminal (application – utility), and ente
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.