Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6f4471c
reset
Laisky Jan 3, 2019
09ff97f
+ java
Laisky Jan 3, 2019
508619b
+pb +reuseport
Laisky Mar 11, 2019
a8a4348
+ hash
Laisky Mar 14, 2019
e2d0b0a
aioping
Laisky Mar 28, 2019
3357923
20190409
Laisky Apr 9, 2019
f5587cd
+ leetcode 1029~1032
Laisky Apr 22, 2019
af0a20a
fix: CVE-2018-14732
Laisky Apr 22, 2019
d3dd03c
+ py algorithm
Laisky Apr 24, 2019
393975c
+ etcd
Laisky May 5, 2019
a63aa2d
Merge branch 'etcd'
Laisky May 5, 2019
83a5118
+ markdown
Laisky May 17, 2019
ccc7636
+ fuzz
Laisky May 28, 2019
7711173
+ fuzz
Laisky May 29, 2019
b7192be
Bump concat-stream from 1.4.10 to 1.4.11 in /utils/google-slides
dependabot[bot] Jun 3, 2019
93a28b8
Merge pull request #23 from Laisky/dependabot/npm_and_yarn/utils/goog…
Laisky Jun 4, 2019
0c7f42e
Bump sshpk from 1.10.1 to 1.16.1 in /utils/google-slides
dependabot[bot] Jun 4, 2019
44bb0c1
Bump sshpk from 1.10.2 to 1.16.1 in /FE/webpack/webpack_v1
dependabot[bot] Jun 4, 2019
489faeb
Merge pull request #24 from Laisky/dependabot/npm_and_yarn/utils/goog…
Laisky Jun 4, 2019
d22b66d
Merge pull request #25 from Laisky/dependabot/npm_and_yarn/FE/webpack…
Laisky Jun 4, 2019
4d4d547
Bump fstream from 1.0.10 to 1.0.12 in /FE/webpack/webpack_v1
dependabot[bot] Jun 4, 2019
a00937c
Bump jquery from 3.1.1 to 3.4.0 in /FE/webpack/webpack_v1
dependabot[bot] Jun 4, 2019
5ecde51
update v2ray
Laisky Jun 12, 2019
219396c
Merge branch 'master' of github.com:Laisky/HelloWorld
Laisky Jun 12, 2019
14823b3
Merge pull request #22 from Laisky/dependabot/npm_and_yarn/FE/webpack…
Laisky Jun 12, 2019
08f90c1
Merge pull request #20 from Laisky/dependabot/npm_and_yarn/FE/webpack…
Laisky Jun 12, 2019
f071886
Bump tar from 2.2.1 to 2.2.2 in /FE/webpack/webpack_v1
dependabot[bot] Jun 12, 2019
db68390
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/FE/webpa…
Laisky Jun 12, 2019
b395d23
+ twitter delete
Laisky Jun 21, 2019
11f30bc
+ twitter img download
Laisky Jun 21, 2019
e48d2b3
Bump lodash-es from 4.17.4 to 4.17.14 in /FE/webpack/webpack_v1
dependabot[bot] Jul 11, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
102 changes: 102 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
bin/
build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
include/
lib64
share/
.ipynb_checkpoints/

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Rope
.ropeproject

# Django stuff:
*.log
*.pot

# Sphinx documentation
docs/_build/

# Intellij Idea
.idea/

# VIM
*.swp

# ssh
id_rsa

# sass
*.scssc

# pyenv
venv
active
activate
.python-version

# packages
node_modules
bower_components
golang/pkg
golang/src/*
!golang/src/demo
# !golang/src/demo/*

# tests
.hypothesis

# data
tags
*.zip
py35/src/airflow/logs/
.vscode
hugefile

# java
*.class
.gradle
gradle
target

# zookeeper
/zookeeper/data
4 changes: 4 additions & 0 deletions FE/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
前端的好玩的轮子
===

学习先进生产力工具,争做共产主义搬砖人
183 changes: 183 additions & 0 deletions FE/amcharts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AmCharts</title>
<style type="text/css">
#chartdiv {
width: 100%;
height: 500px;
}
</style>
</head>

<body>
<div id="chartdiv"></div>
<script type="text/javascript" src="bower_components/amcharts/dist/amcharts/amcharts.js"></script>
<script type="text/javascript" src="bower_components/amcharts/dist/amcharts/serial.js"></script>
<script type="text/javascript" src="bower_components/amcharts/dist/amcharts/themes/light.js"></script>
<script type="text/javascript" src="bower_components/amcharts/dist/amcharts/exporting/amexport.js"></script>
<script type="text/javascript" src="bower_components/amcharts/dist/amcharts/exporting/canvg.js"></script>
<script type="text/javascript" src="bower_components/amcharts/dist/amcharts/exporting/rgbcolor.js"></script>
<script type="text/javascript" src="bower_components/amcharts/dist/amcharts/exporting/filesaver.js"></script>
<script type="text/javascript">
(function() {
setTimeout(drawChart, 1000);

function drawChart() {
var chart = AmCharts.makeChart("chartdiv", {
"type": "serial",
"theme": "light",
"marginRight": 80,
"autoMarginOffset": 20,
"dataDateFormat": "YYYY-MM-DD",
"legend": {
"equalWidths": false,
"useGraphSettings": true,
"valueAlign": "left",
"valueWidth": 120
},
"valueAxes": [{
"id": "v1",
"axisAlpha": 0,
"position": "left"
}],
"balloon": {
"borderThickness": 1,
"shadowAlpha": 0
},
"graphs": [{
"id": "g1",
"lineColor": "green",
"bullet": "round",
"bulletBorderAlpha": 1,
"bulletColor": "#FFFFFF",
"bulletSize": 5,
"hideBulletsCount": 50,
"lineThickness": 1,
"title": "Title1",
"useLineColorForBulletBorder": true,
"valueField": "v1",
"balloonText": "<div style='margin:2px; font-size:14px;'>[[v1]]</div>"
}, {
"id": "g2",
"lineColor": "red",
"bullet": "round",
"bulletBorderAlpha": 1,
"bulletColor": "#FFFFFF",
"bulletSize": 5,
"hideBulletsCount": 50,
"lineThickness": 1,
"title": "Title2",
"useLineColorForBulletBorder": true,
"valueField": "v2",
"balloonText": "<div style='margin:2px; font-size:14px;'>[[v2]]</div>"
}, {
"id": "g3",
"type": "column",
"lineColor": "black",
lineThickness: 2,
lineColor: "#373737",
fillAlphas: 0.1,
lineAlpha: 0,
"bullet": "round",
"bulletBorderAlpha": 1,
"bulletColor": "#FFFFFF",
"bulletSize": 5,
"hideBulletsCount": 50,
"title": "Total",
"useLineColorForBulletBorder": true,
"valueField": "vt",
"balloonText": "<div style='margin:2px; font-size:14px;'>[[vt]]</div>"
}],
"chartScrollbar": {
"graph": "g3",
"oppositeAxis": true,
"offset": 30,
"scrollbarHeight": 40,
"backgroundAlpha": 0,
"selectedBackgroundAlpha": 0.1,
"selectedBackgroundColor": "#888888",
"graphFillAlpha": 0,
"graphLineAlpha": 0.5,
"selectedGraphFillAlpha": 0,
"selectedGraphLineAlpha": 1,
"autoGridCount": true,
"color": "#AAAAAA"
},
"chartCursor": {
"pan": true,
"valueLineEnabled": true,
"valueLineBalloonEnabled": true,
"cursorAlpha": 0,
"valueLineAlpha": 0.2
},
"categoryField": "date",
"categoryAxis": {
"parseDates": true,
"dashLength": 1,
"minorGridEnabled": true
},
"export": {
"enabled": true,
},
"dataProvider": generationData()
});

chart.addListener("rendered", zoomChart);
chart.amExport = {
top: 50,
right: 50,
exportJPG: true,
exportPNG: true,
exportSVG: true,
userCFG: {
menuItems: [{
icon: "bower_components/amcharts/dist/amcharts/images/export.png",
items: [{
title: 'JPG',
format: 'jpg'
}, {
title: 'PNG',
format: 'png'
}, {
title: 'SVG',
format: 'svg'
}]
}]
}
}

zoomChart();
// zoom
function zoomChart() {
chart.zoomToIndexes(chart.dataProvider.length - 40, chart.dataProvider.length - 1);
}


function generationData() {
var dates = [];
var dayLong = 1000 * 3600 * 24;
Math.round2 = function(num) {
return Math.round(num * 100) / 100;
}

for (var i = 0; i < 100; i++) {
var d = {
date: new Date(i * dayLong),
v1: Math.round2(Math.random() * 100),
v2: Math.round2(Math.random() * 100)
};
d["vt"] = Math.round2(d["v1"] + d["v2"]);
dates.push(d)
}
return dates;
}
}
}())
</script>
</body>

</html>
8 changes: 8 additions & 0 deletions FE/angular/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
壮哉我大 AngularJs
===

听说你还在用 jQeury 写 DOM ?

## Reference

- Developer Guide [https://docs.angularjs.org/guide/concepts](https://docs.angularjs.org/guide/concepts)
19 changes: 19 additions & 0 deletions FE/angular/demo/bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "demo",
"version": "0.0.0",
"homepage": "https://github.com/Laisky/HelloWorld",
"authors": [
"Laisky <ppcelery@gmail.com>"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"angularjs": "1.4"
}
}
Loading