=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
In order to answer the below, you should be able to talk in clear terms accurately about the below and | |
be able to write and run either in a browser or in a node terminal all the below. | |
- What is a function and how do you define it? | |
- How do you define and then at a later point call a function? | |
- What are arguments? | |
- What are some basic differences between string, objects and arrays? | |
- What is a return value? | |
- What is a key and what is a value in terms of a key value pair? | |
- What does index position in an array mean? |
Join me as I conduct a live tutorial walk through of how to use Facebook's GraphQl/Relay tools to conduct high performance client side cache management in the context of a Ruby on Rails server, React client side stuff(z) and a declarative, non-RESTful, api.
We will be using a live application, source code and tutorials that I've written.
Slightly above or on the heart, https://dl.dropboxusercontent.com/u/12834645/peace_of_mind_sf_tshirts/POM%20logo.psd This file is somewhat low resolution, so we may need to get something better.
JKD General Logo https://commons.wikimedia.org/wiki/File:JKD.svg @juraj - there are two versions, one with fatter more complicated characters and one with thinner less complicated characters, we defer to your judgement about which to use, the above link has links to .svg vector art.
- @startuplandia
- http://www.startuplandia.io/
- http://antipattern.io
- Funny story about getting accepted into dev bootcamp
- Fun fact about the hartl tutorial
- The Zee Spencer effect
- Long Term pacing and brand momentum
- I'm a beginner too, we will be learning together, please don't 'flame spray' me.
- xcode https://developer.apple.com/xcode/download/
- home brew https://www.ruby-lang.org/en/documentation/installation/
- rbenv https://github.com/rbenv/rbenv
brew install rbenv
- git https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
brew install git
def recursive_fib(n) | |
# code here | |
end | |
def iterative_fib(n) | |
# more code here | |
end | |
recursive_fib(5) == ? # a lightweight 'spec'... |
<script src="https://use.typekit.net/avi1fqd.js"></script> | |
<script>try{Typekit.load({ async: true });}catch(e){}</script> | |
<script> | |
(function(d) { | |
var config = { | |
kitId: 'avi1fqd', | |
scriptTimeout: 3000, | |
async: true | |
}, | |
h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s) |
require 'pry' | |
# get all file names | |
file_names = Dir.entries(".") | |
# .entries(".") is annoying as it will also return ".", ".." which will give us problems | |
complete_file_names = Dir.entries(".").select {|entry| File.file? entry } | |
# general logic | |
# |