首页 > 新文章
  • 操作SQLite数据库 is a project mainly written in , based on the .  本文摘自:  http://docs.blackberry.com/en/developers/deliverables/25108/Creating_and_deleting_SQLite_databases_1219776_11.jsp   创建和删除 SQLite 数据库 您可以创建临时或永久数据库。 CREATE TAB...

  • Java的常用包 is a project mainly written in , based on the .java.applet: 包含一些用于创建Java小应用程序的类。运行于html页面中。java.awt :包含一些用于编写与平台无关的图形界面(GUI)应用程序的类。java.io:包含一些用作输入输出(I/O)处理的类。java.lang:包含一些Java语言的基本类与核心类,如String、Math、Integer、System...

  • 选择、分组、引用,指定匹配的位置 is a project mainly written in , based on the .正则表达式的语法还包括指定选择项,对子表达式分组和引用前一子表达式的特殊字符.字符| 用于分隔供选择的字符.例如: /ab|cd|ef/ 匹配的是字符串 "ab",或者是字符串 "cd",又或者 "ef". /d{3}|[a-z]{4}/ 匹配的是要么是一个三位数,要么是四个小写字母. 在正则表达式中括号具有几种作用: 1、它的主要...

  • ORACLE解决登陆em状态暂挂方法 is a project mainly written in , based on the .1、找到oracle安装目录中db_1/计算机名_orcl/sysman/config/emd.properties ,     用记事本打开emd.properties,在emd.properties文件 最后一行 的agentTZRegion=GMT改为 agentTZRegion=Asia/Chungking2、在dos 窗口输...

  • OpenGL学习笔记(1)——常用方法原型解释 is a project mainly written in , based on the .        1、初始化,设置背景色          void glClear(int mask)    清除缓存          实參含义:GL10.GL_COLOR_BUFFER_BIT 清除颜色缓存                        GL10.GL_DEPTH_BUFFER_BIT  清除深度缓存      ...

  • Selenium webdriver - 结束进程 is a project mainly written in , based on the .1 import org.openqa.selenium.WebDriver; 2 import org.openqa.selenium.firefox.FirefoxDriver; 3 import org.openqa.selenium.os.WindowsUtils; 4 /* 5 * 结束进程 6 */ 7...

  • 介绍两个非常好用的Javascript内存泄漏检测工具 is a project mainly written in , based on the .内存泄漏对开发者来说一般很难检测因为它们是由一些大量代码中的意外的错误引起的,但它在系统内存不足前并不影响程序的功能。这就是为什么会有人在很长时间的测试期中收集应用程序性能指标来测试性能。 最简单的检测内存泄漏的方式是用任务管理器检查内存使用情况。在Chrome浏览器的新选项卡中打开应用并查看内存使用量是不是越来越多。还有其他的调试工...

  • 用vs2010打开使用vs2013升级后的WP工程 is a project mainly written in , based on the .项目在win7+vs2010的环境中建立的,后来在win8.1+vs2013的环境下修改和完善: 但是所有功能实现后发现wp7项目在使用vs2013打开后因为单向升级的原因,项目只能被编译为wp8项目(win8.1+vs2013无法安装wp7的sdk,提示不兼容),此时编译生成的xap就只能用于wp8手机了, 通过下面的方法可以将项目...

  • CRichEdit小记 is a project mainly written in , based on the .使用前要AfxInitRichEdit2(); 修改背景颜色和字体颜色 CRichEditCtrl* p=(CRichEditCtrl*)GetDlgItem(IDC_RICHEDIT21);CHARFORMAT2 cf;memset((char*)&cf,0,sizeof(cf));COLORREF color;color...

  • Winform动态的文字效果 is a project mainly written in , based on the .效果图如下 private void Form1_Load(object sender, EventArgs e){Graphics Car_Paint = panel1.CreateGraphics();//实例化绘图对象string Car_Str = "青岛**软件公司";//定义要绘制的动态文字Character ch...

  • 设计模式:备忘录模式?? is a project mainly written in , based on the .定  义:在不破坏封装性的前提下,捕获一个对象的内部状态,并在该对象之外保存这个状态。            这样以后就可以将该对象恢复到原先保存的状态。 结构图: Originator(发起人):负责创建一个备忘录(Memento),用以记录当前时刻它的内部状态,并可以使用备忘录恢复内部状态。 Memnto(备忘录):负责存储Or...

  • 【T-SQL】基础——表别名 is a project mainly written in , based on the .Som有时候我们需要为表设置别名,这样就可以方便的修改表。 如果在SSMS中,可以点击 Query-> SQL CMD mode   --Set Alisa for the table:setvar tablename "[RetailDataWarehouse].[dbo].[FactUnit]" Select ExternalOr...

  • SQL Server2008附加数据库之后显示为只读 is a project mainly written in , based on the .SQL Server2008附加数据库之后显示为只读时解决方法 啰嗦的话就不多说了,直入主题吧! 方案一: 碰到这中情况一般是使用的sa账户登录的,只要改为Windows身份验证,再附加数据库即可搞定。 方案二: 使用sa登录SQL Server2008附加数据库,附加之后数据库为只读的,然后点数据库-->“属性”-->“选项”--...

  • WebService客户端添加SOAPHeader信息 is a project mainly written in , based on the .WebService客户端添加SOAPHeader信息 通过JAXBContext创建Marshaller对头信息进行解析为dom,获取WSBindingProvider,使用Headers.creat()创建soap的Header元素; 另外就是:将user转换为dom是为了不在有wsdl生成的LicenceInfo类中增...

  • Git fetch和git pull的区别 is a project mainly written in , based on the .原文:http://www.tech126.com/git-fetch-pull/ Git中从远程的分支获取最新的版本到本地有这样2个命令:1. git fetch:相当于是从远程获取最新版本到本地,不会自动merge     git fetch origin master git log -p master..origin/mast...

  • Hide the common top menu in Ubuntu 12.04 is a project mainly written in , based on the .隐藏:1、sudo apt-get autoremove appmenu-gtk appmenu-gtk3 appmenu-qt2、reboot恢复:1、sudo apt-get install appmenu-gtk appmenu-gtk3 appmenu-qt2、reboot 转载于:https://www.cnblogs....

  • Centoros 环境安装 is a project mainly written in , based on the .1. nginx  rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm  yun install nignx 2.php yum install php yum install php-f...

  • Js获取页面属性 is a project mainly written in , based on the .一些常用的页面属性获取: 网页可见区域宽:document.body.clientWidth; 网页可见区域高:document.body.clientHeight;    类似视口宽度   网页正文全文宽:document.body.scrollWidth; 网页正文全文高:document.body.scrollHeight;...

  • 对WEB前端的几段思考(一)——界面设计和性能优化(整理中) is a project mainly written in , based on the .    尽管我并非艺术出生,既没有任何设计基础,又没有较高艺术涵养,也深谙在短时间内创造一定艺术造诣并非易事,但是既然当初选择从事网站前端开发,我的目光不能仅停留在前端代码上。作为一名志向在前端领域发展的人员,能够创作出协调和谐的界面,和熟悉前后台交互一样重要。     为控制成本,在网站素材(婚纱摄影图片和网站文字)未准备好时,网站...

  • Bash shell 合并文件 is a project mainly written in , based on the .  # 按列合并文件paste file1 file2 file3 > file4# 要先 sort, 再 joinjoin -a 1 file1 file2   paste格式为:paste -d -s -file1 file2选项含义如下:-d 指定不同于空格或tab键的域分隔符。例如用@分隔域,使用 -d @。-s 将每个文...