Skip to content

Instantly share code, notes, and snippets.

// NOTE: this adds a filename and line number to winston's output
// Example output: 'info (routes/index.js:34) GET 200 /index'
var winston = require('winston')
var path = require('path')
var PROJECT_ROOT = path.join(__dirname, '..')
var logger = new winston.logger({...
})
@xiaoF
xiaoF / index.html
Created November 13, 2015 11:15 — forked from anonymous/index.html
Angular Formly Example // source http://jsbin.com/niloduwica
<!DOCTYPE html>
<html>
<head>
<!-- Twitter bootstrap -->
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet">
<!-- apiCheck is used by formly to validate its api -->
<script src="http://npmcdn.com/api-check@latest/dist/api-check.js"></script>
@xiaoF
xiaoF / index.html
Created November 13, 2015 11:07 — forked from anonymous/index.html
Angular Formly Example // source http://jsbin.com/gimipu
<!DOCTYPE html>
<html>
<head>
<!-- Twitter bootstrap -->
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet">
<!-- apiCheck is used by formly to validate its api -->
<script src="http://npmcdn.com/api-check@latest/dist/api-check.js"></script>
@xiaoF
xiaoF / index.html
Created November 13, 2015 11:05 — forked from anonymous/index.html
Angular Formly Example // source http://jsbin.com/kezuwiguzi
<!DOCTYPE html>
<html>
<head>
<!-- Twitter bootstrap -->
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet">
<!-- apiCheck is used by formly to validate its api -->
<script src="http://npmcdn.com/api-check@latest/dist/api-check.js"></script>
<!-- This is the latest version of angular (at the time this template was created) -->
@xiaoF
xiaoF / index.html
Created November 13, 2015 11:01 — forked from anonymous/index.html
Angular Formly Example // source http://jsbin.com/hehedo/7
<!DOCTYPE html>
<html>
<head>
<!-- Twitter bootstrap -->
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet">
<!-- apiCheck is used by formly to validate its api -->
<script src="http://npmcdn.com/api-check@latest/dist/api-check.js"></script>
<!-- This is the latest version of angular (at the time this template was created) -->
@xiaoF
xiaoF / index.html
Created November 13, 2015 11:00 — forked from anonymous/index.html
Angular Formly Example // source http://jsbin.com/zaqeke
<!DOCTYPE html>
<html>
<head>
<!-- Twitter bootstrap -->
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.css" rel="stylesheet">
<!-- apiCheck is used by formly to validate its api -->
<script src="http://rawgit.com/kentcdodds/api-check/latest/dist/api-check.js"></script>
<!-- This is the latest version of angular (at the time this template was created) -->
@xiaoF
xiaoF / index.html
Created November 13, 2015 10:49 — forked from anonymous/index.html
Angular Formly Example // source http://jsbin.com/gomoro
<!DOCTYPE html>
<html>
<head>
<!-- Twitter bootstrap -->
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet">
<!-- apiCheck is used by formly to validate its api -->
<script src="http://npmcdn.com/api-check@latest/dist/api-check.js"></script>

CSS Mars Landing ('-' * 16) A little animation of a spaceship landing on what may not have been an uninhabited planet.

A Pen by Mathew Gitchell on CodePen.

License.

@xiaoF
xiaoF / Elastic stroke CSS + SVG.markdown
Created May 28, 2015 06:28
Elastic stroke CSS + SVG