| Title | Description
import boto3 | |
import random | |
def getconfig(key): | |
return { | |
'api-delay-services': ['ec2'], | |
'api-delay-range': [0, 3], | |
'api-delay-rate': 10, | |
'aws-fault-services': ['s3', 'dynamodb'], | |
'api-fault-rate': 10 |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Cognito Stack | |
Parameters: | |
AuthName: | |
Type: String | |
Description: Unique Auth Name for Cognito Resources | |
Resources: | |
# Creates a role that allows Cognito to send SNS messages | |
SNSRole: |
/// linear-interpolation | |
/// Calculate the definition of a line between two points | |
/// @param $map - A SASS map of viewport widths and size value pairs | |
/// @returns A linear equation as a calc() function | |
/// @example | |
/// font-size: linear-interpolation((320px: 18px, 768px: 26px)); | |
/// @author Jake Wilson <[email protected]> | |
@function linear-interpolation($map) { | |
$keys: map-keys($map); | |
@if (length($keys) != 2) { |
This bootstraps FaaS onto your Raspberry Pi or ARM board with Docker.
Any Linux/UNIX process can be made a serverless function. Communication with functions is via an API gateway with an easy to use UI portal.
https://github.com/alexellis/faas
Here's the one-shot equivalent from the TestDrive guide
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
<!-- Example #1 - no styling --> | |
Made with ❤ in Switzerland | |
Made with ♥ in Switzerland | |
Made with ♡ in Switzerland | |
Made with ❤️ in Switzerland | |
Made with ♥️ in Switzerland | |
<!-- Example #2 - inline-styled ❤ --> | |
Made with <span style="color: #e25555;">♥</span> in Switzerland | |
Made with <span style="color: #e25555;">♥</span> in Switzerland |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>NeverSSL - Helping You Get Online</title> | |
<style> | |
body { | |
font-family: Montserrat, helvetica, arial, sans-serif; | |
font-size: 16x; | |
color: #444444; |