数据库结构:createtablestuTPC(idvarchar(32),namevarchar(32),cardnumvarchar(32));createtableteacherTPC(idvarchar(32),namevarchar(32),salarydouble);Hibernate.cfg.xml
系统 2019-08-12 09:29:39 3009
开启mysqlbin-log================================================================================[mysqld]binlog_cache_size=1Mlog-bin=mysql-bin#默认该文件是存储在datadir中log_bin_trust_function_creators=1binlog_format=mixedbinlog-ignore-db=mysq
系统 2019-08-12 01:55:22 3009
1usingSystem;2usingSystem.Data.SqlClient;3usingSystem.Data;4usingSystem.IO;56namespaceNET.Common7{8///9///数据库操作帮助类10///11publicclassDatabaseHelper12{13privateconststringSQL_DATABASE_BACK="BACKUPDATABASE{0}TODISK
系统 2019-08-12 01:54:04 3009
WelcometotheRPMrepositoryonzid-lux1.uibk.ac.atWelcometotheRPMrepositoryonzid-lux1.uibk.ac.atrpm2htmlautomaticallygeneratesWebpagesdescribingasetofRPMpackages.TheRpmfindtoolallowsautomatethesearchofpackagesfromtheRPMDatabaseormaint
系统 2019-08-12 01:32:36 3009
SharedPreferences存储类效率分析SharedPreferences是Android平台上一个轻量级的存储类,主要是保存一些常用的配置比如窗口状态,一般在Activity中重载窗口状态onSaveInstanceState保存一般使用SharedPreferences完成,它提供了Android平台常规的Long长整形、Int整形、String字符串型的保存,它是什么样的处理方式呢?SharedPreferences类似过去Windows系统
系统 2019-08-29 23:28:21 3008
效果图:MainActivity.javaViewkeyboardView=LayoutInflater.from(this).inflate(R.layout.random_keyboard,null);Displaydisplay=getWindowManager().getDefaultDisplay();intheight=(int)getResources().getDimension(R.dimen.height);popupWindow=ne
系统 2019-08-29 23:04:25 3008
微软正式发布Silverlight4ToolsforVisualStudio2010和WCFRIAServices1.0,Silverlight4ToolsforVS2010正式版包括以下新特性:1.VS2010下完美支持Silverlight4项目视图设计;2.VS2010增加RIAService应用开发模板和类库,简化WCFRIAServices应用开发过程,通过RIAServices轻松存取数据源;3.支持Silverlight4高信任度应用和离线应
系统 2019-08-29 22:52:51 3008
系统环境:Ubuntu8.04MYSQLServerversion:5.0.51a-3ubuntu5(Ubuntu)以上是我的系统环境,随着工程开发的需要我们一般需要在mysql中添加一些非root帐户(testmysql)以方便自己的开发和测试。不过无意中我们发现了一个问题ERROR1045:Accessdeniedforuser:'testmysql@localhost'(Usingpassword:YES),新用户添加之后无法用预设的密码登录,而使用
系统 2019-08-29 22:07:25 3008
上传项目到github,回忆一下过程,下次忘记了,可以look一下。github已注册。一、1、newrespositories(创建一个仓库)此过程会输入代码库名和对代码库的description2、已经安装了git工具来到要上传的项目下,直接右键,选择“gitbash”,弹出黑框。3、接着就是初始化代码库,就会有一个隐藏.git文件夹,类似于.svngitinit4、初始化项目gitadd.提交所有gitaddtest.txt只提交test.txt文件
系统 2019-08-12 01:32:35 3008
C协程使用举例-sniperHW-博客园C协程使用举例本篇使用上一篇提供的接口,实现一个简单的协程调度框架.基本思想是,创建一个调度器,用于将处于活动状态的协程调度运行,调度器维护着一个actived列表,调用spawn创建协程时,将新建立的协程添加到活动列表中。调用schedule将启动调度器主循环.coro.h#ifndef_CORO_H#define_CORO_H#include#include"uthread.h"structc
系统 2019-08-12 01:31:58 3008