Windows PowerShell 会话中使用 FSharp 代码编译器
$fSharpCode= @"
moduleTest
let HelloWorld =
"Hello World!!!!"
printfn "%s" HelloWorld
let rec Loop n =
seq [
if n...
在DEDECMSV5.3中,提供了loop万能循环标签,但是此循环标签只能循环出该表中的字段,而“[field:arcurl/]”链接标签并不能被解析出来,而DEDECMS官方论坛上也没有找到相关的解决办法,所以只有自己动手写代码了! 这是官方提供的代码:{dede:loop table='dede...
分类:
其他好文 时间:
2014-07-26 14:40:51
阅读次数:
204
IntroductionThe central component of any game, from a programming standpoint, is thegame loop.It allows the game to run smoothly regardless of a user'...
分类:
其他好文 时间:
2014-07-25 19:10:22
阅读次数:
352
#mkdir /mnt/ISO#mount -o loop /root/CentOS-6.4-x86_64-bin-DVD1.iso /mnt/ISO/#mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_ba...
分类:
其他好文 时间:
2014-07-25 14:24:31
阅读次数:
235
A run loop for a given thread will wait until one or more of its input sources has some data or event, then fire the appropriate input handler(s) to p...
分类:
其他好文 时间:
2014-07-24 17:15:40
阅读次数:
301
疯狂的暑假学习之 汇编入门学习笔记 (十四)—— 直接定址表
参考: 《汇编语言》 王爽 第16章
1. 描述单元长度的标号
普通的标号:a,b
assume cs:code
code segment
a:db 1,2,3,4,5,6,7,8
b:dw 0
start:
mov si,offset a
mov di,offset b
mov ah,0
mov cx,8
s:
mov al,cs:[si]
add cs:[di],ax
inc si
loop s
mov...
分类:
其他好文 时间:
2014-07-24 10:42:58
阅读次数:
235
因为到公司做新的项目,把eclipse,tomcat,Apache全部换成公司指定的版本。然后把各项东西配好搭建起,从SVN上down下项目以后,开始随便打开几个文件看。然后悲剧就发生了,十次打开有八次都直接报Unhandled event loop exception PermGen space的错误,尤其是打开xml,js的时候,或者多开两个文件就直接闪退,查error log就是permge...
分类:
系统相关 时间:
2014-07-24 10:26:34
阅读次数:
261
<?php $ltime=time()-86400*3; ?> {pc:get sql="select * FROM? v9_news where inputtime>$ltime order by id desc"? num="13" page="$page" return="data"} {loop $data $n $r} <li><a target="_blank" href=...
分类:
数据库 时间:
2014-07-22 00:15:35
阅读次数:
252
{pc:get sql="SELECT * FROM v9_news WHERE catid IN (61,62,63,64,65) order by id DESC" num="10"? return="data" } {loop $data $n $r} ?<LI><SPAN><a href="{$CATEGORYS[$r[catid]][url]}">[{$CATEGORYS...
分类:
其他好文 时间:
2014-07-21 14:08:55
阅读次数:
246
使用mount挂载ubuntu虚拟机所在的img文件的时候,执行: “sudo mount -o loop xxx.img /mnt/xxx”, 系统提示: “mount: you must specify the filesystem type” 加上”-t ext3″后仍然报错: mount? : wron...
分类:
其他好文 时间:
2014-07-21 10:27:09
阅读次数:
325