摘要: /* * Sample program to use PC/SC API. * * MUSCLE SmartCard Development ( http://www.linuxnet.com ) * * Copyright (C) 2003-2011 * Ludovic Rousseau <ludovic.rousseau@free.fr> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public L 阅读全文
posted @ 2013-05-30 17:02 Bigben 阅读(4352) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/CaesarZou/article/details/7999624因为PC/SC是Windows的体系,以系统API的层面服务应用。所以一直以来智能卡相关的读卡器和工具都集中在Windows上,而在unix体系下则一直水土不服。值得庆幸的是随着开源组织M.U.S.C.L.E (Movment for the Use of Smart in Linux Environment)的积极努力下,pcsclite作为Xnix下的PC/SC设备框架和应用接口已经成为了事实上的标准,Mac的Lion系统更是已经在发行版里面集成了此服务。下面以ubuntu 12.0 阅读全文
posted @ 2013-05-30 15:44 Bigben 阅读(1611) 评论(0) 推荐(0)
摘要: 将日期截断到天。 truncate to dayConversion ExamplesTypical conversion examples:Oracle MySQL1 TRUNC(SYSDATE) DATE_DATE(SYSDATE())2 TRUNC(SYSDATE, 'DD') DATE(SY 阅读全文
posted @ 2013-05-30 10:31 Bigben 阅读(508) 评论(1) 推荐(0)
摘要: 默认情况下你自已添加的或自动添加到启动菜单的软件会在所有桌面环境下启动。你有没有想过让某个应用在特定桌面环境下自动启动呢?如Mailnag是一个GNOME Shell mail notifier,如果你在Unity使用,提醒会一个很丑的对话框。本文将介绍如何让应用只在特定桌面环境下自动启动,如Gnome,Unity,KDE。通过本文的方法您可又让Mailnag只当你登入Gnome时才自动启动。您需要编译自动启动.desktop文件,一般在~/.config/autostart或/etc/xdg/autostart。添加OnlyShowIn=GNOME;或OnlyShowIn=Unity;如果想 阅读全文
posted @ 2013-05-30 10:29 Bigben 阅读(825) 评论(0) 推荐(0)
摘要: expect 阅读全文
posted @ 2013-05-30 10:21 Bigben 阅读(1120) 评论(0) 推荐(1)