Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)
Set the maintainer info
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="databricks-html-version" content="1"> | |
<title>Assignment - Databricks</title> | |
<meta charset="utf-8"> | |
<meta name="google" content="notranslate"> | |
<meta name="robots" content="nofollow, noindex"> | |
<meta http-equiv="Content-Language" content="en"> |
Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)
Set the maintainer info
#!/bin/bash | |
CHROOTDIR=/media/root/test | |
mkdir -p ${CHROOTDIR}/bin | |
mkdir -p ${CHROOTDIR}/lib64 | |
mkdir -p ${CHROOTDIR}/etc/dropbear | |
mkdir -p ${CHROOTDIR}/dev | |
mkdir -p ${CHROOTDIR}/tmp |
<details>
<summary><b>Show code</b></summary>
</details>
public static bool export2CSV(DataGridView dgv, string filename) | |
{ | |
bool pass = false; | |
/*// Method 1 | |
dgv.ClipboardCopyMode = DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText; // Choose whether to write header. Use EnableWithoutHeaderText instead to omit header. | |
dgv.SelectAll(); // Select all the cell | |
DataObject dataObject = dgv.GetClipboardContent(); // Copy selected cells to DataObject | |
if (dataObject != null) | |
{ | |
// Get the text of the DataObject, and serialize it to a file |