Skip to content

Instantly share code, notes, and snippets.

CAMP_CODES =
"0005": "강동"
"0013": "중랑"
"0012": "자라섬"
Agent.check = ->
true
CAMP_CODES =
"0006": "gd"
"0013": "jncamp"
"0012": "jara"
Agent.check = ->
true
Agent.check = ->
@log 'check'
Agent.receive = (e)->
@log 'receive', e
CAMP_CODES =
"0006": "gd"
"0013": "jncamp"
"0012": "jara"
Agent.check = ->
true
CoffeeScript = require 'coffee-script'
xyz = ->
console.log 'xyz'
x = ->
Agent = {}
cs = """
Agent.check = ->
xyz()
Agent.receive = (e)->
{
/*
* ENVIRONMENTS
* =================
*/
// Define globals exposed by modern browsers.
"browser": true,
// Define globals exposed by jQuery.
more...
@eskim
eskim / gist:8440483
Created January 15, 2014 17:27
jquery deferred sequential
We couldn’t find that file to show.
@eskim
eskim / gist:7860384
Created December 8, 2013 17:13
PHP naver geocode
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;
@eskim
eskim / README.md
Created October 16, 2012 13:20 — forked from mbostock/.block
Epicyclic Gearing

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.