Instantly share code, notes, and snippets.

Yuan Yuan yuanyuanlife

View GitHub Profile
View ReactNativeAnimated.js
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
Animated, //使用Animated组件
Easing, //引入Easing渐变函数
} from 'react-native';
@yuanyuanlife
yuanyuanlife / parseApache2clickheat.py
Last active Aug 29, 2015 — forked from demux/parseApache2clickheat.py
A python script to convert apache logs into clickheat data logs.
View parseApache2clickheat.py
#! /usr/bin/python
import os
import re
in_log_path = '/var/log/apache2/clickheat/'
out_log_path = '/var/www/clickheat/logs/'
site_files = []