Skip to content

Instantly share code, notes, and snippets.

/* Copyright 2013 Google Inc.
Licensed under Apache 2.0: */
package com.example.latlnginterpolation;
import android.animation.ObjectAnimator;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.annotation.TargetApi;
import android.os.Build;
cyrilmottier / _app_avelibRelease_res_values_config.xml
Last active Nov 20, 2020
Using the new Gradle-based Android build system: an example
View _app_avelibRelease_res_values_config.xml
<?xml version="1.0" encoding="utf-8"?>
<string name="config_app_name">AVélib</string>
<string name="config_authority"></string>
<string name="">XXX</string>
sethrylan / checkstyle.gradle
Last active Dec 25, 2018
Code Quality Tasks for Android
View checkstyle.gradle
configurations {
repositories {
dependencies {
codequality ''
johanneswuerbach / .travis.yml
Last active Feb 3, 2022
Deploy an iOS app to testflight using Travis CI
View .travis.yml
language: objective-c
- ./scripts/travis/
- ./scripts/travis/
- ./scripts/travis/
shibukawa / build graphiviz as layout engine
Created Jan 22, 2013
Graphviz's "plain" output is good for layout engine. This command creates the simplest Graphviz binary on Mac. You can easy to bundle your own program. I will try to run on Windows or cross-compile. This build supports only following output formats: canon cmap cmapx cmapx_np dot eps fig gv imap imap_np ismap pic plain plain-ext pov ps ps2 svg sv…
View build graphiviz as layout engine
#! /bin/sh
./configure --enable-static --disable-shared --disable-ltdl --disable-swig --disable-sharp --disable-go --disable-guile --disable-io --disable-java --disable-lua --disable-perl --disable-php --disable-python --disable-r --disable-ruby --disable-tcl --without-pic --without-tclsh --without-x --without-wish --without-expat --without-xpm --without-z --without-Xaw --without-webp --without-rsvg --without-ghostscript --without-visio --without-pangocairo --without-lasi --without-glitz --without-freetype2 --without-fontconfig --without-gtk --without-ming --without-qt --without-quartz --without-glut --without-cgraph --without-libgd --without-gdk_pixbuf LDFLAGS="-mmacosx-version-min=10.6"
jhankin / SOInsetLabel.h
Created Nov 5, 2012
UILabel subclass encapsulating interior shadow functionality
View SOInsetLabel.h
// SOInsetLabel.h
// Created by Joseph Hankin on 11/2/12.
// From code posted by Rob Mayoff.
// Copyright (c) 2012 Joseph Hankin. All rights reserved.
pocmo /
Created Oct 21, 2012
ViewPagerAdapter: Implementation of PagerAdapter that represents each page as a View
* Copyright (C) 2012 Sebastian Kaspari
* 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
* Unless required by applicable law or agreed to in writing, software