-
137% increase in AWS usage in the last year
-
Factors to keep in mind when picking a region
- Performance: Proximity to users and to other resources in AWS
- Compliance
- Cost
-
Naming scheme is the most important thing
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Diff the headers and response body of two different urls with curl | |
NAME=`basename $0` | |
COMMAND="diff <(curl -is '$1') <(curl -is '$2')" | |
if [ $# -ne 2 ] | |
then | |
echo "Usage: $NAME <http://foobar.com> <http://bazqux.com>" 1>&2 | |
exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select innodb_index_stats.table_name, innodb_index_stats.index_name from mysql.innodb_index_stats where concat(innodb_index_stats.index_name, innodb_index_stats.table_name) not in(select concat(index_statistics.index_name, index_statistics.table_name) from information_schema.index_statistics) and innodb_index_stats.index_name<>'GEN_CLUST_INDEX' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_version = ">= 0.12" | |
} | |
variable "kubeconfig" {} | |
provider "kubernetes" { | |
version = "~> 1.8.1" | |
config_path = var.kubeconfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby --disable gems | |
# frozen_string_literal: true | |
require "pathname" | |
INCLUDE_BRANCH_COMMITS = "--include-branch-commits" | |
TEST_ARGV = ARGV.select { |arg| arg != INCLUDE_BRANCH_COMMITS } | |
changed_files = %x(git status --porcelain).scan(/^\s*\S+(?: +\S+ ->)? +(.*)$/).flatten |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let moneySpent = 0 | |
let linkSelector = "#main-content > div > div > div.du > div > div > div > a"; | |
let nextButtonSelector = "#main-content > div > button"; | |
let priceSelector = "body > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table:nth-child(1) > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td:nth-child(2) > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td:nth-child(2) > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td:nth-child(2) > div > span"; | |
let alternativePriceSelector = "body > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > td > table > tbody > |
OlderNewer