Skip to content

Instantly share code, notes, and snippets.

@bblanchon
bblanchon / settings.json
Created Feb 9, 2016
Sublime Text: Restore Quick Switch Project shortcut
View settings.json
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" }
@jonlabelle
jonlabelle / television_resolution_standards.md
Last active Jul 25, 2020
Digital and analog television standards resolution reference.
View television_resolution_standards.md

Television Standards

Digital and analog television standards resolution reference.

Digital TV Standards

Standard Resolution (dots × lines) DAR (H:V) Pixels
PixelVision 120 × 90 4:3 10,800
@arriolac
arriolac / TopCropImageView.java
Last active Apr 25, 2020
Custom Android ImageView for top-crop scaling of the contained drawable.
View TopCropImageView.java
import android.annotation.TargetApi;
import android.content.Context;
import android.graphics.Matrix;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.util.AttributeSet;
import android.widget.ImageView;
/**
* Created by chris on 7/27/16.
You can’t perform that action at this time.