Skip to content

Instantly share code, notes, and snippets.

Avatar

Dimitris Koutsogiorgas dnkoutso

View GitHub Profile
View gist:11ee57b0421fc6616bcc
Available Android targets:
----------
id: 1 or "android-7"
Name: Android 2.1
Type: Platform
API level: 7
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
Tag/ABIs : default/armeabi
----------
View gist:9e34a1bba3d63034e863
@TargetApi(Build.VERSION_CODES.KITKAT)
static class DocumentExifTransformation implements Transformation {
private static final String[] CONTENT_ORIENTATION = new String[] {
MediaStore.Images.ImageColumns.ORIENTATION
};
final Context context;
final Uri uri;
DocumentExifTransformation(Context context, Uri uri) {
View keybase.md

Keybase proof

I hereby claim:

  • I am dnkoutso on github.
  • I am dnkoutso (https://keybase.io/dnkoutso) on keybase.
  • I have a public key whose fingerprint is 8075 0EDB D65E 6771 6D6A 0FC0 E5F0 35C2 A609 4C3A

To claim this, I am signing this object:

@dnkoutso
dnkoutso / local_dependencies_source.rb
Created March 20, 2020 17:48
A CocoaPods source that discovers podspecs locally.
View local_dependencies_source.rb
module Pod
class LocalDependenciesSource < Source
attr_reader :sandbox
attr_reader :local_podspecs_by_name
def self.register(plugin_name, sandbox, local_podspec_dependencies)
return unless local_podspec_dependencies
# Register a source that can be used to provide local podspecs
HooksManager.register(plugin_name, :source_provider) do |context|