This shell app shows the dependencies
A Pen by Marcy Sutton on CodePen.
// HTTP request | |
const http = require('https'); | |
const api = 'https://maps.googleapis.com/maps/api/geocode/json?address=%s', | |
address = '5101 ASHLEY PHOSPHATE RD STE 145 N CHARLESTON SC 29418-2843', | |
url = api.replace('%s', address); | |
http.get(url, res => { | |
res.on('data', d => { | |
console.log('' + d); |
curl -L http://git.io/n-install | bash | |
# then CREATE a NEW terminal session. run node |
font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", SimSun, "宋体", Heiti, "黑体", sans-serif; |
<?php | |
//***** Configure the DEFAULT Style | |
function my_wp_default_styles($styles) | |
{ | |
// use release date for version | |
$styles->default_version = filemtime( get_template_directory() ); | |
} | |
add_action("wp_default_styles", "my_wp_default_styles"); |
/** | |
* Created on 3/1/16. | |
* https://docs.angularjs.org/guide/directive | |
* @author rankun203 | |
*/ | |
App | |
.directive('ydGeetest', function () { | |
return { | |
restrict : 'AE', |
/** | |
* Created on 1/6/16. | |
* @author rankun203 | |
*/ | |
'use strict'; | |
module.exports.sequelize = require('./sequelize'); | |
module.exports.redis = require('./redis'); |
/** | |
* Created on 2/9/16. | |
* @author rankun203 | |
*/ | |
'use strict'; | |
const _ = require('lodash'); | |
/** | |
* Omit property when empty value | |
* |
/** | |
* Created on 3/1/16. | |
* @author rankun203 | |
*/ | |
'use strict'; | |
let Promise = require('bluebird'); | |
// Promise + runner test |
/** | |
* 根据文件名生成文件的 key | |
* @param fileName | |
* @returns {string} | |
*/ | |
function genFileKey(fileName) { | |
var fileKey = ''; | |
// 将文件名中的有效字符提取出来作为文件 key | |
var realFileName = fileName.match(/[\w|\.]/g).join(''); |
This shell app shows the dependencies
A Pen by Marcy Sutton on CodePen.