Skip to content

Instantly share code, notes, and snippets.

View moeamaya's full-sized avatar
👋

Moe Amaya moeamaya

👋
View GitHub Profile

Survive JS Critique

Overall the content is great, but just needs a bit more heirarchy and focus.

1. Value Prop Clarity

Completely understand the desire to meet everyone's needs, but the cognitive load is a bit too much to absorb on landing.

survive js

Solution - What are you selling and Value Prop

# shows the svgs in the last 100
broken = Image.limit(100).reverse_order.where(mobile_720: nil)
image = Image.last(300)
# actual array of images we'll move
process = []
# add all images that aren't svgs to process array
image.each {|img| filetype = img.original.split(".").last; unless filetype.to_s == "svg"; process << img; end; }
@moeamaya
moeamaya / image.html.erb
Created November 5, 2014 22:51
background image css
<div class="page-title" data-bg="image.jpg" data-bg2x="[email protected]">
import urllib
import urllib2
NUM_OF_VOTES = 100
url = ('https://docs.google.com/forms/d/1P53FSdQV1FdeCvMSgYzxKm-PqzdnyqTcDa7eox-_7cw/formResponse')
#vote for Moe
params = {
#name