I hereby claim:
- I am davidtorroija on github.
- I am davidtorroija (https://keybase.io/davidtorroija) on keybase.
- I have a public key ASCYPBZVc1_aSpt6PMRh2Jee6CUQQb4mjRFHix_JgKrfpQo
To claim this, I am signing this object:
var replace = require('gulp-replace'); | |
var gulp = require('gulp'); | |
var js = { | |
src: [ | |
'src/**/*.scss', | |
'src/**/*.css', | |
'src/**/*.tsx', //for the tsx files is in beta because it's including some strings like .remove or lorem ipsum, we need to tweak more the regexto exclude those | |
], | |
}; |
import React from 'react'; | |
import Spinner from './Spinner'; | |
const Card = ({ loadingData, showData, weather, forecast }) => { | |
const today = new Date(); | |
const day = today.getDate(); | |
const month = today.getMonth() + 1; | |
const year = today.getFullYear(); | |
const date = `${day} / ${month} / ${year} `; |
// eslint-disable-next-line @typescript-eslint/no-var-requires | |
const { addBeforeLoader, loaderByName } = require("@craco/craco"); | |
// eslint-disable-next-line @typescript-eslint/no-var-requires | |
// eslint-disable-next-line @typescript-eslint/no-var-requires | |
const path = require("path"); | |
module.exports = { | |
devServer: (devServerConfig) => { | |
devServerConfig.writeToDisk = true; | |
return devServerConfig; |
module.exports = { | |
moduleFileExtensions: [ | |
"js", | |
"json", | |
// tell Jest to handle `*.vue` files | |
"vue", | |
], | |
transform: { | |
// process `*.vue` files with `vue-jest` | |
"^.+\\.vue$": "vue-jest", |
const { resolve } = require("path"); | |
const webpack = require("webpack"); | |
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | |
const { getIfUtils, removeEmpty } = require("webpack-config-utils"); | |
const LodashModuleReplacementPlugin = require("lodash-webpack-plugin"); | |
const VueLoaderPlugin = require("vue-loader/lib/plugin"); | |
const config = require("./config"); | |
const rootResolve = path => resolve(__dirname, path); | |
const { ifProduction, ifNotProduction, ifDevelopment /*, ifTesting */ } = getIfUtils(process.env.NODE_ENV, [ | |
"production", |
I hereby claim:
To claim this, I am signing this object:
getBoardBoundingBox: function(canvas) { | |
var minX = Number.MAX_VALUE; | |
var maxX = Number.MIN_VALUE; | |
var minY = Number.MAX_VALUE; | |
var maxY = Number.MIN_VALUE; | |
canvas.forEachObject(function(o){ | |
var rad = o.angle * Math.PI/180; | |
var w = o.width * o.scaleX; |
Reveal.prototype.resize = function(canvas) { | |
var _this, challengeToolsDiv, container, footerHeight, headerHeight, height, init_height, init_ratio, init_width, objects, ratio, ref, resize_height, resize_width, scaleX, scaleY, toolsDiv, toolsHeight, width; | |
_this = this; | |
init_width = this.init_width; | |
init_height = this.init_height; | |
init_ratio = init_width / init_height; | |
container = $('#widget-container'); | |
resize_width = false; | |
resize_height = false; | |
width = container.find('.main')[0].clientWidth; |
<!DOCTYPE html> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>videojs-overlay Demo</title> | |
<link href="https://vjs.zencdn.net/5-unsafe/video-js.css" rel="stylesheet" /> | |
... | |
</head> | |
<body> |
{ | |
"name": "", | |
"version": "1.0.0", | |
"description": "", | |
"homepage": "https://github.com/", | |
"repository": { | |
"type": "git", | |
"url": "git+https://github.com/pepe.git" | |
}, | |
"//": [], |