CREATE VIEW dfs.tmp.test_view AS SELECT employee_id, full_name, position_title, salary FROM cp.`employee.json`
SELECT * FROM dfs.tmp.test_view LIMIT 20
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Humans vs Machines Blog</title> | |
</head> | |
<body> | |
<article> | |
<header> | |
<h1>Humans vs. Machines: An AI Odyssey</h1> |
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
EASY_MAD_LIB = """HyperText Markup Language (___1___) is the standard markup | |
language for creating web pages and web applications. With Cascading Style | |
Sheets (___2___), and ___3___, it forms a triad of cornerstone technologies | |
for the World Wide Web. Web browsers receive ___1___ documents from a webserver | |
or from local storage and render them into multimedia web pages. ___1___ | |
describes the structure of a web page semantically and originally included cues | |
for the appearance of the ___4___.""" | |
EASY_ANSWERS = ["HTML", "CSS", "JavaScript", "document"] | |
MEDIUM_MAD_LIB = """___1___ is a widely used high-level, general-purpose, |
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
Select all and delete (actually move to buffer) | |
:%d | |
Select all and copy to buffer | |
:%y | |
Use p to paste the buffer. |
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
In the mondrian schema xml: | |
----------------------------------------------------------------------------------------------------------- | |
<CalculatedMember | |
name="Profit" | |
dimension="Measures"> | |
<Formula>[Measures].[Store Sales] - [Measures].[Store Cost]</Formula> | |
<CalculatedMemberProperty name="FORMAT_STRING" expression="Iif(([Measures].[Store Sales] - [Measures].[Store Cost]) < 10000, '|(#,##0.00 €)|style=red', '|#,##0.00 €|style=green')"/> | |
<CalculatedMemberProperty name="MEMBER_ORDINAL" value="4"/> | |
</CalculatedMember> |
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
const path = require('path'); | |
const express = require('express'); | |
const app = express(); | |
const port = process.env.PORT || 3000; | |
app.use('/', express.static(`${__dirname}/public`)); | |
// express will serve up index.html if it doesn't recognize the route | |
app.get('*', (req, res) => { |
- Select the object(s) to export
- Open the document properties window (Ctrl+Shift+D)
- Select "Resize page to drawing or selection"
- File > Save As Copy...
- Select Optimized SVG as the format if you want to use it on the web
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Demo</title> | |
<!-- CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
</head> | |
<body> |
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
$("#selectBox").append('<option value="option6">option6</option>'); |
In order to copy a file from a container to the host, you can use the command:
docker cp <containerId>:/file/path/within/container /host/path/target