This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void Action(object sender, RoutedEventArgs e) | |
{ | |
int i; | |
string curDir=Directory.GetCurrentDirectory(); | |
string fileName=curDir+@"\msft.csv"; | |
List<string[]> parsedData = parseCSV(fileName); | |
int nCount = parsedData.Count; | |
double[] closingPricesArr = new double[nCount - 1]; | |
for (i = 0; i < nCount - 1; i++) | |
closingPricesArr[i] = Convert.ToDouble(parsedData[i + 1][6]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def fetch_resources(uri, rel): | |
""" | |
Callback to allow xhtml2pdf/reportlab to retrieve | |
Images,Stylesheets, etc. | |
`uri` is the href attribute from the html link element. | |
`rel` gives a relative path, but it's not used here. | |
""" | |
if uri.startswith(settings.MEDIA_URL): | |
path = os.path.join(settings.MEDIA_ROOT, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
T := X ; | |
Y := T ; | |
X := Y ; | |
S = (format-line | (line date-line)) #"[\s\S]*" | |
format-line = #"##fileformat=VCFv[\s\S^(?:\r\n|\r|\n)]*(?:\r\n|\r|\n)" | |
date-line = #"##fileDate=[\s\S^(?:\r\n|\r|\n)]*(?:\r\n|\r|\n)" | |
line = #"[\s\S^(?:\r\n|\r|\n)]*(?:\r\n|\r|\n)" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2018-09-12 02:11:07,849] {base_task_runner.py:107} INFO - Job 1481{cli.py:464} ERROR - Section lineage Option backend does not exist in the config! | |
{cli.py:464} ERROR - Section atlas Option sasl_enabled does not exist in the config! | |
{cli.py:464} ERROR - Section atlas Option host does not exist in the config! | |
{cli.py:464} ERROR - Section atlas Option port does not exist in the config! | |
{cli.py:464} ERROR - Section atlas Option username does not exist in the config! | |
{cli.py:464} ERROR - Section atlas Option password does not exist in the config! | |
{cli.py:464} ERROR - Section hive Option default_hive_mapred_queue does not exist in the config! | |
{cli.py:464} ERROR - Section dask Option cluster_address does not exist in the config! | |
{cli.py:464} ERROR - Section dask Option tls_ca does not exist in the config! | |
{cli.py:464} ERROR - Section dask Option tls_cert does not exist in the config! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.2" | |
services: | |
kubernetes: | |
image: bsycorp/kind:latest-1.14 | |
privileged: true | |
kubectl: | |
image: bitnami/kubectl:1.14 | |
depends_on: [kubernetes] |
OlderNewer