A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
| package net.slideshare.mobile.test.util; | |
| import android.app.Activity; | |
| import android.content.pm.ActivityInfo; | |
| import android.support.test.espresso.UiController; | |
| import android.support.test.espresso.ViewAction; | |
| import android.support.test.internal.runner.lifecycle.ActivityLifecycleMonitorRegistry; | |
| import android.support.test.runner.lifecycle.Stage; | |
| import android.view.View; |
| import android.text.SpannableStringBuilder; | |
| import java.util.ArrayDeque; | |
| import java.util.Deque; | |
| import static android.text.Spanned.SPAN_INCLUSIVE_EXCLUSIVE; | |
| /** A {@link SpannableStringBuilder} wrapper whose API doesn't make me want to stab my eyes out. */ | |
| public class Truss { | |
| private final SpannableStringBuilder builder; | |
| private final Deque<Span> stack; |
| public class AccountAuthenticator extends AbstractAccountAuthenticator { | |
| private final Context context; | |
| @Inject @ClientId String clientId; | |
| @Inject @ClientSecret String clientSecret; | |
| @Inject ApiService apiService; | |
| public AccountAuthenticator(Context context) { | |
| super(context); |
| /* | |
| * Copyright 2012 Google Inc. | |
| * | |
| * 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 |
| *.iml | |
| *.iws | |
| *.ipr | |
| .idea/ | |
| .gradle/ | |
| local.properties | |
| */build/ | |
| *~ |
| * + table { | |
| border-style:solid; | |
| border-width:1px; | |
| border-color:#e7e3e7; | |
| } | |
| * + table th, * + table td { | |
| border-style:dashed; | |
| border-width:1px; | |
| border-color:#e7e3e7; |
| .text3d(@color) { | |
| color: @color; | |
| text-shadow: 1px 1px 0px darken(@color, 5%), | |
| 2px 2px 0px darken(@color, 10%), | |
| 3px 3px 0px darken(@color, 15%), | |
| 4px 4px 0px darken(@color, 20%), | |
| 4px 4px 2px #000; | |
| } |
| @mixin text3d($color) { | |
| color: $color; | |
| text-shadow: 1px 1px 0px darken($color, 5%), | |
| 2px 2px 0px darken($color, 10%), | |
| 3px 3px 0px darken($color, 15%), | |
| 4px 4px 0px darken($color, 20%), | |
| 4px 4px 2px #000; | |
| } |