Skip to content

Instantly share code, notes, and snippets.

View RussellDash332's full-sized avatar
:electron:
Exploring

Russell Saerang RussellDash332

:electron:
Exploring
View GitHub Profile
@RussellDash332
RussellDash332 / ggplot2_playground.r
Last active September 10, 2021 18:37
Code used on my Medium post
## Install the ggplot2 package
install.packages("ggplot2")
## Load the ggplot2 package
library(ggplot2)
## The dataset itself
mtcars
## Find out the dataset's structure
@RussellDash332
RussellDash332 / weather.json
Created July 28, 2021 16:58
weather.json for my first Medium post
{
"coord":{
"lon":103.8501,
"lat":1.2897
},
"weather":[
{
"id":803,
"main":"Clouds",
"description":"broken clouds",
@RussellDash332
RussellDash332 / main.yaml
Created July 28, 2021 16:47
main.yaml for my first Medium post
name: Autobuild README
on:
push:
branches:
- main
schedule:
# README updates every new hour
# Use '0 */1 * * *' or '@hourly'
- cron: '0 */1 * * *'
@RussellDash332
RussellDash332 / index.js
Last active July 28, 2021 16:59
index.js for my first Medium post
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',