A simple angled card using Tailwind CSS.
Photos provided by Unsplash
Download the Sketch File
| require('dotenv').config(); | |
| const fs = require('fs'); | |
| const request = require('request-promise-native'); | |
| const yargs = require('yargs'); | |
| const ora = require('ora'); | |
| const FAUNA_ENDPOINT = 'https://graphql.fauna.com/import'; | |
| const options = yargs | |
| .option('file', { |
A simple angled card using Tailwind CSS.
Photos provided by Unsplash
Download the Sketch File
| { | |
| "extends": [ | |
| "airbnb-base", | |
| "prettier", | |
| "plugin:jest/recommended" | |
| ], | |
| "plugins": [ | |
| "prettier", | |
| "jest" | |
| ], |
| { | |
| "singleQuote": true, | |
| "trailingComma": "es5" | |
| } |
| node -e "console.log(require('crypto').randomBytes(16).toString('hex'));" |
Visit my blog or connect with me on Twitter
git init
or
| var map = function(obj, iterator) { | |
| obj = obj || {}; | |
| iterator = iterator || null; | |
| var results = []; | |
| if(!iterator) return; | |
| if(obj instanceof Array) { | |
| for(var i = 0; i < obj.length; i++) { |
| var each = function(obj, iterator) { | |
| obj = obj || {}; | |
| iterator = iterator || null; | |
| if(!iterator) return; | |
| if(obj instanceof Array) { | |
| for(var i = 0; i < obj.length; i++) { | |
| iterator(i, obj[i]); | |
| } |