码迷,mamicode.com
首页 >  
搜索关键字:sys    ( 20866个结果
SpecialFolder
privatevoidbutton1_Click(objectsender,EventArgse){Environment.SpecialFolderspecialFolder1=Environment.SpecialFolder.DesktopDirectory;textBox1.Text=Sys...
分类:其他好文   时间:2014-06-18 21:24:58    阅读次数:302
sys.argv用法
argv是在脚本内部使用,旨在接受命令传参比如,一个脚本argv.py,代码里面有,sys.argv[1],,sys.argv[2],那么运行这个脚本时,必须在后面跟两个参数,用空格隔开,如:python argv.py hello world 示例如下:首先编辑脚本 argv.py#coding:...
分类:其他好文   时间:2014-06-18 14:35:13    阅读次数:191
asp.net ef5 left join 的实现
最近在网上查找了很多的ef5实现left join的方法,很遗憾没有找到满意的结果,经过自己的研究终于发现了点眉目,所以分享一下 EF5: var x = ef.SYS_MODULE.GroupJoin(ef.SYS_ROLEMODULES, m => m.MKID, n => n.MKID, (w, c) => new { A = c, v = w }); 说明:上...
分类:Web程序   时间:2014-06-18 12:16:35    阅读次数:283
import上一级目录的模块(转)
python中,import module会去sys.path搜索,sys.path是个列表,并且我们可以动态修改。要import某个目录的module,我们sys.path.insert(0,somedir)来加入搜索路径,就可以import了。既然这样,要import上一级目录的module,可...
分类:其他好文   时间:2014-06-18 09:37:57    阅读次数:164
慶祝貼
Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: PageRequestManager 不可初始化一次以上。找了半天,原來是他出問題了,或許是和BootStrap衝突了!!!
分类:其他好文   时间:2014-06-17 23:52:56    阅读次数:529
kernel/printk.c
/** linux/kernel/printk.c** Copyright (C) 1991, 1992 Linus Torvalds** Modified to make sys_syslog() more flexible: added commands to* return the last ...
分类:其他好文   时间:2014-06-17 21:10:57    阅读次数:275
sys_refcursor的用法实例
--创建过程,参数为sys_refcursor,为out型 create or replace procedure aabbsys_refcursor(o out sys_refcursor) is begin open o for select * from basplumain; end; --- --测试过程,使用aabbsys_refcursor传出的值 create or repla...
分类:其他好文   时间:2014-06-17 16:04:12    阅读次数:180
Python 实现摄像头功能
正确的程序如下所示: #! /usr/bin/env python # -*- coding: utf-8 -*-   from VideoCapture import Device import time import sys,pygame   pygame.init()   size = width,height = 620,485 speed = [2,2] blac...
分类:编程语言   时间:2014-06-16 23:10:24    阅读次数:568
写文件的流程
许多文件系统都是通过generic_file_write()函数来实现文件对象的write方法,即write(库函数)->sys_write()->generic_file_write(): ssize_t generic_file_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos)...
分类:其他好文   时间:2014-06-16 22:47:52    阅读次数:203
ping命令扫描局域网内的主机
linux:禁pingvim/proc/sys/net/ipv4/icmp_echo_ignore_all0代表允许1代表禁止ping.sh#!/bin/bash foriin{2..5}; do host=122.152.172.$i ping-c2$host>/dev/null if[$?=0] then echo"122.152.172.$iisconnected" else echo"122.152.172.$iisnotconnected" fi done显示结果..
分类:其他好文   时间:2014-06-16 15:37:33    阅读次数:235
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!