Presenter: Nima Elyassi-Rad
- Lead-gen flow: Prospect -> Lead -> Sales Qualified Lead (SQL) -> Customer
- Research:
- Why are you in business?
- Exactly who are you helping?
- What specifically are you doing for them?
| #! /bin/sh | |
| # A shell command which prints its input wItH AlTeRnAtInG LoWeR AnD | |
| # UpPeRcAsInG. | |
| # | |
| # Example: | |
| # $ echo "we're all trying to find who did this" | spongebob | |
| # wE'Re aLl tRyInG To fInD WhO DiD ThIs | |
| <&0 awk ' | |
| { |
Presenter: Nima Elyassi-Rad
| --- | |
| AWSTemplateFormatVersion: "2010-09-09" | |
| Description: Creates a stack containing an IAM role used to grant | |
| Datadog monitoring access to AWS infrastructures. See | |
| http://docs.datadoghq.com/integrations/aws/#installation for | |
| details. | |
| Parameters: | |
| DatadogAwsAccountId: |
| #!/usr/bin/python | |
| import datetime | |
| import sys | |
| print datetime.datetime.fromtimestamp(float(sys.argv[1])/1000).strftime('%Y-%m-%d %H:%M:%S.%f') |
| #! /bin/sh | |
| # | |
| # A little script to generate new Scala+Maven projects. | |
| set -e | |
| if test $# -lt 1; then | |
| echo "usage: $0 <project name>" | |
| exit 1 | |
| fi |
Deficiencies of raw NIO:
whiteboard example of Buffer.flip
| #! /bin/sh | |
| # A fuzzy `git checkout`. | |
| match=`git rev-parse --abbrev-ref --branches="*$1*"` | |
| case `wc -w <<< "$match" | tr -d ' '` in | |
| "0") echo "error: '$1' did not match any branch." 2>&1 ;; | |
| "1") git checkout $match ;; | |
| *) echo "error: '$1' is ambigious among:\n$match" 2>&1 | |
| esac |
| #!/usr/bin/env ruby | |
| # | |
| # Run tests for all projects that have been modified in the Birdcage, | |
| # relative to HEAD. | |
| # | |
| # For example, if you've edited files in three projects, this script will | |
| # run tests serially for these three projects in one command. | |
| print "Determining which files have been changed..." | |
| $stdout.flush |
| import com.twitter.util.{Future => TwitterFuture, FuturePool} | |
| import java.util.concurrent.{Future => JavaFuture} | |
| /** | |
| * Convert a Java Future to a Twitter Future. | |
| */ | |
| def javaFutureToTwitterFuture[A](javaFuture: JavaFuture[A]): TwitterFuture[A] = | |
| FuturePool.unboundedPool { javaFuture.get } |