Skip to content

Instantly share code, notes, and snippets.

View okuryu's full-sized avatar

Ryuichi Okumura okuryu

View GitHub Profile
$ java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
$ ant -version
Apache Ant version 1.8.1 compiled on September 21 2010
$ ant -q all
[post] Exception in thread "Thread-8" /Users/okuryu/work/builder/componentbuild/shared/macrolib.xml:135: java.io.IOException: Server returned HTTP response code: 500 for URL: http://127.0.0.1:8081/
[post] at net.sf.antcontrib.net.PostTask$2.run(PostTask.java:404)
[post] Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://127.0.0.1:8081/
@okuryu
okuryu / output.txt
Created December 19, 2010 14:27
Build YUI 3 module error.
$ ant -q all
[post] Exception in thread "Thread-8" /Users/okuryu/work/builder/componentbuild/shared/macrolib.xml:135: java.net.ConnectException: Connection refused
[post] at net.sf.antcontrib.net.PostTask$2.run(PostTask.java:404)
[post] Caused by: java.net.ConnectException: Connection refused
[post] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[post] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[post] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[post] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[post] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1496)
[post] at java.security.AccessController.doPrivileged(Native Method)
#!/usr/bin/env node
if (!process.argv[2] || !process.argv[3]) {
console.log('Usage: ' + process.argv[1] + ' <Flickr API Key> <User NSID>');
process.exit();
};
const API_KEY = process.argv[2];
const USER_ID = process.argv[3];
const FLICKR_DOMAIN = 'api.flickr.com';
<!DOCTYPE html>
<html>
<head>
<title>YUI 3 throttle function test</title>
</head>
<body>
<p>YUI 3 throttle function test</p>
<script type="text/javascript" src="http://yui.yahooapis.com/3.1.0/build/yui/yui-min.js"></script>
<script type="text/javascript">