Skip to content

Instantly share code, notes, and snippets.

Avatar

Gaurav Tiwari gauravtiwari

View GitHub Profile
View data.js
// routes.js
const routes = [
{
path: '/',
component: Home,
exact: true
},
{
path: '/gists',
component: Gists
@beanieboi
beanieboi / gist:ad526faf063181f336a2
Last active Apr 10, 2020
Codeship Nginx Config for Heroku
View gist:ad526faf063181f336a2
daemon off;
# Heroku dynos have at least 4 cores.
worker_processes <%= ENV['NGINX_WORKERS'] || 4 %>;
events {
use epoll;
accept_mutex on;
worker_connections 1024;
}
@ngpestelos
ngpestelos / remove-docker-containers.md
Last active Jul 28, 2020
How to remove unused Docker containers and images
View remove-docker-containers.md

May 8, 2018

I wrote this four years ago, so instead use this command:

$ docker rmi $(docker images -q -f dangling=true)
@mhulse
mhulse / Setting up Google Cloud Storage with CORS for Web Fonts.md
Last active Nov 7, 2019
Setting up CORS on Google Cloud Storage: An unofficial quick start guide to serving web fonts from Google's cloud. (I'm sure a lot of this info could be improved... Please leave comments if you have tips/improvements.)
View Setting up Google Cloud Storage with CORS for Web Fonts.md

Login:

Google Cloud Storage

You'll want to login using an official Google account (i.e. if this is for your company, use the comapany Gmail account vs. a personal one.)

When logging in, you might be prompted to verify the account; if so, enter your cell number to get a verification e-mail or phone call.

Once verified, you'll have to agree to the terms of service; do that, and click continue.

You can’t perform that action at this time.