Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commit RStudio with Snowpark Container Services #1476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16,555 changes: 10,505 additions & 6,050 deletions site/package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"autoprefixer": "^10.4.4",
"babel-core": "^6.26.3",
"babel-core": "^5.8.38",
"babel-preset-es2015": "^6.24.1",
"bower": "^1.8.14",
"css-declaration-sorter": "^7.2.0",
Expand All @@ -34,10 +34,10 @@
"gulp-uglify": "^3.0.1",
"gulp-useref": "^3.1.3",
"gulp-vulcanize": "^7.0.0",
"gulp-watch": "^4.3.11",
"gulp-watch": "^5.0.1",
"gulp-webserver": "^0.1.0",
"hydrolysis": "^1.25.0",
"jscs": "^1.13.1",
"jscs": "^3.0.7",
"jshint": "^2.13.4",
"jshint-stylish": "^2.2.1",
"merge-stream": "^1.0.1",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/sfguides/src/clear/assets/SAMPLE.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
186 changes: 186 additions & 0 deletions site/sfguides/src/clear/clear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
author: sfc-gh-pradeepsavadi
id: clear
summary: This is a sample Snowflake Guide
categories: Getting-Started
environments: web
status: Published
feedback link: https://github.com/Snowflake-Labs/sfguides/issues
tags: Getting Started, Data Science, Data Engineering, Twitter

# Snowflake Guide Template
<!-- ------------------------ -->
## Overview
Duration: 1

Please use [this markdown file](https://raw.githubusercontent.com/Snowflake-Labs/sfguides/master/site/sfguides/sample.md) as a template for writing your own Snowflake Quickstarts. This example guide has elements that you will use when writing your own guides, including: code snippet highlighting, downloading files, inserting photos, and more.

It is important to include on the first page of your guide the following sections: Prerequisites, What you'll learn, What you'll need, and What you'll build. Remember, part of the purpose of a Snowflake Guide is that the reader will have **built** something by the end of the tutorial; this means that actual code needs to be included (not just pseudo-code).

The rest of this Snowflake Guide explains the steps of writing your own guide.

### Prerequisites
- Familiarity with Markdown syntax

### What You’ll Learn
- how to set the metadata for a guide (category, author, id, etc)
- how to set the amount of time each slide will take to finish
- how to include code snippets
- how to hyperlink items
- how to include images

### What You’ll Need
- A [GitHub](https://github.com/) Account
- [VSCode](https://code.visualstudio.com/download) Installed
- [NodeJS](https://nodejs.org/en/download/) Installed
- [GoLang](https://golang.org/doc/install) Installed

### What You’ll Build
- A Snowflake Guide

<!-- ------------------------ -->
## Metadata Configuration
Duration: 2

It is important to set the correct metadata for your Snowflake Guide. The metadata contains all the information required for listing and publishing your guide and includes the following:


- **summary**: This is a sample Snowflake Guide
- This should be a short, 1 sentence description of your guide. This will be visible on the main landing page.
- **id**: sample
- make sure to match the id here with the name of the file, all one word.
- **categories**: data-science
- You can have multiple categories, but the first one listed is used for the icon.
- **environments**: web
- `web` is default. If this will be published for a specific event or conference, include it here.
- **status**: Published
- (`Draft`, `Published`, `Deprecated`, `Hidden`) to indicate the progress and whether the sfguide is ready to be published. `Hidden` implies the sfguide is for restricted use, should be available only by direct URL, and should not appear on the main landing page.
- **feedback link**: https://github.com/Snowflake-Labs/sfguides/issues
- **tags**: Getting Started, Data Science, Twitter
- Add relevant tags to make your sfguide easily found and SEO friendly.
- **authors**: Daniel Myers
- Indicate the author(s) of this specific sfguide.

---

You can see the source metadata for this guide you are reading now, on [the github repo](https://raw.githubusercontent.com/Snowflake-Labs/sfguides/master/site/sfguides/sample.md).


<!-- ------------------------ -->
## Creating a Step
Duration: 2

A single sfguide consists of multiple steps. These steps are defined in Markdown using Header 2 tag `##`.

```markdown
## Step 1 Title
Duration: 3

All the content for the step goes here.

## Step 2 Title
Duration: 1

All the content for the step goes here.
```

To indicate how long each step will take, set the `Duration` under the step title (i.e. `##`) to an integer. The integers refer to minutes. If you set `Duration: 4` then a particular step will take 4 minutes to complete.

The total sfguide completion time is calculated automatically for you and will be displayed on the landing page.

<!-- ------------------------ -->
## Code Snippets, Info Boxes, and Tables
Duration: 2

Look at the [markdown source for this sfguide](https://raw.githubusercontent.com/Snowflake-Labs/sfguides/master/site/sfguides/sample.md) to see how to use markdown to generate code snippets, info boxes, and download buttons.

### JavaScript
```javascript
{
key1: "string",
key2: integer,
key3: "string"
}
```

### Java
```java
for (statement 1; statement 2; statement 3) {
// code block to be executed
}
```

### Info Boxes
> aside positive
>
> This will appear in a positive info box.


> aside negative
>
> This will appear in a negative info box.

### Buttons
<button>

[This is a download button](link.com)
</button>

### Tables
<table>
<thead>
<tr>
<th colspan="2"> **The table header** </th>
</tr>
</thead>
<tbody>
<tr>
<td>The table body</td>
<td>with two columns</td>
</tr>
</tbody>
</table>

### Hyperlinking
[Youtube - Halsey Playlists](https://www.youtube.com/user/iamhalsey/playlists)

<!-- ------------------------ -->
## Images, Videos, and Surveys, and iFrames
Duration: 2

Look at the [markdown source for this guide](https://raw.githubusercontent.com/Snowflake-Labs/sfguides/master/site/sfguides/sample.md) to see how to use markdown to generate these elements.

### Images
![Puppy](assets/SAMPLE.jpg)

### Videos
Videos from youtube can be directly embedded:
<video id="KmeiFXrZucE"></video>

### Inline Surveys
<form>
<name>How do you rate yourself as a user of Snowflake?</name>
<input type="radio" value="Beginner">
<input type="radio" value="Intermediate">
<input type="radio" value="Advanced">
</form>

### Embed an iframe
![https://codepen.io/MarioD/embed/Prgeja](https://en.wikipedia.org/wiki/File:Example.jpg "Try Me Publisher")

<!-- ------------------------ -->
## Conclusion And Resources
Duration: 1

At the end of your Snowflake Guide, always have a clear call to action (CTA). This CTA could be a link to the docs pages, links to videos on youtube, a GitHub repo link, etc.

If you want to learn more about Snowflake Guide formatting, checkout the official documentation here: [Formatting Guide](https://github.com/googlecodelabs/tools/blob/master/FORMAT-GUIDE.md)

### What You Learned
- creating steps and setting duration
- adding code snippets
- embedding images, videos, and surveys
- importing other markdown files

### Related Resources
- <link to github code repo>
- <link to documentation>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading