Skip to content

royalwang/sundial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name

sundial - is a collection of useful Abstract Data Structure and Utilities from some open source C projects such as Redis, smhasher, linux and so on.

Build

git clone git://github.com/guiquanz/sundial.git
cd sundial
make

Test

make test

Usage

make sample

What is Sundial?

A sundial is a device that tells the time of day by the position of the Sun. In common designs such as the horizontal sundial, the sun casts a shadow from its style onto a surface marked with lines indicating the hours of the day. The style is the time-telling edge of the gnomon, often a thin rod or a sharp, straight edge. As the sun moves across the sky, the shadow-edge aligns with different hour-lines. All sundials must be aligned with their styles parallel to the axis of the Earth's rotation to tell the correct time throughout the year. The style's angle from the horizontal will thus equal the sundial's geographical latitude. It is common for inexpensive mass-produced decorative sundials to have incorrect hour angles, which cannot be adjusted to tell correct time.

Author

GuiQuan "guiquanz" Zhang (张桂权) guiqzhang@gmail.com

Copyright and License

This Software is licensed under the BSD license.

Copyright (c) 2012 - present by GuiQuan "guiquanz" Zhang (张桂权) guiqzhang@gmail.com

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both the copyright notice and this permission notice and warranty disclaimer appear in supporting documentation, and that the name of Lucent Technologies or any of its entities not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission.

LUCENT TECHNOLOGIES DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

About

sundial - is a collection of useful Abstract Data Structure and Utilities from some open source C projects such as Redis, smhasher, linux and so on.

Resources

License

Stars

Watchers

Forks

Packages

No packages published