Skip to content

Instantly share code, notes, and snippets.

View AMoreaux's full-sized avatar
🐨
Work in progress

Antoine Moreaux AMoreaux

🐨
Work in progress
View GitHub Profile
@mc-cat-tty
mc-cat-tty / README.md
Last active March 22, 2021 10:25 — forked from AMoreaux/robbyrussell.zsh-theme
Override oh-my-zsh robbyrussell theme with number of unpushed commits. It now works also inside subdirectories

robbyrussel with unpushed commits counter - ZSH theme

This is a fork of https://gist.github.com/AMoreaux/fb8df10b0de1d89fea45d8da5e467a86

Compared to his parent, this version adds the support for subdirectories inside the folder of a repo, which otherwise would not be recognized

Features

This configuration file override oh-my-zsh robbyrussel theme adding the number of unpushed commits; the counter is placed at the righmost position of the prompt

@bradwestfall
bradwestfall / S3-Static-Sites.md
Last active April 10, 2024 16:40
Use S3 and CloudFront to host Static Single Page Apps (SPAs) with HTTPs and www-redirects. Also covers deployments.

S3 Static Sites

⚠ This post is fairly old. I don't keep it up to date. Be sure to see comments where some people have posted updates

What this will cover

  • Host a static website at S3
  • Redirect www.website.com to website.com
  • Website can be an SPA (requiring all requests to return index.html)
  • Free AWS SSL certs
  • Deployment with CDN invalidation