首页 软件开发 代码片段 ( Page 649 )

代码片段 8064

#SQL
获取临时表的列名

create table #SomeTmpTbl ( col1 int, col2 varchar(20), col3 datetime ) GO select * from te…

sql
2014-11-25 612

#Objective-C
swift 100行代码实现的计算器

// // ViewController.swift // Calculator // // Created by purkylin on 14-6-19. // Copyrigh…

2014-11-25 566

#SQL
oracle 回收站管理

oracle10g,在pl/sql中选中删除后会出现类似:BIN$nJ5JuP9cQmqPaArFei384g==$0的表。 1.查看回收站 select * from user_…

sql
2014-11-25 793

#Objective-C
iOS设置tabBarItem.image图片渲染模式

self.tabBarItem.image=[[UIImage imageNamed:images[i]] imageWithRenderingMode:UIImageRender…

2014-11-25 830

#Shell
快速排序之Powershell

param ( $theArray = @() ) $global:counter = 0 # Swaps the array values at indexes $x and $…

2014-11-24 411

#Objective-C
高仿新浪微博表情键盘

/* * 键盘即将退下 */ -(void)keyboardWillHide{ //执行动画 [UIView animateWithDuration:_time animation…

2014-11-24 311

#Objective-C
iOS 8 如何实现获取当前定位信息

// // ViewController.m // LocationDemo // // Created by LaughingZhong on 14/11/12. // Copy…

2014-11-24 648

#Shell
Powershell 递归遍历目录下的文件内容

$fileList = Get-ChildItem 'D:\Services\' -recurse *.config | %{$_.FullName} Foreach($file …

2014-11-23 511

#Shell
自动scp(ssh信任外的另一种方法)

#!/usr/bin/expect set password yanfa set host 10.8.210.5 spawn scp index.html yanfa@$host:…

2014-11-23 861

#SQL
表格的横纵转

##############行转列-example 1 ,学生成绩############## #创建数据库表 CREATE TABLE StudentScores ( UserN…

sql
2014-11-23 536