自分カウンセリング。自分のことがよくわからないので、いろいろと自分の性質をあぶり出した上で、戦術・戦略を立てる
ここでは「なりたい自分」にスコープを限定して探る
package main | |
/* | |
#cgo CFLAGS: -I../mruby/include | |
#cgo LDFLAGS: -L../mruby/build/host/lib -lmruby -lm | |
#include <mruby.h> | |
#include <mruby/compile.h> | |
*/ |
$ /Applications/IntelliJ\ IDEA\ 14.app/Contents/MacOS/idea | |
2014-11-06 02:34:18.341 idea[1475:374197] find Java: 1.7.0_72 | |
2014-11-06 02:34:18.342 idea[1475:374197] No matching VM found. | |
[JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file | |
[JavaAppLauncher Error] CFBundleCopyResourceURL() failed while getting Resource/Java directory | |
[LaunchRunner Error] No main class specified | |
[JavaAppLauncher Error] CallStaticVoidMethod() threw an exception | |
Exception in thread "main" java.lang.NullPointerException | |
at apple.launcher.LaunchRunner.run(LaunchRunner.java:113) | |
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) | |
func main() { | |
url := "http://yukkurisinai.net/gopher.png" |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"strings" | |
) |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"runtime" | |
"strings" | |
"sync" |
package main | |
import ( | |
"fmt" | |
"github.com/codegangsta/cli" | |
"io/ioutil" | |
"net/http" | |
"os" | |
"runtime" | |
"strings" |
import java.io.{InputStreamReader, BufferedReader} | |
import com.amazonaws.{Protocol, ClientConfiguration} | |
import com.amazonaws.auth.BasicAWSCredentials | |
import com.amazonaws.services.s3.AmazonS3Client | |
import com.amazonaws.services.s3.model.AmazonS3Exception | |
object app extends App { | |
private def getObject(s3: AmazonS3Client, bucket: String, key: String): Either[Throwable, String] = { | |
try { |
package controllers; | |
import com.amazonaws.AmazonClientException; | |
import com.amazonaws.ClientConfiguration; | |
import com.amazonaws.Protocol; | |
import com.amazonaws.auth.BasicAWSCredentials; | |
import com.amazonaws.services.s3.AmazonS3Client; | |
import com.amazonaws.services.s3.model.S3Object; | |
import play.*; | |
import play.mvc.*; |