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
// android.support.annotation の @NonNull が定数式以外に全く効果が無い件。 | |
// この場合は test() の3つ目は警告を出して欲しいだろう普通 | |
boolean f1( @NonNull String arg){ | |
return arg.contains( "foo" ); | |
} | |
@NonNull String getString(){ | |
return "foo"; | |
} |
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
// android.support.annotation の @NonNull が定数式以外に全く効果が無い件。 | |
// この場合は test() の3つ目は警告を出して欲しいだろう普通 | |
boolean f1( @NonNull String arg){ | |
return arg.contains( "foo" ); | |
} | |
@NonNull String getString(){ | |
return "foo"; | |
} |
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
$ perl check.pl | |
# 店を家で囲うパターン | |
y00: ____________ | |
y01: 飾家穀菜家水飾家穀菜家水 | |
y02: 家果魚肉壺家家果魚肉壺家 | |
y03: ____________ | |
y04: 家香敷歌煙家家香敷歌煙家 | |
y05: 水家油酒家飾水家油酒家飾 | |
y06: ____________ | |
seems ok. |
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 jp.juggler.dromus; | |
import android.app.ProgressDialog; | |
public class ProgressTask{ | |
public interface ProgressTaskInterface{ | |
boolean isCancelled(); | |
void dismiss(Runnable proc_end); | |
} |
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
https://www.dropbox.com/s/qrtw05pdi3w2r1j/IMGP0196_lr.jpg | |
https://www.dropbox.com/s/jj8qeyof7eialsn/IMGP0563_lr_big-2.jpg | |
https://www.dropbox.com/s/s5jewuxzd64g5ps/IMGP0715_lr.jpg | |
https://www.dropbox.com/s/sa1ux9u5ustsirc/K3__1133_lr.jpg | |
https://www.dropbox.com/s/393sce7yigtxbuy/K3__1139_lr.jpg | |
https://www.dropbox.com/s/gowliqmn0htqg4q/IMGP0581_lr.jpg | |
https://www.dropbox.com/s/rgvxqabp0ugiqqb/IMGP0585_lr.jpg | |
https://www.dropbox.com/s/iejjv6b0p3s0xkg/K3__1122_lr.jpg | |
https://www.dropbox.com/s/r9q92h3wtu5vzzn/IMGP0605_lr.jpg | |
https://www.dropbox.com/s/9hrab20snh739ju/IMGP0637_lr.jpg |
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
adb shell pm block com.lge.isaimotion | |
adb shell pm block com.lge.lifetracker | |
adb shell pm block jp.united.app.cocoppa | |
adb shell pm block com.google.android.apps.fitness | |
adb shell pm block com.kddi.android.auhomelauncherforisaifl | |
adb shell pm block com.lge.easyhome | |
adb shell pm block com.lge.fullsize.auhome.widget |
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
// | |
開発者オプションのGPUレンダリングを使用: OFF | |
マニフェストの<application android:hardwareAccelerated="..."> : true | |
結果:(View,Canvasとも) isHardwareAccelerated() == true | |
// | |
開発者オプションのGPUレンダリングを使用: OFF | |
マニフェストの<application android:hardwareAccelerated="..."> : false | |
結果:(View,Canvasとも) isHardwareAccelerated() == false | |
// |
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
sub avoid_url_renamer{ | |
my($in)=@_; | |
my $out = ''; | |
my $last_end = 0; | |
while( $in =~ /(\A|\s)(\w+:\/\/)?(\S+?)([A-Z0-9\.-]*\.[A-Z0-9]+)/ig ){ | |
my $start = $-[0]; | |
my $end = $+[0]; | |
if($start > $last_end ){ | |
$out .= substr( $in, $last_end, $start - $last_end ); |
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
@list = sort { | |
my $i; | |
$i= $a->a cmp $b->a; $i and return $i; | |
$i= $a->b cmp $b->b; $i and return $i; | |
$i= $a->c cmp $b->c; $i and return $i; | |
return 0; | |
} @list; | |
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
static String toCamelCase(String src){ | |
StringBuilder sb = new StringBuilder(); | |
for( String s : src.split( "_" ) ){ | |
if(TextUtils.isEmpty( s )) continue; | |
sb.append( Character.toUpperCase( s.charAt( 0 ) ) ); | |
sb.append( s.substring( 1, s.length() ).toLowerCase() ); | |
} | |
return sb.toString(); | |
} |