Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<title>Flask + Celery Examples</title>
<style>
.progress {
width: 100%;
text-align: center;
}
</style>
</head>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body>
<span style="position:absolute; border: gray 1px solid; left:0px; top:50px; width:612px; height:792px;"></span>
<div style="position:absolute; top:50px;"><a name="1">Page 1</a></div>
<div style="position:absolute; border: textbox 1px solid; writing-mode:lr-tb; left:91px; top:119px; width:432px; height:18px;"><span style="font-family: EFBXAR+TimesNewRomanPS-BoldMT; font-size:18px">Human Factors Identification in Aviation Incidents Using Topic Mining
<br></span></div><div style="position:absolute; border: textbox 1px solid; writing-mode:lr-tb; left:275px; top:135px; width:64px; height:15px;"><span style="font-family: CKXDQH+TimesNewRomanPSMT; font-size:15px">Donghui Shi
<br></span></div><div style="position:absolute; border: textbox 1px solid; writing-mode:lr-tb; left:214px; top:149px; width:185px; height:15px;"><span style="font-family: CKXDQH+TimesNewRomanPSMT; font-size:15px">Department of Computer Engineering
<
{"directed": false, "graph": {}, "nodes": [{"id": "Xu J."}, {"id": "Reijers H. A."}, {"id": "Chiu C."}, {"id": "Druschel P."}, {"id": "Schaefer D."}, {"id": "PenaShaff J."}, {"id": "Mislove A."}, {"id": "Reimann P."}, {"id": "Alves De Medeiros A. K."}, {"id": "Rietveld T."}, {"id": "Wang L."}, {"id": "Ackerman M. S."}, {"id": "Wasko M."}, {"id": "Flores C."}, {"id": "Kaltenbrunner A."}, {"id": "Brin S."}, {"id": "Cheung W. S."}, {"id": "Faloutsos C."}, {"id": "Adamic L. A."}, {"id": "Von Hippel E."}, {"id": "EliassiRad T."}, {"id": "Molm L."}, {"id": "Yan X."}, {"id": "Tan B. C. Y."}, {"id": "Kumar R."}, {"id": "Liu X."}, {"id": "Huan J."}, {"id": "Duan W."}, {"id": "Ha S."}, {"id": "Hadrich T."}, {"id": "Maier R."}, {"id": "Song M."}, {"id": "Vassileva J."}, {"id": "Dale R."}, {"id": "Weijters A."}, {"id": "Cao Q."}, {"id": "Thompson K."}, {"id": "Landis J."}, {"id": "Bian J."}, {"id": "Carvalho V. R."}, {"id": "Tong H."}, {"id": "Agrawal R."}, {"id": "Lee M. K. O."}, {"id": "Bhagat S."}, {"id": "Zhou Z."},
@harrywang
harrywang / index.html
Last active October 26, 2015 19:22
d3 example
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.node {
stroke: #fff;
stroke-width: 1.5px;
}
.link {
[2016-01-19T03:59:50+00:00] INFO: AWS OpsWorks instance , Agent version 4005-20151217192343
[2016-01-19T03:59:52+00:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /opt/aws/opsworks/current
One version per cookbook
data_bags at /var/lib/aws/opsworks/data.internal/data_bags
nodes at /var/lib/aws/opsworks/data.internal/nodes
[2016-01-19T03:59:52+00:00] INFO: Forking chef instance to converge...
[2016-01-19T03:59:52+00:00] INFO: *** Chef 12.4.1 ***
[2016-01-19T03:59:52+00:00] INFO: Chef-client pid: 13919
[2016-01-19T03:59:54+00:00] WARN: Run List override has been provided.
ubuntu@flasks-app-server1:/etc/nginx$ vim nginx.conf
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
@harrywang
harrywang / CSW
Created March 25, 2016 02:07
CSWIM-2016-References
References for "A Process Mining Framework for Analyzing Learning Clickstream Data":
[1] G. Siemens, “Learning Analytics: The Emergence of a Discipline,” Am. Behav. Sci., vol. 57, no. 10, pp. 1380–1400, Aug. 2013.
[2] J. Fiaidhi, “The Next Step for Learning Analytics,” IT Prof., vol. 16, no. 5, pp. 4–8, Sep. 2014.
[3] R. F. Kizilcec, C. Piech, and E. Schneider, “Deconstructing Disengagement: Analyzing Learner Subpopulations in Massive Open Online Courses,” in Proceedings of the Third International Conference on Learning Analytics and Knowledge, 2013, pp. 170–179.
[4] X. Fang, P. J.-H. Hu, M. Chau, H.-F. Hu, Z. Yang, and O. R. L. Sheng, “A Data-Driven Approach to Measure Web Site Navigability,” J. Manag. Inf. Syst., vol. 29, no. 2, pp. 173–212, Oct. 2012.
[5] G. Mallapragada, S. R. Chandukala, and Q. Liu, “Exploring the Effects of ‘What’ (Product) and ‘Where’ (Website) Characteristics on Online Shopping Behavior,” J. Mark., vol. 80, no. 2, pp. 21–38, 2016.
[6] W. Van Der Aalst, J. L. Zhao, and H. J. Wang, “Bu
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
@harrywang
harrywang / gist:3ba86adaf11c9cb536465b705d1e0a10
Created August 18, 2016 20:30
canvas raw data size info (megabyte)
38208 dataImport/dataFiles/quiz_question_dim
41296 dataImport/dataFiles/wiki_page_dim
8 dataImport/dataFiles/role_dim
2304 dataImport/dataFiles/enrollment_fact
41304 dataImport/dataFiles/submission_comment_participant_dim
16404 dataImport/dataFiles/quiz_submission_fact
2724 dataImport/dataFiles/user_dim
7944 dataImport/dataFiles/quiz_question_answer_fact
40 dataImport/dataFiles/assignment_override_user_dim
11688 dataImport/dataFiles/file_fact
@harrywang
harrywang / import.sh
Created August 18, 2016 20:32
modified import.sh
#!/bin/bash
# START OF CONFIGURATION
# dbname is the name of the Canvas Data database
dbname=canvas_data
# basedir is the directory containing the data files.
# These may be from the CLI tool or files you've manually downloaded
# The names of the files do not depend on the structure of the CLI tool