A list of Rails books and their applications. Free books are tagged with (F)
Have a suggestion? Leave a comment. There are still books I need to read on the subject so some may not show up in this list yet.
Your first steps into Rails
// gif by davey. godspeed | |
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { |
// by dave @beesandbombs | |
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { |
javascript:%28function%28%29%7Bvar%20n,walk=document.createTreeWalker%28document.body,NodeFilter.SHOW_TEXT,null,0%29%3Bwhile%28n=walk.nextNode%28%29%29%7Bif(n.textContent.trim%28%29.length>0)n.textContent=window.getComputedStyle(n.parentNode).fontSize%3B%7D%7D%29%28%29 |
// - Draw a series of points in a straight line and draw a line between them; | |
// - Make a copy of the preceding series of points, slightly mutate their x/y coordinates, and draw a line between them; | |
// - Repeat | |
ArrayList<PVector> points; | |
int pTotal = 300; // The total number of points per line | |
float w; // This will be used to define the drawing area | |
// Noise variables | |
float offsetX = 0; |
:root { | |
--ease-in-quad: cubic-bezier(.55, .085, .68, .53); | |
--ease-in-cubic: cubic-bezier(.550, .055, .675, .19); | |
--ease-in-quart: cubic-bezier(.895, .03, .685, .22); | |
--ease-in-quint: cubic-bezier(.755, .05, .855, .06); | |
--ease-in-expo: cubic-bezier(.95, .05, .795, .035); | |
--ease-in-circ: cubic-bezier(.6, .04, .98, .335); | |
--ease-out-quad: cubic-bezier(.25, .46, .45, .94); | |
--ease-out-cubic: cubic-bezier(.215, .61, .355, 1); |
# Based on http://frantic.im/notify-on-completion and https://gist.github.com/jamesmacaulay/860763 | |
# Notify on completion | |
function f_notifyme { | |
LAST_EXIT_CODE=$? | |
CMD=$(fc -ln -1) | |
terminal-notifier -title "$CMD" -message "Status code: $LAST_EXIT_CODE" & | |
} | |
save_preexec_time() { | |
export PREEXEC_CMD="$(history | tail -1 | sed 's/ *[0-9]* *//')" |
const interval = (callback, delay) => { | |
const tick = now => { | |
if (now - start >= delay) { | |
start = now; | |
callback(); | |
} | |
requestAnimationFrame(tick); | |
}; | |
let start = performance.now(); | |
requestAnimationFrame(tick); |
<!doctype html> | |
<meta charset="utf-8"> | |
<title>Example</title> | |
<style> | |
div { | |
width: 100px; | |
height: 100px; | |
background: black; | |
animation-duration: .5s; |