Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 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
a801373
Bump concat-stream from 1.4.10 to 1.4.11 in /utils/google-slides
dependabot[bot] Jun 3, 2019
d267d4a
Merge pull request #23 from Laisky/dependabot/npm_and_yarn/utils/goog…
Laisky Jun 4, 2019
0467eb3
Bump sshpk from 1.10.1 to 1.16.1 in /utils/google-slides
dependabot[bot] Jun 4, 2019
25fd6be
Bump sshpk from 1.10.2 to 1.16.1 in /FE/webpack/webpack_v1
dependabot[bot] Jun 4, 2019
05eae76
Merge pull request #24 from Laisky/dependabot/npm_and_yarn/utils/goog…
Laisky Jun 4, 2019
0db367b
Merge pull request #25 from Laisky/dependabot/npm_and_yarn/FE/webpack…
Laisky Jun 4, 2019
2197581
Bump fstream from 1.0.10 to 1.0.12 in /FE/webpack/webpack_v1
dependabot[bot] Jun 4, 2019
fef4b5e
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
7d8969b
Merge branch 'master' of github.com:Laisky/HelloWorld
Laisky Jun 12, 2019
0537cfc
Merge pull request #22 from Laisky/dependabot/npm_and_yarn/FE/webpack…
Laisky Jun 12, 2019
772eea0
Merge pull request #20 from Laisky/dependabot/npm_and_yarn/FE/webpack…
Laisky Jun 12, 2019
4c88b9c
Bump tar from 2.2.1 to 2.2.2 in /FE/webpack/webpack_v1
dependabot[bot] Jun 12, 2019
d1c0e39
Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/FE/webpa…
Laisky Jun 12, 2019
ea8eaeb
+ twitter delete
Laisky Jun 21, 2019
05e9f93
+ twitter img download
Laisky Jun 21, 2019
f20624a
download twitter quoted
Laisky Jun 24, 2019
27fd821
+ go-cache
Laisky Jul 23, 2019
42e371d
fix: py2 & py3
Laisky Aug 6, 2019
27908ac
+py3
Laisky Aug 15, 2019
5f81533
+ singleflight
Laisky Sep 5, 2019
f107fad
prepare ssl
Laisky Oct 10, 2019
8d2eddd
Merge branch 'ssl'
Laisky Oct 12, 2019
02ddfed
+ sharedmemory
Laisky Oct 16, 2019
8795407
+ shurcool/graphql
Laisky Nov 1, 2019
96c1416
+ aws iotcore
Laisky Nov 1, 2019
c10d661
+ py thread safe
Laisky Nov 12, 2019
d9ce6d4
+ mqtt
Laisky Dec 17, 2019
e50e2db
Merge branch 'feature/mqtt'
Laisky Dec 17, 2019
d7d3389
+ graphql client
Laisky Dec 19, 2019
dd0b960
+ false sharing
Laisky Dec 24, 2019
1d8a492
rename
Laisky Dec 24, 2019
dfe0af9
+ channel
Laisky Jan 16, 2020
eed2bbb
+ closed c
Laisky Mar 10, 2020
da05fcc
refact go
Laisky Mar 23, 2020
6e93e87
fix
Laisky Apr 29, 2020
6cd260b
fix
Laisky Sep 6, 2020
15e5502
fix: 123
Laisky Dec 29, 2020
cb7095b
fix: update delete tweets
Laisky Jan 29, 2021
9291965
Merge branch 'master' of github.com:Laisky/HelloWorld
Laisky Jan 29, 2021
134e011
fix
Laisky Jan 29, 2021
6385d82
twitter
Laisky Feb 9, 2021
1c4908e
fix
Laisky Feb 25, 2021
d311f41
fix
Laisky Feb 26, 2021
d36b579
Merge branch 'master' of github.com:Laisky/HelloWorld
Laisky Feb 26, 2021
3dfe78f
Bump sockjs from 0.3.18 to 0.3.21 in /FE/webpack/webpack_v1
dependabot[bot] Apr 21, 2021
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
  •  
  •  
  •  
105 changes: 105 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# 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

cpuprofile
meory.pprof
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