Skip to content

Instantly share code, notes, and snippets.

View JesusM's full-sized avatar

Jesus JesusM

View GitHub Profile
/*
* Copyright (C) 2014 Chris Banes
*
* 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
/*
* Copyright (C) 2014 Chris Banes
*
* 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
@JesusM
JesusM / PlayerGlanceWidget.kt
Created November 13, 2021 11:01
Initial implementation of App Widget using Glance API
package com.jesusmc.spotifysample.mobile.ui.widgets.compose
import android.graphics.Bitmap
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import androidx.glance.GlanceModifier
import androidx.glance.Image
import androidx.glance.ImageProvider
import androidx.glance.action.*
@JesusM
JesusM / gist:26e85492949fb70b8939e559acbf8961
Created December 15, 2021 22:20
Passes Reader Privacy policy
**Privacy Policy**
Jesús Manzano Camino built the Passes Reader app as a Free app. This SERVICE is provided by Jesús Manzano Camino 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 are accessible at Passes Reader unless otherwise defined in this Privacy Policy.
package com.jesusm.passesreader.ui.base
import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.geometry.Rect
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.graphics.Outline
import androidx.compose.ui.graphics.Path
import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.LayoutDirection
@JesusM
JesusM / amazon_appstore_submission.py
Created April 24, 2022 20:24
Python script to submit apps to Amazon AppStore
import requests
import sys
from pathlib import Path
# Arguments you need to provide:
# 1.- client_id = Amazon client API id
# 2.- client_secret = Amazon client API secret
# 3.- app_id = Amazon app id
# 4.- local_apk_path = Path for the apk file to submit
arguments = sys.argv