搜索到与相关的文章
Python

C#中使用IronPython动态执行表达式小试

C#中不能对字符串表达式进行编译执行,我想到一种解决办法是,添加对Ironpython(python与.net平台交互的版本)的引用,从而利用python来执行。首先,去http://ironpython.codeplex.com/releases/view/54498下载ironpython,安装。我用的是ironpython2.0(之前尝试过用Ironpython2.7,但发现在vs2008中不能添加对Ironpython的引用,所以如果发现使用不了,

系统 2019-08-12 09:30:27 3131

编程技术

汇编语言 标志位介绍

一、运算结果标志位1、进位标志CF(CarryFlag)进位标志CF主要用来反映运算是否产生进位或借位。如果运算结果的最高位产生了一个进位或借位,那么,其值为1,否则其值为0。使用该标志位的情况有:多字(字节)数的加减运算,无符号数的大小比较运算,移位操作,字(字节)之间移位,专门改变CF值的指令等。2、奇偶标志PF(ParityFlag)奇偶标志PF用于反映运算结果中“1”的个数的奇偶性。如果“1”的个数为偶数,则PF的值为1,否则其值为0。利用PF可进

系统 2019-08-12 09:29:32 3131

MySql

mysql下面的INSTALL-BINARY的内容,所有的mysql

2.2InstallingMySQLonUnix/LinuxUsingGenericBinariesOracleprovidesasetofbinarydistributionsofMySQL.Theseincludebinarydistributionsintheformofcompressedtarfiles(fileswitha.tar.gzextension)foranumberofplatforms,aswellasbinariesinplatf

系统 2019-08-12 09:27:31 3131

数据库相关

t-sql中with用法

with用来创建一个虚拟表with临时表名as查询得到的表select*from临时表名withresultTableas(select*,row_number()over(orderbyIDdesc)asRowNumberfromStaff_Positions_InforwhereZGBHin(selectIDfromStaff_informationwherestaff_namelike'%张三%'))select*fromresultTablewhe

系统 2019-08-12 01:52:45 3131

Java

java实现linux连接操作

此程序需要ganymed-ssh2-build210.jar包。下载地址:http://www.ganymed.ethz.ch/ssh2/为了调试方便,可以将\ganymed-ssh2-build210\src下的代码直接拷贝到我们的工程里,此源码的好处就是没有依赖很多其他的包,拷贝过来干干净净。此程序的目的是执行远程机器上的Shell脚本。远程机器IP:***.**.**.***用户名:sshapp密码:sshapp登录后用pwd命令,显示当前目录为:/

系统 2019-08-29 22:30:33 3130

Java

Java 7 的 7 个新的 “酷” 特性

Java7即将在本月底发布了,先来看Java7中的一些不错的新酷特性吧:1.switch中使用字符串变量publicvoidtestStringSwitch(Stringdirection){switch(direction){case"up":y--;break;case"down":y++;break;case"left":x--;break;case"right":x++;break;default:System.out.println("Inval

系统 2019-08-12 09:29:48 3130

各行各业

npp-installer - A script to install the popu

npp-installer-AscripttoinstallthepopularWin32editorNotepad++inLinux-GoogleProjectHostingThisisasimplepythonscriptwhichinstallNotepad++onDebian/Ubuntu(oranyotherdistrothatusesapt-get.)ThisprojectisnotassociatedwiththeNotepad++team.

系统 2019-08-12 01:33:19 3130

Linux

Linux: Apache 安全设定

1.AutoIndex预设安装好Apache之后,其预设目录是在/var/www/html/,如果没有设定index.html的话,那么就会印出目前目录里的所有档案和目录,基於安全理由,希望把AutoIndex这个取消,如此在别人打入网址后,就会出现403的存取权限不足,只有在很“明确”的指出档案时才可以浏览。关闭/var/www/html里(含子目录)的自动印出首页功能[root@rhelconf]#vihttpd.conf_______________

系统 2019-08-29 22:30:02 3129

编程技术

Google Interview - Compute the h-index of a

Google:Computetheh-indexofalistofpapers,giventheircitationcount.Canyoudoitinlineartime?Howaboutadistributedalgorithmforthetask?Facebook:Given:foreverypaperauthored,thereisacitationcountvector.Theh-indexisameasureofresearcherimport

系统 2019-08-29 22:09:43 3129

数据库相关

SQL基础

http://hi.baidu.com/411129755/blog/1、说明:复制表(只复制结构,源表名:a新表名:b)(Access可用)法一:select*intobfromawhere1<>1法二:selecttop0*intobfroma2、说明:拷贝表(拷贝数据,源表名:a目标表名:b)(Access可用)insertintob(a,b,c)selectd,e,ffromb;3、说明:跨数据库之间表的拷贝(具体数据使用绝对路径)(Access可

系统 2019-08-12 01:52:18 3129