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
## Install the ggplot2 package | |
install.packages("ggplot2") | |
## Load the ggplot2 package | |
library(ggplot2) | |
## The dataset itself | |
mtcars | |
## Find out the dataset's structure |
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
{ | |
"coord":{ | |
"lon":103.8501, | |
"lat":1.2897 | |
}, | |
"weather":[ | |
{ | |
"id":803, | |
"main":"Clouds", | |
"description":"broken clouds", |
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
name: Autobuild README | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
# README updates every new hour | |
# Use '0 */1 * * *' or '@hourly' | |
- cron: '0 */1 * * *' |
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
require('dotenv').config(); | |
const Mustache = require('mustache'); | |
const fetch = require('node-fetch'); | |
const fs = require('fs'); | |
const MUSTACHE_MAIN_DIR = './main.mustache'; | |
let DATA = { | |
name: 'Russell', | |
date: new Date().toLocaleDateString('en-GB', { | |
weekday: 'long', | |
month: 'long', |