一年前,在 Swift 推出不久后,我观察到许多 iOS 开发者仍然以 Objective-C 的开发习惯来写 Swift。而在我眼中,Swift 是一门全新的语言,有别于 Objective-C 的语法、设计哲学乃至发展潜力,因此我们更应探索出一条属于 Swift 独有风格的发展道路。我在之前的文 ...
分类:
其他好文 时间:
2017-12-27 14:03:38
阅读次数:
171
1、$.get $.get()方法使用GET方式来进行异步请求,它的语法结构为: $.get( url [, data] [, callback] ) 解释一下这个函数的各个参数: url:string类型,ajax请求的地址。 data:可选参数,object类型,发送至服务器的key/value ...
分类:
Web程序 时间:
2017-12-26 19:06:38
阅读次数:
175
We teach people how to remember, we never teach them how to grow. 我们教会人们如何记忆,却从来不教他们如何成长。 Without practising the knowledge we have learned from books ...
分类:
其他好文 时间:
2017-12-25 01:05:38
阅读次数:
165
一、PTA实验作业 题目1: 1. 本题PTA提交列表 2. 设计思路 3.代码截图 4.本题调试过程碰到问题及PTA提交列表情况说明 碰到的问题:最开始用冒泡法,排序反了 解决方法:改变冒泡法内层循环的判断条件,改为 小于时调换位置 if(p[j].sum include define maxn ...
分类:
编程语言 时间:
2017-12-24 17:28:12
阅读次数:
499
linux 文件属性与权限 原文:https://www.cnblogs.com/kzloser/articles/2673790.html https://www.cnblogs.com/danh/archive/2011/01/11/1932975.html 内容源于: 鸟哥的linux私房菜 ...
分类:
系统相关 时间:
2017-12-24 13:45:16
阅读次数:
212
hellohellohellohello hellohellohellohello hellohellohellohello hellohellohello print 'world'print 'world'print 'world'print 'world' print 'world'print ...
分类:
其他好文 时间:
2017-12-23 17:22:18
阅读次数:
82
原文地址:http://blog.csdn.net/xyzqiang/article/details/6577831 SQL Server 日期的加减函数: DATEDIFF DATEADDDATEDIFF: 返回跨两个指定日期的日期边界数和时间边界数, 语法:DATEDIFF ( datepart ...
分类:
其他好文 时间:
2017-12-17 13:17:32
阅读次数:
185
查看支持的文件系统:/lib/modules/内核版本/kernel/fscat /proc/filesystems热挂载的磁盘在不重启的情况下,是不可以使用lsblk看到的,可以使用以下命令扫描发现#echo '- - -' > /sys/class/scsi_host/host2/scan可以看分区前512字节数hexdump -C -n 512 /dev/sda备份指定
分类:
其他好文 时间:
2017-12-15 22:42:12
阅读次数:
477