请设置环境变量
注意 "D:\soft\nodejs\"这个是笔者自己安装在电脑上的node js目录,请修改成自己的
一、用户环境变量参数:
PATH =D:\soft\nodejs\;D:\soft\nodejs\node_modules\express;
二、系统环境变量参数
Path=D:\soft\nodejs;D:\soft\nodejs\node_modules\expr...
[Question]
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to t...
分类:
其他好文 时间:
2014-05-07 05:37:44
阅读次数:
278
今天遇到一个问题,要做一个语音识别接口的对接,想先跑一下对方给的demo,但是发现使用了maven却没有在pom里添加依赖,不知道他那边是怎么运行的。于是想到要在pom中添加本地依赖,结果真的可以:
System Dependencies
Dependencies with the scope system are always available and are not looked...
分类:
其他好文 时间:
2014-05-07 04:16:42
阅读次数:
407
Given a triangle, find the minimum path sum
from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given the fol...
分类:
其他好文 时间:
2014-05-07 02:55:24
阅读次数:
377
老是报物理内存越界,kill
container,然后把yarn.scheduler.minimum-allocation-mb设成2048就好了跟这个yarn.nodemanager.pmem-check-enabled参数应该也有关系在这篇文章中得到启发:http://bise.aliapp.c...
分类:
其他好文 时间:
2014-05-07 02:15:35
阅读次数:
409
Windbug说明:windbg配置如下:运行WinDbg->菜单->File->Symbol
File Path->按照下面的方法设置_NT_SYMBOL_PATH变量:在弹出的框中输入“C:\MyCodesSymbols;
SRV*C:\MyLocalSymbols*http://msdl.mi...
分类:
数据库 时间:
2014-05-07 01:47:04
阅读次数:
338
如果读到的是音频文件路径,需要先将音乐文件插入到多媒体库。如:path传入:/mnt/sdcard/mp3/a.mp3
//设置--铃声的具体方法 public void setMyRingtone(String path) { File sdfile = new File(path); ContentValues values = new Co...
分类:
移动开发 时间:
2014-05-06 22:55:52
阅读次数:
500
最近下了《中国式英语口语纠错》里面的文件都是“tingvoa.com_cnusa043.mp3”,MP3播放器不识别,
因此用python脚本写了一个rename的脚本
# -*- coding: utf-8 -*-
import os
def filerename(path):
for file in os.listdir(path):
#pr...
分类:
编程语言 时间:
2014-05-06 22:48:40
阅读次数:
423
1、
??
Candy
There are N children standing in a line. Each child is assigned a rating value.
You are giving candies to these children subjected to the following requirements:
Each child must h...
分类:
其他好文 时间:
2014-05-06 22:41:02
阅读次数:
427
解决办法:
1.web.xml:是否配置正确,可以在下载的Sturts包里,解压struts-2.3.15.2\apps\struts2-blank.jar\WEB-INF\web.xml ,参考是否正确,
2.struts.xml是否配置正确,方法同上
3.引入的jar 是否正确,方法同上
4.项目是部署到tomcat,打开tomcat,设置deploy path...
分类:
编程语言 时间:
2014-05-06 19:12:41
阅读次数:
558