Skip to content

Instantly share code, notes, and snippets.

Yang He abruzzihraig

Block or report user

Report or block abruzzihraig

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ScatterMenu.js
require('animate.css');
require('./ScatterMenu.styl');
import React, { PropTypes } from 'react';
import { Motion, StaggeredMotion, spring } from 'react-motion';
import cx from 'classnames';
import { BOUNCE, FADE } from '../../constant';
import { Button } from '../Button';
const VIRTUAL_AREA_RATIO = 0.95;
@abruzzihraig
abruzzihraig / verify.js
Last active Mar 3, 2017
verifying script for checking templates from KDP
View verify.js
const path = require('path');
const fs = require('fs');
const Table = require('cli-table');
const mainDir = path.join(__dirname, 'templates');
function findPath(filePath) {
return new Promise(function(res, rej) {
fs.readdir(filePath, (err, filenames) => {
const filePaths = filenames
@abruzzihraig
abruzzihraig / jsdoit.css
Created Jan 23, 2018 — forked from obenjiro/jsdoit.css
Canvas Conical Gradient
View jsdoit.css
body {
margin: 0;
padding: 0;
background-color: #fff;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAANUlEQVQ4jWM8c+bMfwY8wNjYmBGfPBM+SWLAqAGDwQDG///xJgOGs2fP4lUw8F4YNYAKBgAA2NYKfxDn4ZUAAAAASUVORK5CYII=);
overflow: hidden;
}
You can’t perform that action at this time.