Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Kai Eckardt Servus7

🎯
Focusing
  • CHECK24
  • Germany
View GitHub Profile
@Servus7
Servus7 / google-img-resize.mdown
Created Aug 26, 2016 — forked from carlo/google-img-resize.mdown
Google’s authentication-less on-the-fly image resizing service
View google-img-resize.mdown

Google's authentication-less on-the-fly image resizing service

I found it while poking around the Google+ HTML. Jotting down some notes felt like a good idea, so here goes. If you know more about this API, let me know, please!

(Word of warning: I spent ~30 minutes on both my experimentation and this here write-up, so it might not be the most thought-provoking, brilliant thing you read today.)

View api_pos.yaml
swagger: '2.0'
info:
title: Stampay API
description: Loyalty as a service
version: 2.1.7
license:
name: Stampay GmbH
url: https://stampay.com/
host: api.staging.stampay.com
schemes:
@Servus7
Servus7 / AspectRatioImageView.java
Last active Oct 1, 2015 — forked from JakeWharton/AspectRatioImageView.java
ImageView that respects an aspect ratio applied to a specific measurement.
View AspectRatioImageView.java
// Copyright 2012 Square, Inc.
package com.squareup.widgets;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.ImageView;
/** Maintains an aspect ratio based on either width or height. Disabled by default. */
public class AspectRatioImageView extends ImageView {