Skip to content

Instantly share code, notes, and snippets.


Shigehiro Soejima mightyfrog

View GitHub Profile
View CA.kt

CA.kt #7

『KotlinConf 2018 Keynote Overview』

藤原 聖

『New Type Inference and Related Language Features(Kotlin1.3)』

View Gallery for reddit Privacy Policy
View Watchcat Privacy Policy
Privacy Policy
built the Watchcat app as a Free app. This SERVICE is provided by at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Watchcat unless otherwise defined in this Privacy Policy.
View flutter_resources.txt
Flutter Resources
Effective Dart Guide:
Dart Tips:
Flutter FAQ:
Flutter Rendering:
mightyfrog / SMBDIS.ASM
Created Jun 29, 2018 — forked from 1wErt3r/SMBDIS.ASM
A Comprehensive Super Mario Bros. Disassembly
;by doppelganger (
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
View こんちには みさなん おんげき ですか?
こんちには みさなん おんげき ですか? わしたは げんき です。
この ぶんょしう は いりぎす の ケブンッリジ だがいく の けゅきんう の けっか
にんんげ は もじ を にしんき する とき その さしいょ と さいご の もさじえ あいてっれば
じばんゅん は めくちちゃゃ でも ちんゃと よめる という けゅきんう に もづいとて
わざと もじの じんばゅん を いかれえて あまりす。
どでうす? ちんゃと よゃちめう でしょ?
ちんゃと よためら はのんう よしろく
mightyfrog /
Created Apr 15, 2015
Define float values in res/values
    <item name="float1" format="float" type="dimen">1.0</item>
    <item name="float2" format="float" type="dimen">0.95</item>
final TypedValue typedValue = new TypedValue();
getResources().getValue(R.dimen.flaot1, typedValue, true);
mightyfrog /
Created Apr 8, 2015
OnSharedPreferenceChangeListener must be unregistered when it's used in PreferenceFragment
    public void onDetach() {

mightyfrog /
Last active Aug 29, 2015
How to use PopupMenuCompat
ImageView menuBtn; // vertical three dots

final PopupMenu popup = new PopupMenu(context, menuBtn);
popup.getMenuInflater().inflate(, popup.getMenu());
mightyfrog /
Last active Mar 21, 2017
winzipaes sample code


how to zip

final String path = "/data/data/package-name/databases/my.db";
final File dbFile = new File(path);
final File file = new File(backupRoot, "");
AesZipFileEncrypter ze = null;
try {
    final AESEncrypter aesEncrypter = new AESEncrypterBC();