linux
shell执行有两种方式shell脚本以#!/bin/bash开头,执行shell时先检查首行,在内部以下列方式执行:$/bin/bash
script.sh1. 使用sh执行。 $sh script.sh #脚本位于当前目录下或者 $sh /home/path/script.sh #使...
分类:
系统相关 时间:
2014-05-26 23:16:32
阅读次数:
344
该问题由UAC机制引起,可尝试如下方案:以管理员身份打开Powershell,运行:New-ItemProperty -Path
"registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Syst...
Double roll crushers are used for both, primary
and secondary crushing. They guarantee a strictly defined final grain size with
a minimum of fine grai...
分类:
其他好文 时间:
2014-05-26 21:56:30
阅读次数:
269
为Python加入默认模块搜索路径方法一:函数加入1) import sys2)
查看sys.path3)
加入sys.path.append("c:\\")方法二:改动环境变量windows用户能够改动系统环境变量PYTHONPATH方法三:添加.pth文件,推荐!在site-packages加入...
分类:
编程语言 时间:
2014-05-26 21:30:47
阅读次数:
333
1
安装python安装python-2.7.6.msi默认在c盘设置环境变量,path后追加c:/python27。可以在命令行直接认识命令python2
安装pyqtPyQt4-4.10-gpl-Py2.7-Qt4.8.4-x32.exe,会自动寻找python路径,并装在python安装目录下...
分类:
其他好文 时间:
2014-05-26 16:21:18
阅读次数:
245
问:在配置文件a.properties中有一行path=C:\test在java中getProperty("path")后,java把\t认为是一个字符TAB。怎样才能取到正确的结果:C:\test呢答:使用C:\\test或者C:/test...properties文件的约定在windows下“/...
分类:
编程语言 时间:
2014-05-26 16:07:14
阅读次数:
318
1:float保存2位小数:
f1.ToString("F2")2:datatable列求和:dt.Compute("sum([企业数量])",
"true")同时:如果字段为中文,取值用[中文字段] 方式。3:NPOI 导出EXCEL(需要手动导入NPOI文件)单Sheet: 1 //单Shee....
分类:
其他好文 时间:
2014-05-26 15:38:04
阅读次数:
210
Given an array S of n integers, are there
elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the
array which gives the sum of ...
分类:
其他好文 时间:
2014-05-26 14:02:27
阅读次数:
263
数学推导题,f(n)=n*(n+1)*(n+2)/6
推导思路如下:
#include"cstdio"
#include"cstring"
#include"cmath"
#include"cstdlib"
#include"iostream"
#include"algorithm"
#include"queue"
using namespace std;
int main()...
分类:
其他好文 时间:
2014-05-23 02:13:15
阅读次数:
269
Problem 1: Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multip...
分类:
其他好文 时间:
2014-05-23 01:43:01
阅读次数:
253