made with esnextbin
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
| { | |
| "basics": { | |
| "name": "Cristián Berríos", | |
| "label": "Programmer", | |
| "picture": "", | |
| "email": "[email protected]", | |
| "phone": "1 832 829 9178", | |
| "website": "http://crisberrios.github.io", | |
| "summary": "Passionate about creating new and interesting things, making people happy and helping the world be a better place through technology.", | |
| "location": { |
made with esnextbin
made with esnextbin
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 pairwise(arr, arg) { | |
| var cloneArr = arr.slice(0); | |
| return pair = cloneArr | |
| .map(function(i) { | |
| return arg-i; | |
| }) | |
| .map(function(i,index) { | |
| var pairIndex = cloneArr.indexOf(i); | |
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
| /*-----------------------------------*\ | |
| $HEADER | |
| \*-----------------------------------*/ | |
| .site__header { | |
| -webkit-animation: bounceInUp 1s; | |
| } | |
| .site__title { | |
| color: #f35626; |
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 drawer(price, cash, cid) { | |
| var values = { | |
| 'ONE HUNDRED': 100, | |
| 'TWENTY': 20, | |
| 'TEN': 10, | |
| 'FIVE': 5, | |
| 'ONE': 1, | |
| 'QUARTER': 0.25, | |
| 'DIME': 0.1, |
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
| /(^1? ?\(?\d\d\d\)?[ -]?\d\d\d[ -]?\d\d\d\d)$/g; |
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
| var gcd = function (a,b){ | |
| if ( ! b) { | |
| return a; | |
| } | |
| return gcd(b, a % b) | |
| } | |
| var lcm = function (i,j){ | |
| return (i*j)/gcd(i,j); | |
| } |
A fun experiment trying to simulate water drops splashing.
A Pen by Cristián Berríos on CodePen.
NewerOlder