This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For Android JellyBean and newer device | |
adb shell content update --uri content://settings/system --bind value:s:0.0 --where 'name="window_animation_scale"' | |
adb shell content update --uri content://settings/system --bind value:s:0.0 --where 'name="transition_animation_scale"' | |
adb shell content update --uri content://settings/system --bind value:s:0.0 --where 'name="animator_duration_scale"' | |
# For Android ICS and older device | |
adb shell "echo \"update system set value=0.0 where name='window_animation_scale';\" | sqlite3 /data/data/com.android.providers.settings/databases/settings.db" | |
adb shell "echo \"update system set value=0.0 where name='transition_animation_scale';\" | sqlite3 /data/data/com.android.providers.settings/databases/settings.db" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/https' | |
require 'json' | |
#-------------------------------------------------------------------------------- | |
# Configuration | |
#-------------------------------------------------------------------------------- | |
configuration = { | |
:uri => 'https://fabric.io', | |
:credentials => { | |
:username => '', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CSSLinkHandler extends TagNodeHandler { | |
private static final Logger LOG = LoggerFactory.getLogger("CSSLinkHandler"); | |
public void handleTagNode(TagNode node, SpannableStringBuilder builder, int start, int end, SpanStack spanStack) { | |
String type = node.getAttributeByName("type"); | |
String href = node.getAttributeByName("href"); | |
LOG.debug("Found link tag: type=" + type + " and href=" + href ); | |
if ( type == null || ! type.equals("text/css") ) { |