Skip to content

Instantly share code, notes, and snippets.

View tw93's full-sized avatar
๐Ÿ‚
่‡ณ็นๅฝ’ไบŽ่‡ณ็ฎ€.

Tw93 tw93

๐Ÿ‚
่‡ณ็นๅฝ’ไบŽ่‡ณ็ฎ€.
View GitHub Profile
@tw93
tw93 / douban.md
Last active January 15, 2023 08:24
DouBan

ไนฆ ๐Ÿ“š๏ผš6 ๅœจ่ฏป ยท 3 ๆƒณ่ฏป ยท 53 ่ฏป่ฟ‡
ๅฝฑ ๐ŸŽฌ๏ผš0 ๅœจ็œ‹ ยท 1 ๆƒณ็œ‹ ยท 166 ็œ‹่ฟ‡
้Ÿณ ๐ŸŽต๏ผš0 ๅœจๅฌ ยท 0 ๆƒณๅฌ ยท 6 ๅฌ่ฟ‡

@tw93
tw93 / ๐Ÿ“Š Weekly development breakdown
Last active January 15, 2023 08:23
๐ŸŠ Weekly development time
TypeScript 18 hrs 13 mins โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 45.1%
Swift 8 hrs 14 mins โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–’โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 20.4%
JavaScript 3 hrs 58 mins โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 9.8%
Markdown 2 hrs 42 mins โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 6.7%
JSON 2 hrs 37 mins โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 6.5%
Vue.js 1 hr 2 mins โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 2.6%
@tw93
tw93 / <switch>.md
Last active March 21, 2018 11:16
[weex] Support setting color about <switch>

Background

  • Currently, the component in Weex only support the default green color, But many times the business needs to set color for the theme tone of the product, So needs to support setting the color.

New Support && Demo

  • tintColor: Background color when the switch is turned on.
  • onTintColor: Border color and background color on Android when the switch is turned off.
  • thumbTintColor: Color of the foreground switch grip.
@tw93
tw93 / .md
Last active March 7, 2018 13:19
ใ€Discussionใ€‘ More enhanced about <web> component

0301 Modified version

0302 Modified version 0307 Modified version

Hi, I'm Tw93(ไพ‘ๅค•) from Fliggy, I'd like to discuss the enhancements about component, let it take over where we can't implement through weex.

Target

@tw93
tw93 / fliggy-loading.markdown
Created January 26, 2017 05:58
Fliggy Loading
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
Animated, //ไฝฟ็”จAnimated็ป„ไปถ
Easing, //ๅผ•ๅ…ฅEasingๆธๅ˜ๅ‡ฝๆ•ฐ
} from 'react-native';
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,