Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Working hard

moxun misakuo

💻
Working hard
View GitHub Profile
View InterceptWXHttpAdapter.java
package com.alibaba.weex.extend.adapter;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.taobao.weex.adapter.DefaultWXHttpAdapter;
import com.taobao.weex.urlconnection.ByteArrayRequestEntity;
import com.taobao.weex.urlconnection.SimpleRequestEntity;
import com.taobao.weex.urlconnection.WeexURLConnectionManager;
@misakuo
misakuo / Identicon.java
Created Nov 28, 2016
Generate Identicon by android
View Identicon.java
package demo.taobao.com.playground.identicon;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.support.annotation.Nullable;
import android.util.Log;
import java.io.File;
import java.io.FileOutputStream;
View sticky-header.we
<style>
.text-wrap{
height:200;
width:750;
background-color : #ff6000;
margin-bottom : 10;
justify-content: center;
align-items: center;
}
.text{
View animation_sample.we
<template>
<div style="justify-content: center; align-items: center">
<div id="target" onclick="{{doAnim}}"
style="width: 240px; height: 240px; background-color: #F0AD4E;justify-content: center; align-items: center;">
<text style="text-align: center;color: white;font-size: 80px">Click</text>
</div>
</div>
</template>
<script>
module.exports = {