码迷,mamicode.com
首页 >  
搜索关键字:local time    ( 77187个结果
倒计时
Using UnityEngine;public class TimeDela:MonoBehavior{ float myScencons=0; public long time=100; void Updata(){ myScencons+=Time.deltaTime; if(myScenco...
分类:其他好文   时间:2014-05-16 04:38:42    阅读次数:235
配置nginx的图片服务器
user nginx; worker_processes 8;error_log /usr/local/webserver/nginx/logs/nginx_error.log crit;pid /usr/local/webserver/nginx/nginx.pid;#Spe...
分类:其他好文   时间:2014-05-15 14:24:31    阅读次数:313
NYOJ287
//#define LOCAL#include#include#include#includeint const MAX_N=1001;typedef struct Point{ double x,y; bool operatorVec[i].y) { ...
分类:其他好文   时间:2014-05-15 13:51:08    阅读次数:230
CF 27E Number With The Given Amount Of Divisors
A - Number With The Given Amount Of Divisors Time Limit:2000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit Status Description Given the number n, find the smallest...
分类:其他好文   时间:2014-05-15 13:31:36    阅读次数:343
Android4.2.2NDK和源码开发jni的异同
C/C++开发,在NDK和源码中输出Log信息的方法! NDK: 1、包含头文件 #include 2、Android.mk中包含库 LOCAL_LDLIBS += -L$(SYSROOT)/usr/lib -llog 上面这个一定要,不然出现error: undefined reference to '__android_log_print' LOCAL_SHARED_LIB...
分类:移动开发   时间:2014-05-15 13:03:34    阅读次数:358
pexpect练习实例--批量执行远程服务器上的指定脚本
经过几天的学习,pexpect模块对于linux下运维脚本编写属实有用,下面写个脚本检验下学习效果。#!/usr/bin/envpython #coding=utf-8 #远程执行服务器上的脚本 importsys,time,os,multiprocessing try: importpexpect exceptImportError: print""" Youmustinstallpexpectmodule "..
分类:其他好文   时间:2014-05-15 12:55:28    阅读次数:260
MySQL内存参数及调整
1.慢查询日志:slow_launch_time=2查询大于某个时间的值(单位:s)slow_query_log=on/off开启关闭慢查询日志slow_query_log_file=/opt/data/host-slow.log慢查询日志位置2.连接数:max_connectionsMySQL最大连接数back_log当连接数满了后,设置一个值,允许多少个连接进入等待堆..
分类:数据库   时间:2014-05-15 12:44:41    阅读次数:385
centos java安装
1、下载java:jdk-7u51-linux-x64.tar.gzhttp://www.kuaipan.cn/file/id_175485603436042793.htm?source=12、移动jdk-7u51-linux-x64.tar.gz到/usr/localtar-zxvfjdk-7u51-linux-x64.tar.gz3、设置环境变量vi/etc/profile加入以下代码exportJAVA_HOME=/usr/local/java/jdk1.7.0..
分类:编程语言   时间:2014-05-15 12:35:10    阅读次数:359
优化脚本
第一步vim/etc/sysctl.conf net.ipv4.tcp_keepalive_time=1800 net.ipv4.tcp_keepalive_probes=5 net.ipv4.tcp_keepalive_intvl=15 net.core.rmem_max=167772160 net.core.wmem_max=167772160 net.ipv4.tcp_rmem=409687380167772160 net.ipv4.tcp_wmem=409665536167772160 net...
分类:其他好文   时间:2014-05-15 12:32:43    阅读次数:248
计算公历
void GregorianDay(struct rtc_time * tm){ int leapsToDate; int lastYear; int day; int MonthOffset[] = { 0,31,59,90,120,151,181,212,243,273,304,334 }; l...
分类:其他好文   时间:2014-05-15 11:38:36    阅读次数:488
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!