This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CAMP_CODES = | |
"0005": "강동" | |
"0013": "중랑" | |
"0012": "자라섬" | |
Agent.check = -> | |
true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CAMP_CODES = | |
"0006": "gd" | |
"0013": "jncamp" | |
"0012": "jara" | |
Agent.check = -> | |
true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Agent.check = -> | |
@log 'check' | |
Agent.receive = (e)-> | |
@log 'receive', e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CAMP_CODES = | |
"0006": "gd" | |
"0013": "jncamp" | |
"0012": "jara" | |
Agent.check = -> | |
true | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CoffeeScript = require 'coffee-script' | |
xyz = -> | |
console.log 'xyz' | |
x = -> | |
Agent = {} | |
cs = """ | |
Agent.check = -> | |
xyz() | |
Agent.receive = (e)-> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
/* | |
* ENVIRONMENTS | |
* ================= | |
*/ | |
// Define globals exposed by modern browsers. | |
"browser": true, | |
// Define globals exposed by jQuery. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
more... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static function nhnGeocode($addr) | |
{ | |
return Cache::sear('geocode.'.$addr, function() use($addr){ | |
$api_key = Config::get('3rdparty.naver_api_key'); | |
$result_xml = File::getRemote("http://openapi.map.naver.com/api/geocode.php?key=$api_key&encoding=utf-8&coord=latlng&query=" . $addr); | |
$xml = new SimpleXMLElement($result_xml); | |
$lng = $xml->item[0]->point->x; | |
$lat = $xml->item[0]->point->y; |
From Wikipedia: Epicyclic gearing or planetary gearing is a gear system consisting of one or more outer gears, or planet gears, revolving about a central, or sun gear. … Epicyclic gearing systems also incorporate the use of an outer ring gear or annulus, which meshes with the planet gears.
Built with D3.js.