码迷,mamicode.com
首页 >  
搜索关键字:tee    ( 1966个结果)
经典图算法Java代码实践:BFS,DFS以及几种最短路径算法
public class City { String name; int id; static int idCounter = 0; public City(String name) { this.name=name; id = idCounter++; } } import java.util.A ...
分类:编程语言   时间:2017-04-29 22:15:22    阅读次数:541
crypto加密
/* hash.js */ var crypto = require('crypto'); module.exports = function(){ this.encode = function(){ var algorithm = arguments[0] ? arguments[0] : '' ...
分类:其他好文   时间:2017-04-29 21:00:18    阅读次数:172
influxdb安装配置
influxdb安装配置 os:centos 7 x64 1、安装:参见: https://www.influxdata.com/package-repository-for-linux/cat <<EOF | tee /etc/yum.repos.d/influxdb.repo[influxdb] ...
分类:数据库   时间:2017-04-28 15:54:06    阅读次数:269
XP环境下C# 调用Pocess.start()时提示文件找不到的错误解决办法
错误提示如下: System.ComponentModel.Win32Exception (0x80004005): 系统找不到指定的文件。 在 System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo ...
分类:Windows程序   时间:2017-04-28 13:43:00    阅读次数:305
[Unity3D] 关于txt,xml,json文件的读写,及外部文件(夹)的创建
转载自贴吧:http://tieba.baidu.com/p/2825006787 一、关于txt纯文本的读写 其实.txt,.xml,.json这类文件都属于文本文件,类似的还有.lrc歌词文件,.ini配置文件,.reg注册表文件等等,这类文件所储存的内容都是文本,只是各自有它们自己的格式,便于 ...
分类:编程语言   时间:2017-04-27 14:46:55    阅读次数:516
推送一个已有的代码到新的 gerrit 服务器
1.指定项目代码库中迭代列出全部ProductList(.git)到pro.log文件中 repo forall -c 'echo $REPO_PROJECT' | tee pro.log pro.log文件内容如下:(这里以高通源码部分project为例) platform/abi/cppplat ...
分类:其他好文   时间:2017-04-26 13:08:16    阅读次数:321
Timus 1180. Stone Game 游戏题目
Two Nikifors play a funny game. There is a heap of N stones in front of them. Both Nikifors in turns take some stones from the heap. One may take any ...
分类:其他好文   时间:2017-04-26 13:06:46    阅读次数:168
python\类
1 初始类 1 声明类 (和声明函数很相似) 类的定义格式 class 类名: '类的文档字符串' 类体 2 创建一个类: class Data: pass Python编程中习惯类名使用单数单词并且首字母大写 类是数据与函数的结合,二者称为类的属性 class Garen: #定义英雄盖伦的类,不 ...
分类:编程语言   时间:2017-04-24 19:53:43    阅读次数:202
ajax上传图片
html代码 js代码 php代码 ...
分类:Web程序   时间:2017-04-24 00:02:59    阅读次数:180
Concurrency Is Not Parallelism (Rob pike)
Rob pike发表过一个有名的演讲《Concurrency is not parallelism》(https://blog.golang.org/concurrency-is-not-parallelism), 演讲胶片在talks.golang.org中可以找到(https://talks.g ...
分类:其他好文   时间:2017-04-23 21:12:45    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!