码迷,mamicode.com
首页 >  
搜索关键字:date shell    ( 54682个结果
mysql中 case when的使用
SELECT a.hsid, a.house_code, a.sale_date, a.pjid, COUNT( sdid ) AS num, b.hsid, b.pscid, b.hscode, b.hsarea1, b.hsrealarea1, b.hsusage, b.hsprice, b.h...
分类:数据库   时间:2014-05-23 11:18:50    阅读次数:397
java获取当前时间的方式【转】
1 import java.sql.Timestamp; 2 import java.text.ParsePosition; 3 import java.text.SimpleDateFormat; 4 import java.util.Date; 5 6 import com.tt...
分类:编程语言   时间:2014-05-23 10:15:18    阅读次数:998
shell 学习
$0就是该bash文件名$?是上一指令的返回值$*所有位置参数的内容:就是调用调用本bash shell的参数。$@基本上与上面相同。只不过是“$*”返回的是一个字符串,字符串中存在多外空格。“$@”返回多个字符串。http://blog.csdn.net/andy572633/article/de...
分类:其他好文   时间:2014-05-23 10:00:20    阅读次数:348
Oauth认证的时候报错:timestamp_refused
今天服务器大规模报错,大部分用户无法登陆,小部分可以登陆,很是奇怪。 查看log,调试代码,发现问题是在oauth认证的时候出了问题,报 timestamp_refused。 google了下,问了高手,问题定位在服务器的时间可能有问题 执行date,发现比其他服务器快了5分钟...
分类:其他好文   时间:2014-05-22 12:30:23    阅读次数:228
EventMachine 系列之简单的服务器
EventMachine 本文主要是 EventMachine如何建一个简单的Echo服务器post_init, unbind, receive_date 方法 EchoServer 如下代码,是建立一个简单的EchoServer #!/usr/bin/env rubyrequire 'rubygems'require 'eventmachine' class Ech...
分类:其他好文   时间:2014-05-22 11:14:26    阅读次数:181
linux shell 命令
linux shell 命令 什么是Shell? Shell 是连接操作系统内核 与 用户 的接口。 终端是shell的表现形式。 什么是Shell编程? Shell 脚本语言加上linux 命令语句就构成了shell程序。优点在于批量处理、不用用户每次手动输入。 bash是shell程序解释器的一种。   常用命令 pwd:print working directory,打印工...
分类:系统相关   时间:2014-05-22 10:39:17    阅读次数:442
12周 项目4
#include using namespace std; class Date { public: Date(int y=0,int m=0,int d=0); void SetDate(int y,int m,int d); void PrintDate(); protected: int year; int month; int day; }...
分类:其他好文   时间:2014-05-22 08:36:19    阅读次数:201
centos上设置时区
[root@localhost ~]# date -R // 查看时区 Mon, 19 May 2014 10:18:46 +0000 [root@localhost ~]# tzselect // 设置修改时区 Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean....
分类:其他好文   时间:2014-05-20 15:49:50    阅读次数:319
考试备忘
托业考试:您的注册信息已提交,系统为您自动生成http://registration.toeic.cn/toec01reg/ToeicCandidate/TC_SignIn.aspx登录账号:ETS0465684登录密码:经常用无@注册邮箱:经常用到的银行注册会计师编号:KCCBP6757889密码...
分类:其他好文   时间:2014-05-20 11:39:41    阅读次数:250
[Ubuntu] Autostart nginx, php-fpm and mysql in Ubuntu14.04
[nginx]Step 1Download the shell scriptwget https://raw.github.com/JasonGiedymin/nginx-init-ubuntu/master/nginx -O /etc/init.d/nginxStep 2chmod +x /etc...
分类:数据库   时间:2014-05-20 09:00:18    阅读次数:401
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!