Skip to content

Instantly share code, notes, and snippets.

View stanleyxu2005's full-sized avatar
🪅

Qian (Stanley) Xu stanleyxu2005

🪅
View GitHub Profile
@stanleyxu2005
stanleyxu2005 / csv_to_table.sh
Last active February 2, 2024 12:12
Pretty print csv to HTML table
#!/usr/bin/env bash
# Licensed under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
html, body {
font-family: "Source Sans Pro", "Microsoft JhengHei", "Roboto", "Arial", "Lucida Grande", sans-serif;
}
code, pre {
font-family: "Source Code Pro", monospace;
}
html, body { font-size: 15px }
small, .small { font-size: 13px }
@stanleyxu2005
stanleyxu2005 / GearpumpCIProposal.md
Last active November 2, 2015 09:54
Gearpump Continuous Integration Environment

Gearpump Continuous Integration Proposal

This proposal is for Gearpump end-to-end integration test. For more information, please track issue 1243.

Background

Gearpump has some integration tests. But tests are frequently failed on Travis-CI by unrelated reasons. So currently, the integration tests are performed manually and spontaneously. The test effort is very high and not plausible. With the increase of project complexity, any sightly code change might break the build, if we do not test the build entirely. The major challenge of creating automated integration tests is to setup a "Gearpump on Hadoop cluster" (AUT, application under test) in an easy way.

Approach

TL;DR: Create a scalable Gearpump cluster using Docker.

@stanleyxu2005
stanleyxu2005 / FlightTracker.markdown
Last active August 29, 2015 14:00
A Pen by Fabrice Lejeune.