Skip to content

Instantly share code, notes, and snippets.

View firebuggirl's full-sized avatar
💭
K8s Mastery + K8s (CKAD) @udemy & KodeKloud + DevOps Role @ KodeKloud Engineer

Juliette firebuggirl

💭
K8s Mastery + K8s (CKAD) @udemy & KodeKloud + DevOps Role @ KodeKloud Engineer
View GitHub Profile
@firebuggirl
firebuggirl / default nginx configuration file
Created February 12, 2020 20:02 — forked from xameeramir/default nginx configuration file
The default nginx configuration file inside /etc/nginx/sites-available/default
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@firebuggirl
firebuggirl / web-servers.md
Created January 13, 2020 23:47 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
# slim does not work w/tini
# FROM node:10-slim as prod
FROM node:10.15-alpine as prod
ENV NODE_ENV=production
EXPOSE 3000
RUN apk add --no-cache tini
@firebuggirl
firebuggirl / Example_Output.txt
Created December 6, 2017 20:57 — forked from ronalstal/Example_Output.txt
MongoDB aggregate: compare the performance of different pipelines
MongoDB shell version v3.4.10
connecting to: mongodb://127.0.0.1:27017/m121
MongoDB server version: 3.4.10
Chapter 3 Lab Lookup Pipelines Performance Comparison
## start on air_alliances - using $filter

Overview

Here you will find instructions for importing the datasets for M001: MongoDB Basics into a locally running MongoDB deployment.

Datasets

All datasets are provided in Amazon S3 in a single zip file (243 MB zipped; 1.5 GB unzipped). The files were created with the mongodump command. They may be imported into your MongoDB deployment using mongorestore. Note that these datasets include the indexes necessary to support example queries and labs used in M001. The datasets included are as follows.

@firebuggirl
firebuggirl / font_variables.scss
Created April 12, 2016 20:17 — forked from jacrook/font_variables.scss
Sass Css Font Stack Variables
//////////////////////////////////////////////////////////////
// Font Variables (http://cssfontstack.com/)
//////////////////////////////////////////////////////////////
//
// Serif font-stacks
//
$baskerville-font-stack: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif !default;