- multiple timer events on promo cards
- screen from wallet to profile doing that weird dance
- wallet graph being visible on the profile screen
- graph date selectors being visible when transactions are extended ( that is actually according to the mockup, but I had planned to fix that)
- smooth out transactions extending thing
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
| function getPageName(url) { | |
| var index = url.lastIndexOf("/") + 1; | |
| var filenameWithExtension = url.substr(index); | |
| var filename = filenameWithExtension.split(".")[0]; | |
| return filename; | |
| } | |
| var url = window.location.href; | |
| var fileName = getPageName(url); |
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
| // this is @Lukeed's 'sublet' with some small changes to allow for automatic dependency tracking as well as | |
| // explicit registering of change effects | |
| // prob should use a weakMap for these | |
| const reactionsMap = {}; | |
| const contextMap = {}; | |
| let ctx; | |
| export const setContext = id => { | |
| ctx = id; |
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
| const Info = ({ title, img, alt, message, details, className, buttonText = 'Done', handleClick = () => {} }) => ( | |
| <div className={className !== undefined ? `${styles['acc__info']} ${styles[className]}` : styles['acc__info']}> | |
| <h2>{title}</h2> | |
| <div className={styles.card}> | |
| <div className={styles['acc__info__container']}> | |
| <img src={img} alt={alt} /> | |
| </div> | |
| <h4>{message}</h4> | |
| <p>{details}</p> | |
| </div> |
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
| [ | |
| { | |
| "name": "Chongqing", | |
| "country": "China", | |
| "displayName": "Chongqing (China)" | |
| }, | |
| { | |
| "name": "Shanghai", | |
| "country": "China", | |
| "displayName": "Shanghai (China)" |
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
| /** | |
| * | |
| * Node | |
| * | |
| * @param {*} key | |
| * @param {*} value | |
| * @param {Node} [next=null] | |
| * @param {Node} [prev=null] | |
| */ | |
| function Node(key, value, next = null, prev = null) { |
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
| const sha256 = require("crypto-js/sha256"); | |
| function Block(data, parent) { | |
| if ( parent) { | |
| this.index = parent.index + 1; | |
| this.parentHash = parent.hash; | |
| } else { | |
| this.index = 0; | |
| this.parentHash = null; | |
| } |
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
| function solve(data) { | |
| // example returns sum of a line of integers seperated by a space | |
| // return data.split(' ').reduce((acc, cur) => acc += Number(cur), 0); | |
| return data; | |
| } | |
| process.stdin.resume(); | |
| process.stdin.setEncoding('ascii'); |
This file has been truncated, but you can view the full file.
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
| [ | |
| { | |
| "timestamp": 1556742627000, | |
| "dataType": "activity-hack", | |
| "dataSource": "git@sage:/Users/fielding/etc", | |
| "uuid": "96656ebe-b6d6-531a-9c68-5c92a7ccf50b", | |
| "refs": [ | |
| "HEAD", | |
| "master", | |
| "origin/master", |