This file contains 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
diff --git a/bin/review-compile b/bin/review-compile | |
index afea0d0..f0d3b6e 100755 | |
--- a/bin/review-compile | |
+++ b/bin/review-compile | |
@@ -58,7 +58,7 @@ def _main | |
"mathml" => nil, # for HTML | |
"language" => "ja", # for HTML | |
"deprecated-blocklines" => nil, | |
- "footnotetext" => false, | |
+ "footnotetext" => true, |
This file contains 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
diff --git a/MyTemplate/build.gradle b/MyTemplate/build.gradle | |
index 98a1b61..ef8ce25 100644 | |
--- a/MyTemplate/build.gradle | |
+++ b/MyTemplate/build.gradle | |
@@ -18,8 +18,8 @@ dependencies { | |
compile "com.squareup.dagger:dagger:${daggerVersion}" | |
compile "com.android.support:support-v4:${supportV4Version}" | |
+ compile "com.android.support:appcompat-v7:${appCompatVersion}" | |
compile "com.google.android.gms:play-services:${playServicesVersion}" |
This file contains 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
diff --git a/VolleySample/libs/okhttp-1.0.2.jar b/VolleySample/libs/okhttp-1.0.2.jar | |
new file mode 100644 | |
index 0000000..7592cdf | |
Binary files /dev/null and b/VolleySample/libs/okhttp-1.0.2.jar differ | |
diff --git a/VolleySample/libs/volley.jar b/VolleySample/libs/volley.jar | |
index 31c143c..762e993 100644 | |
Binary files a/VolleySample/libs/volley.jar and b/VolleySample/libs/volley.jar differ | |
diff --git a/VolleySample/src/com/adamrocker/volleysample/MainActivity.java b/VolleySample/src/com/adamrocker/volleysample/MainActivity.java | |
index b2c1dd5..c2118c5 100644 | |
--- a/VolleySample/src/com/adamrocker/volleysample/MainActivity.java |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.example.backupagentsample" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="8" | |
android:targetSdkVersion="17" /> |
This file contains 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
wifiadb() | |
{ | |
addr=$(adb $ADB_OPTS shell ip -f inet -o addr show dev wlan0 | awk 'BEGIN { FS="[ /]+"} {print $4;}') | |
if [ x"$addr" = x"" ]; then | |
return 1; | |
fi | |
echo "addr: ${addr}" | |
adb $ADB_OPTS tcpip 5555 | |
adb connect ${addr}:5555 | |
unset addr |
This file contains 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
#include <stdio.h> | |
#include <math.h> | |
int | |
main(int argc, char* argv[]) | |
{ | |
printf("%s\n", NAN == NAN ? "true" : "false"); | |
return 0; | |
} |
This file contains 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
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/NewProjectCreator.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/NewProjectCreator.java | |
index 19a7101..d7409da 100644 | |
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/NewProjectCreator.java | |
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/NewProjectCreator.java | |
@@ -210,6 +210,8 @@ public class NewProjectCreator { | |
private static final String LAYOUT_TEMPLATE = "layout.template"; //$NON-NLS-1$ | |
private static final String MAIN_LAYOUT_XML = "main.xml"; //$NON-NLS-1$ | |
+ private static final String KEY_IGNORE_WARNINGS = "ignore_optional_problems"; //$NON-NLS-1$ | |
+ |
This file contains 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
/* | |
* Copyright (C) 2012 Makoto Yamazaki <zaki@uphyca.com> | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains 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
package org.zakky.typeparameter; | |
import java.lang.reflect.ParameterizedType; | |
import java.lang.reflect.Type; | |
abstract class Base<K, V> { | |
} | |
class Sub<V> extends Base<String, V> { |
This file contains 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
data MyMaybe a = MyJust a | MyNothing | |
instance Monad MyMaybe where | |
-- (>>=) :: (MyMaybe a) -> (a -> MyMaybe b) -> MyMaybe b | |
-- return :: a -> MyMaybe a | |
(>>=) MyNothing _ = MyNothing | |
(>>=) (MyJust x) f = f x | |
return = MyJust |