###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
import { Directive, HostListener, Input, Output, Renderer2, EventEmitter, ElementRef, AfterViewInit} from '@angular/core'; | |
import { ISortDirection, SortDirection } from 'src/app/interfaces/i-sort-direction'; | |
@Directive({ | |
selector: '[sortable-column]' | |
}) | |
export class SortableColumnDirective implements AfterViewInit { | |
rotate: object; | |
@Input() sortable: string; |
//CONFIG | |
PORT= | |
CORS=* | |
//MONGO | |
DB_USER= | |
DB_PASSWORD= | |
DB_HOST= | |
DB_NAME |
{ | |
"presets": ["@babel/preset-env", "@babel/preset-react"] | |
} |
import md5 from 'md5'; | |
const gravatar = (email) => { | |
const base = 'https://gravatar.com/avatar/'; | |
const formattedEmail = email.trim().toLowerCase(); | |
const hash = md5(formattedEmail, { encoding: 'binary' }); | |
return `${base}${hash}`; | |
}; | |
export default gravatar; |
{ | |
"presets": [ | |
[ | |
"@babel/preset-env", | |
{ | |
"targets": { | |
"esmodules": true | |
} | |
} | |
], |
https://github.com/facebook/react-native/issues/21490#issuecomment-427240356 | |
https://github.com/react-community/lottie-react-native/issues/269#issuecomment-403497462 |
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Css Grid example</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> |
// File: Gulpfile.js | |
'use strict'; | |
var gulp = require('gulp'), | |
webserver = require('gulp-webserver'), | |
connect = require('gulp-connect'), | |
stylus = require('gulp-stylus'), | |
nib = require('nib'), | |
jshint = require('gulp-jshint'), | |
stylish = require('jshint-stylish'), |
module.exports ={ | |
resolve: { | |
extensions: ['', '.js','.jsx'] | |
}, | |
context: __dirname, | |
entry: { | |
app: ['./src/app.jsx'] | |
}, | |
output: { | |
path: './build', |