Skip to content

Instantly share code, notes, and snippets.

🍕
Helping companies market and sell more software

Michael Bernstein mrb

🍕
Helping companies market and sell more software
Block or report user

Report or block mrb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View links.md
View Main.elm
module Main exposing (..)
import Html exposing (..)
import TestPanel exposing (..)
main =
Html.program
{ init = init
, view = view
View messaging.txt
Supporting examples 90 words (9 examples @ 10 words each)
Elevator pitch 50 words
Positioning statement 35 words
Headline benefits 24 words (3 benefits @ 8 words each)
Mission statement 20 words
Brand pillars 15 words (3 pillars @ 5 words each)
Target audience 15 words
Brand promise 10 words
View opal.rkt
#lang racket
;; A computer program tells a computer what to do
;; A computer program is made up of "code"
;; "Code" is different instructions that you can give the computer
;; For example, if you want the computer to add two numbers together,
;; you can ask it like this:
(+ 10 10)
@mrb
mrb / Main.elm
Created Sep 12, 2016
JSON Fetch and Filtering
View Main.elm
module Main exposing (..)
import Html exposing (Html, div, button, text, img, br, p)
import Html.Attributes exposing (src, width)
import Html.Events exposing (onClick)
import Html.App
import Http
import Task exposing (Task)
import Json.Decode as Decode exposing (Decoder(..), string, (:=), succeed, list)
import Extra exposing ((|:))
View Main.elm
module Main exposing (..)
import Html exposing (Html, div, button, text, img, br, p)
import Html.Attributes exposing (src)
import Html.Events exposing (onClick)
import Html.App
import Http
import Task exposing (Task)
import Json.Decode as Decode exposing (Decoder(..), string, (:=), succeed, list)
import Extra exposing ((|:))
View nesteddata.rb
def format(result)
# The data I want is deeply nested in the "result" hash
results = result.first[1]["coverage"]
end
View tips.json
[{"layout":"tip","title":"Tip #1: Never Cook The Pizza Sauce","date":"2016-01-04 10:15","categories":"tips","tags":"food","image":"http://d5e3yh7f757go.cloudfront.net/tips/tip-1-sauce.jpg","thumbnail":"http://d5e3yh7f757go.cloudfront.net/tips/thumbs/tip-1-sauce.jpg"}]
View erb.rb
class ShoppingList
attr_accessor :items
def initialize(items)
@items = items
end
# Expose private binding() method.
def get_binding
binding()
View CUSEC.md

I’d like to introduce you to a few of my closest friends

Michael R. Bernstein

CUSEC, Montreal, QC, 15 Jan 2016

Hello, and thank you for having me - I'm honored to deliver a keynote speech to this group of wonderful people for a few specific reasons.

Firstly, I used to be a teacher, and I miss being around students. Your energy and intelligence never cease to amaze me. Thanks for all of the great conversations I've had with organizers, attendees and fellow speakers so far this weekend - I'm looking forward to a lot more.

Secondly, I'm used to speaking on very specific topics to a room full of industry professionals or seasoned Academics, some of whom have heard it all before, know everything, and yet still continue to attend conferences! It boggles the mind. In this case, I get to address a group of students about a topic entirely of my own choosing! Though you probably still think you know everything if college-aged me is any indication.

You can’t perform that action at this time.