Jakub Chodorowicz
Young/Skilled
@chodorowicz
github.com/chodorowicz
| /** | |
| * This script wrapped in a Immediately-Invoked Function Expression (IIFE) to | |
| * prevent variables from leaking onto the global scope. For more information | |
| * on IIFE visit the link below. | |
| * @see http://en.wikipedia.org/wiki/Immediately-invoked_function_expression | |
| */ | |
| (function() { | |
| 'use strict'; |
| <div class="slogan"> | |
| <h1>Developing Interactive User Interfaces</h1> | |
| </div> |
| syntax on | |
| set ruler " Show the line and column numbers of the cursor. | |
| set formatoptions+=o " Continue comment marker in new lines. | |
| set textwidth=0 " Hard-wrap long lines as you type them. | |
| set modeline " Enable modeline. | |
| set esckeys " Cursor keys in insert mode. | |
| set linespace=0 " Set line-spacing to minimum. | |
| set nojoinspaces " Prevents inserting two spaces after punctuation on a join (J) | |
| " More natural splits | |
| set splitbelow " Horizontal split below current. |
THis gist was created in 2016 and I haven't been working with Facebook Leads ever since. As a result, this guide might not be accurate.
Please check @eladnava's updated step-by-step guide for 2020 here: https://eladnava.com/get-facebook-ad-lead-notifications-in-realtime-with-node-js-webhooks/
2015-01-29 Unofficial Relay FAQ
Compilation of questions and answers about Relay from React.js Conf.
Disclaimer: I work on Relay at Facebook. Relay is a complex system on which we're iterating aggressively. I'll do my best here to provide accurate, useful answers, but the details are subject to change. I may also be wrong. Feedback and additional questions are welcome.
Relay is a new framework from Facebook that provides data-fetching functionality for React applications. It was announced at React.js Conf (January 2015).
| @function strip-unit($num) { | |
| @return $num / ($num * 0 + 1); | |
| } | |
| @mixin rem-fallback($property, $values...) { | |
| $max: length($values); | |
| $pxValues: ''; | |
| $remValues: ''; | |
| @for $i from 1 through $max { |
| /* | |
| * 1. USING A FUNCTION | |
| * notes: this is not the best solution for | |
| * large applications, because your constructor | |
| * functions are global objects and could accidentally | |
| * be overwritten. | |
| */ | |
| // create a Class Apple | |
| function Apple(type){ |
| /** | |
| Problem: | |
| You have a javascript array that likely has some duplicate values and you would like a count of those values. | |
| Solution: | |
| Try this schnippet out. | |
| */ |