Most tutorials online have suggested the way to fire commands inside QT interfaces launched n Maya (via cmds.loadUi – not involving pyQT) is to add a ...
分类:
其他好文 时间:
2014-07-07 12:19:38
阅读次数:
194
nagios监控Linux/windows常用配置,以snmp、nrpe实现1#'process-host-perfdata'commanddefinition2definecommand{3command_nameprocess-host-perfdata4#command_line/usr/bi...
分类:
移动开发 时间:
2014-07-07 10:35:03
阅读次数:
369
Windows多文档窗口编程中,需要注意的以下几点:1、主窗口与文档窗口之间还有一个Client Window。2、创建文档窗口。通常认为创建子窗口就用CreateWindow,但是MDI中创建文档窗口时,用的是发送消息的方式。具体的CreateWindow的工作由Client Window来完成。...
2014年第一个脚本,哈哈!!! expect实现远程主机自动执行命令脚本:#!/usr/bin/expect --if { [llength $argv] < 4 } { puts "Usage: $argv0 ip user passwd port commands timeout" exit ...
分类:
其他好文 时间:
2014-07-06 16:23:01
阅读次数:
341
//题目:输入两个正整数m和n,求其最大公约数和最小公倍数。 package com.mumu.ready;import java.util.Scanner;public class Multiple { public static void main(String[] args) { Scann....
分类:
其他好文 时间:
2014-07-05 19:18:33
阅读次数:
229
Publishing failed with multiple errors在使用eclipse发布项目时不能自动生成class文件,且无法启动调试的Tomcat服务。启动过程提示 以上 异常解决方案:刷新工程即可问题产生原因:使用了 转码工具对代码进行格式转换,后启动就提起Publishing f...
分类:
其他好文 时间:
2014-07-05 18:38:23
阅读次数:
239
UVA 11246 - K-Multiple Free set
题目链接
题意:一个{1..n}的集合,求一个子集合,使得元素个数最多,并且不存在有两个元素x1 * k = x2,求出最多的元素个数是多少
思路:推理一下,
一开始n个
先要删除k倍的,删除为{k, 2k, 3k, 4k, 5k, 6k...},会删掉多余的k^2,因此在加回k^2倍的数
然后现在集合中会出现...
分类:
其他好文 时间:
2014-07-05 10:54:51
阅读次数:
206
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-07-03 23:51:47
阅读次数:
408
/bin,/sbin,/usr/bin,/usr/sbin区别/ : this is root directory root 用户根目录/bin : commands in this dir are all system installed user commands 系统的一些指令/sbin: c...
分类:
系统相关 时间:
2014-07-03 06:29:10
阅读次数:
223
1. 属性列表: SelectionMode 组件中条目的选择类型,即多选(Multiple)、单选(Single) Rows 列表框中显示总共多少行 Selected 检測条目是否被选中 SelectedItem 返回的类型是ListItem,获得列表框中被选择的条目 Count 列表框中条目的总...
分类:
其他好文 时间:
2014-07-02 14:14:41
阅读次数:
183