Skip to content

Instantly share code, notes, and snippets.

View tom-bell's full-sized avatar

Tom Tregellas-Bell tom-bell

  • London, UK
View GitHub Profile
@tom-bell
tom-bell / LayoutAnimator.java
Created June 14, 2015 22:07
LayoutAnimator for Android - Adapted from ViewPropertyAnimator
/*
* Copyright (C) 2011 The Android Open Source Project
*
* 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
@tom-bell
tom-bell / build.gradle
Created September 6, 2014 21:05
lwjgl natives with Gradle
def listNativePaths() {
ArrayList<Object> paths = new ArrayList<>();
configurations.compile.each { file ->
if (file.name.contains("natives")) {
zipTree(file).matching {
exclude {
it.path.contains('META-INF')
}
}.each {
paths.add(it)
@tom-bell
tom-bell / x colors
Created June 7, 2014 11:36
dotfiles
*foreground: #D7D0C7
*background: #151515
!black
! *color0: #AF875F
! *color8: #AF875F
*color0: #101010
*color8: #404040
!red
*color1: #E84F4F