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
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int n, k; | |
cin >> n >> k; |
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
// type of files allowed | |
const fileFilter = (req, file, cb) => { | |
if (file.originalname.match(/\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF)$/)) { | |
cb(null, true) | |
} else { | |
cb(null, false) | |
} | |
} | |
const storage = multer.memoryStorage() |
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 s3Config = new aws.S3({ | |
accessKeyId: process.env.AWS_ACCESS_KEY, | |
secretAccessKey: process.env.AWS_SECRET_KEY, | |
// sessionToken:'', // In most of the cases it's not needed. If using AWS Educate, you'll need this. | |
region: process.env.AWS_STORAGE_REGION | |
}) | |
const multerS3Config = multerS3({ | |
s3: s3Config, | |
bucket: process.env.AWS_BUCKET_NAME, |
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
tests_run(filter="renderer") | |
[1] "axis angle rotate" | |
[1] 0.75 | |
[1] "One character value" | |
[1] "coord" | |
[1] "facet-coord" | |
[1] "facet lines" | |
[1] "facet_grid(space=\"free\")" | |
[1] "facet-trivial" | |
[1] "facet-strips" |
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
> tests_run(filter="renderer") | |
[1] "axis angle rotate" | |
[1] 0.75 | |
[1] "One character value" | |
[1] "coord" | |
[1] "facet-coord" | |
[1] "facet lines" | |
[1] "facet_grid(space=\"free\")" | |
[1] "facet-trivial" | |
[1] "facet-strips" |
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
tests_run(filter = "knit") | |
[1] "knitting multiple animint plots in a single Rmd" | |
|.............. | 10% | |
ordinary text without R code | |
|............................ | 20% | |
label: safety (with options) | |
List of 1 | |
$ echo: logi FALSE |
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
tests_init("firefox") | |
Starting selenium binary. To shut it down, run: | |
remDr$closeWindow() | |
remDr$closeServer() | |
checking Selenium Server versions: | |
BEGIN: PREDOWNLOAD | |
BEGIN: DOWNLOAD | |
BEGIN: POSTDOWNLOAD | |
checking chromedriver versions: | |
BEGIN: PREDOWNLOAD |
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
tests_run(filter = "renderer") | |
[1] "axis angle rotate" | |
[1] 0.75 | |
[1] "One character value" | |
[1] "coord" | |
[1] "facet-coord" | |
[1] "facet lines" | |
[1] "facet_grid(space=\"free\")" | |
[1] "facet-trivial" | |
[1] "facet-strips" |
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
tests_init("firefox") | |
Starting selenium binary. To shut it down, run: | |
remDr$closeWindow() | |
remDr$closeServer() | |
checking Selenium Server versions: | |
BEGIN: PREDOWNLOAD | |
BEGIN: DOWNLOAD | |
BEGIN: POSTDOWNLOAD | |
checking chromedriver versions: | |
BEGIN: PREDOWNLOAD |
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
tests_init() | |
Starting phantomjs binary. To shut it down, run: | |
pJS$stop() | |
checking phantomjs versions: | |
BEGIN: PREDOWNLOAD | |
BEGIN: DOWNLOAD | |
BEGIN: POSTDOWNLOAD | |
> tests_run(filter = "renderer") | |
[1] "axis angle rotate" | |
[1] 0.75 |
NewerOlder