- Peter Collingridge SVG Editor + Optimizer
http://www.petercollingridge.appspot.com/svg-editor - Draw SVG
http://www.drawsvg.org/drawsvg.html - Vecteezy
https://www.vecteezy.com/editor - SVG Edit
https://svg-edit.github.io/svgedit/editor/svg-editor.html
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
| import React, { Component, Fragment } from 'react' | |
| import Link from 'gatsby-link' | |
| import { translate } from 'utils/i18n' | |
| import About from 'components/About' | |
| class AboutPage extends Component { | |
| componentWillMount() { | |
| this.props.setHeader('transparent') | |
| } | |
| render() { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| // # PugJs Cheat Sheet | |
| // ## Syntax | |
| doctype html | |
| html | |
| head | |
| meta(name="Pugcupid", content="Wiggle with love") | |
| body | |
| main#page |
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
| { | |
| "scripts": { | |
| "build": "npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min", | |
| "build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015", | |
| "build:esm": "tsc --module es2015 --target es5 --outDir dist/esm", | |
| "build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs", | |
| "build:umd": "rollup dist/esm/index.js --format umd --name YourLibrary --sourceMap --output dist/umd/yourlibrary.js", | |
| "build:umd:min": "cd dist/umd && uglifyjs --compress --mangle --source-map --screw-ie8 --comments --o yourlibrary.min.js -- yourlibrary.js && gzip yourlibrary.min.js -c > yourlibrary.min.js.gz", | |
| } | |
| } |
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
| 'use strict'; | |
| // Based on https://gist.github.com/zhoujiealex/4d926889b02b85d4d8d73f036ef728eb | |
| let Promise = require('bluebird'); | |
| let gulp = require('gulp'); | |
| let cssnano = require('gulp-cssnano'); | |
| let uglify = require('gulp-uglify'); | |
| let htmlmin = require('gulp-htmlmin'); | |
| let htmlclean = require('gulp-htmlclean'); | |
| let imagemin = require('gulp-imagemin'); |
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
| #! /bin/bash | |
| # The Windows folder needs to be shared appropriately | |
| WINDOWS_DIR_PATH="//10.0.2.2/workdir" | |
| MNTPOINT="/workdir_local" | |
| if [ ! -d "$MNTPOINT" ]; then | |
| mkdir $MNTPOINT | |
| fi |
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
| require('./module.js') // { a: 1 } | |
| import module from './module.js' // undefined | |
| import { a } from './module.js' // 1 | |
| require('./module2.js') // { default: { a: 1 }, b: 2 } | |
| import module2 from './module2.js' // { a: 1} | |
| import { b } from './module2.js' // 2 | |
| require('./module3.js') // { default: { a: 1 }, b: 2 } |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?