Skip to content

Instantly share code, notes, and snippets.

View vvakame's full-sized avatar
💭
❤️ 🐈

Masahiro Wakame vvakame

💭
❤️ 🐈
View GitHub Profile
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<includes>
<include>all-your-source-are-belong-to-us</include>
</includes>
</configuration>
<executions>
<execution>
<id>with-apt</id>
package hoge;
import java.io.PrintWriter;
import java.util.logging.Logger;
import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;
import org.slim3.datastore.Datastore;
import com.google.appengine.api.datastore.Entity;
package net.vvakame.delegatefactory.sample.hide;
/* @hide */
public class Bridge {
public Bridge() {
}
/* @hide */
static Data2 combine(Data1 data) {
package net.vvakame.appengine.test.controller.y2011.m02.d24;
import java.util.Date;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.logging.Level;
import java.util.logging.Logger;
import net.vvakame.appengine.test.model.y2011.m02.d24.Test20110224;
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>jsonpullparser-apt</artifactId>
<packaging>jar</packaging>
<parent>
<groupId>net.vvakame</groupId>
<artifactId>jsonpullparser-parent</artifactId>
package net.vvakame.appengine.deferred.sample;
import java.util.ConcurrentModificationException;
import java.util.List;
import java.util.Map;
import net.vvakame.appengine.deferred.annotation.Deferred;
import net.vvakame.appengine.deferred.util.DeferredUtil;
import com.google.appengine.api.datastore.Key;
package net.vvakame;
public class Homework{
public static void main(String[] args) {
System.out.print(1 * 1);
System.out.print(" ");
System.out.print(1 * 2);
System.out.print(" ");
@vvakame
vvakame / Item.java
Created May 31, 2011 15:54
ReadItLater Retreive a User's List
package net.vvakame.sample.duma;
import net.vvakame.util.jsonpullparser.annotation.JsonKey;
import net.vvakame.util.jsonpullparser.annotation.JsonModel;
/**
* へっへぇーいい!!
* @author vvakame
*/
@JsonModel(treatUnknownKeyAsError = true, decamelize = true)
@vvakame
vvakame / build.properties
Created June 10, 2011 06:11
Android+JPP build by ant
src=src
gen=gen
jpp.genclass.postfix=Gen
apt.processor.dir=factory
#!/bin/bash
pdf2zip(){
file_path="$1"
file_name="${file_path##*/}"
name="${file_name%.pdf}"
extension="${file_path##*.}"
if [ "${extension}" != "pdf" ]
then