Skip to content

Instantly share code, notes, and snippets.

import axios from 'axios'
export default ({section}) => {
return {
section: document.querySelector(section),
list: document.querySelector(`${section} .js-list`),
moreBtn: document.querySelector(`${section} .js-more`),
posts: [],
current: 0,
addBy: 6,
@lightsaber6000
lightsaber6000 / deploy-static-site-heroku.md
Created March 25, 2019 03:44 — forked from wh1tney/deploy-static-site-heroku.md
How to deploy a static website to Heroku

Gist

This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.

Basic Assumptions

@lightsaber6000
lightsaber6000 / how_to_set_up_ssh_keys.md
Created October 4, 2018 09:19 — forked from oreofeolurin/how_to_set_up_ssh_keys.md
Setting up ssh keys for remote server access

How to Set up SSH Keys

Create the RSA Key Pair

ssh-keygen -t rsa

Store the Keys and Passphrase

Once you have entered the Gen Key command, you will get a few more questions: