Skip to content

Instantly share code, notes, and snippets.

View lx7575000's full-sized avatar

刘鑫 lx7575000

  • Hang Zhou
View GitHub Profile
@lx7575000
lx7575000 / .block
Created May 15, 2018 01:46
Choropleth Sandbox
license: gpl-3.0
height: 700
@lx7575000
lx7575000 / .block
Created May 15, 2018 01:42
Brushable Scatterplot/Choropleth
license: mit
height: 350
license: mit
@lx7575000
lx7575000 / .block
Created August 18, 2017 09:01
Arc Corners IV
license: gpl-3.0
@lx7575000
lx7575000 / .block
Created August 18, 2017 09:01
Donut-Pie Chart
license: mit
@lx7575000
lx7575000 / .block
Created August 18, 2017 08:45
Aster Plot in D3
license: mit
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import {
message,
Button,
Modal
} from 'antd';
class Verify extends Component {
constructor(props) {
@lx7575000
lx7575000 / CSSFullSpace.html
Created April 21, 2016 12:20
CSS实现全景动画展示
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test CSS Background ...</title>
<style>
.panorama{
width: 500px;
height: 300px;
background-image: url(http://7vilbi.com1.z0.glb.clouddn.com/blog/6608185829213862083.jpg);
@lx7575000
lx7575000 / firstUppercase.md
Created April 16, 2016 14:22
返回首字母大写
String.prototype.firstUpperCase = function(){
    return this.replace(/\b(\w)(\w*)/g, function($0, $1, $2) {
        return $1.toUpperCase() + $2.toLowerCase();
    });
}
@lx7575000
lx7575000 / demo-babelrc
Created April 2, 2016 05:49
如果希望通过babel转译ES6的代码,需要在项目根目录中创建一个.babelrc文件,并添加如下代码
{
"presets": ["babel-preset-es2015"]
}