This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // jscodeshift codemod to migrate ember-cli-page-object legacy collection({ ... }) | |
| // to the newer selector-first API: collection('selector', { ... }) | |
| // | |
| // Usage: | |
| // npx jscodeshift -t scripts/collection-api-codemod.js tests/pages | |
| // | |
| // The transform handles the common pattern that was deprecated: | |
| // | |
| // items: collection({ | |
| // itemScope: '.item', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // NSURLComponents+QueryItemsDictionary.m | |
| // browzine | |
| // | |
| // Created by Karl Becker on 1/20/16. | |
| // Copyright © 2016 Third Iron. All rights reserved. | |
| // | |
| // Requires https://github.com/grav/nsarray-functional | |
| #import <Foundation/Foundation.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Write an implementation of the fibonacci function. | |
| The fibonacci function is defined as follows: | |
| It is a function that takes one parameter, n | |
| and returns the nth number in the fibonacci sequence. | |
| The fibonacci sequence is the sequence of numbers, | |
| beginning with zero and then one, where all succeeding | |
| numbers in the sequence are the sum of the previous two | |
| numbers. |