/**mySql中是否能有SQLserver的@@error变量呢,或者如c#中的try catch语法呢。 答案是肯定的,实例代码如下:**/ Code DROP PROCEDU…
base_dir=$(cd "$(dirname "$0")";pwd)
/** * 可复用组件.用于编写可嵌套的 xib 组件. * * 适用场景: 需要静态确定布局的页面内的UI元素的复用性问题. * 使用方法: 在xib或storyboard中,将…
#coding:utf-8 import os #from glob import glob if os.name == 'nt': if 'HOMEPATH' in os.env…
require 'find' def fileWalk(path) Find.find(path) do |f| type = "File" if File.file?(f) ty…
SELECT CONCAT(sum(ROUND(((DATA_LENGTH + INDEX_LENGTH - DATA_FREE) / 1024 / 1024),2))," MB"…
select /*pspt_id为用户身份证号码*/ a.pspt_id /*判断用户身份证是否符合规则*/ ,case /*判断身份证号码是否为18位*/ when length…
netsh wlan set hostednetwork mode=allow ssid=mywifi key=12345678
select * from li.books where book_publish_date between '1-2月-2005' and '1-2月-2010'; select…
# -*- coding: cp936 -*- #jk409 于2014-8-27用python2.7编写的批量复制文件和修改虚拟机配置文件的脚本 import os,os.pat…
@CHARSET "UTF-8"; /*CSS technorati style pagination*/ /* CSS Document */ DIV.pagin { PADDI…
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/D…