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
import android.app.Activity | |
import androidx.fragment.app.Fragment | |
import dagger.android.DispatchingAndroidInjector | |
import javax.inject.Inject | |
class AppInjector : HasDispatchingFragmentInjector { | |
@Inject | |
lateinit var supportFragmentInjector: DispatchingAndroidInjector<Fragment> |
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
fun <T> Maybe<T>.toSingleOptional(): Single<Optional<T>> = RxJavaPlugins.onAssembly(MaybeToSingleOptional<T>(this)) |
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
val classLoader = URLClassLoader( | |
arrayOf(クラスファイル群パス), | |
ClassLoader.getSystemClassLoader() | |
) | |
val clazz = classLoader.loadClass("クラス名") | |
println("clazz.annotations.size: " + clazz.declaredAnnotations.size + " ") |
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 com.kgmshin.lint; | |
import com.android.tools.lint.client.api.IssueRegistry; | |
import com.android.tools.lint.detector.api.Issue; | |
import java.util.Collections; | |
import java.util.List; | |
public class LintIssueRegistry extends IssueRegistry { |
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
- magic | |
CAFEBABE | |
- minor_virsion | |
0000 | |
- major_version | |
0034 | |
- constant_pool_count |
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
mkdir ________work | |
ffmpeg -i $0 -an -r 15 ________work/%04d.png | |
convert work/*.png __mov.gif | |
rm -r ________work |
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"?><!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" | |
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | |
<module name="Checker"> | |
<!--module name="NewlineAtEndOfFile"/--> | |
<module name="FileLength" /> | |
<module name="FileTabCharacter" /> |
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"?> | |
<root> | |
<!-- for RealForce --> | |
<devicevendordef> | |
<vendorname>RealForce_VendorID</vendorname> | |
<vendorid>0x0853</vendorid> | |
</devicevendordef> | |
<deviceproductdef> |
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
Permissionのファイルは | |
/data/system/users/{userId}/runtime-permissions.xml | |
ここにこういうのが入ってる | |
```runtime-permissions.xml | |
<?xml version='1.0' encoding='utf-8' standalone='yes' ?> | |
<runtime-permissions> | |
<pkg name="com.android.launcher"> |
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
gem 'haml-rails' | |
gem 'erb2haml' | |
gem_group :development, :test do | |
gem 'hirb' | |
gem 'hirb-unicode' | |
gem 'pry-rails' | |
gem 'pry-doc' | |
gem 'pry-byebug' | |
gem 'rspec-rails', '~> 3.0' |
NewerOlder