- Anticipated user base? and DAU (Daily active users)
- What should be the read vs write frequency if read is more then CDN might be needed
- Identify components that are critial those should be fault tolerant
- Identify functional and non funtional requirements
- Anticipate possible security issues and how will to mitigate them
- Does it need realtime sync or cross device syncronization?
- What browser support is needed?
- Does it have to responsive?
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 throttle(fun, timeduration) { | |
let shouldCall = true; | |
return () => { | |
if (shouldCall) { | |
shouldCall = false; | |
fun(); | |
setTimeout(() => { | |
shouldCall = true; | |
}, timeduration) | |
} |
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
/* | |
* base64.js: An extremely simple implementation of base64 encoding / decoding using node.js Buffers | |
* | |
* (C) 2010, Nodejitsu Inc. | |
* (C) 2011, Cull TV, Inc. | |
* | |
*/ | |
var base64 = exports; |
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
<!DOCTYPE html> | |
<html id="html"> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body id="body"> | |
<div id="one"> |
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
123mail.org | |
150mail.com | |
150ml.com | |
16mail.com | |
2-mail.com | |
4email.net | |
50mail.com | |
aim.com | |
airpost.net | |
alice.it |
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 positiveDeg(input) { | |
const actualInput = input % 360; | |
return actualInput >= 0 ? actualInput : 360 + actualInput; | |
} |
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
alias gitHouseKeeping="git gc && git gc --prune && git remote prune origin && git prune && git clean -df" | |
git-amend-old() ( | |
# Stash, apply to past commit, and rebase the current branch on to of the result. | |
current_branch="$(git rev-parse --abbrev-ref HEAD)" | |
apply_to="$1" | |
git stash | |
git checkout "$apply_to" | |
git stash apply | |
git add -u | |
git commit --amend --no-edit |
data:text/html,<canvas id=v><script>d=document,P='onpointer',c=v.getContext('2d'),v.width=innerWidth,v.height=innerHeight,f=0,d[P+'down']=e=>{f=e.pointerId+1;e.preventDefault();c.beginPath();c.moveTo(e.x,e.y)};d[P+'move']=e=>{f==e.pointerId+1&&c.lineTo(e.x,e.y);c.stroke()},c.lineWidth=3,d[P+'up']=_=>f=0</script></canvas>
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
import React from 'react' | |
import { Link } from 'gatsby' | |
import { Link as RouterLink } from '@reach/router' | |
function MyLink({ children, to, prefetch, ...rest }) { | |
if (!prefetch) { | |
return <RouterLink to={to} {...rest}>{children}</RouterLink > | |
} | |
return <Link to={to} {...rest}>{children}</Link> | |
} |