Skip to content

Instantly share code, notes, and snippets.

@netsgnut
netsgnut / Coordinates.php
Last active October 16, 2017 16:39
An utility function for converting coordinates from HK80 to WGS84. Dug from an ancient project.
<?php
/**
* Coordinates.php
* An utility for converting HK80 to WGS84 coordinates
*
* Copyright (C) 2010, 2013 Kelvin Wong
* Licensed under the MIT License (http://opensource.org/licenses/MIT)
*
* Note: For the glossaries and conventions for coordinates convertion, please refer to
* the website of Geodetic Survey of Hong Kong.
@netsgnut
netsgnut / ImageMagick-6.8.1-0.podspec
Created October 21, 2013 12:24
ImageMagick for iOS Podspec, 6.8.1-0
Pod::Spec.new do |s|
s.name = 'ImageMagick'
s.version = '6.8.1-0'
s.platform = :ios
s.summary = 'Convert, Edit and Compose Images'
s.homepage = 'http://www.imagemagick.org/'
s.license = {
:type => 'Apache License, Version 2.0',
:text => <<-LICENSE
Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization