Skip to content

Instantly share code, notes, and snippets.

View MobiDevelop's full-sized avatar

Justin Shapcott MobiDevelop

  • Phoenix, AZ, USA
View GitHub Profile
@MobiDevelop
MobiDevelop / Appender.java
Created September 13, 2012 15:22
A zero-allocation way to append ints and longs to a StringBuilder in Android.
/*******************************************************************************
* Copyright 2012 Justin Shapcott
*
* 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
@MobiDevelop
MobiDevelop / Speech Bubbles - CSS
Created June 2, 2012 21:11
Speech Bubbles - CSS
/*
Speech Bubbles
Usage: Apply a class of .speech-bubble and .speech-bubble-DIRECTION
<div class="speech-bubble speech-bubble-top">Hi there</div>
*/
.speech-bubble {
position: relative;
background-color: #292929;