调用函数: imrotate B = imrotate (A, angle) % A 是旋转的图像矩阵,angle是旋转角度,-45是顺时针 B = imrotate (A, angle,method) % method是插值的方法(如,nearest,bilinear,bicubic。注意:要打单 ...
分类:
其他好文 时间:
2017-06-28 19:03:27
阅读次数:
236
1. 用命令创建cordova项目 cordova coreate hello com.example.hello hello 2.打开MainActivity 在onCreate方法中加入 3. main_activity文件如下: SystemWebView是一个扩展的webview 4. 重新 ...
分类:
移动开发 时间:
2017-06-28 11:50:49
阅读次数:
164
jquery.dataTables.css ...
分类:
其他好文 时间:
2017-06-27 10:04:48
阅读次数:
630
今天写代码的时候,有一个类的数据始终不能插入,老是提示在You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax ...
分类:
数据库 时间:
2017-06-26 23:49:20
阅读次数:
227
LYOI#303. 「2017 山东一轮集训 Day1」Sum 求有多少 n 位十进制数是 p 的倍数且每位之和小于等于? i (0 <= i <= m),允许前导 0,答案对 998244353取模。 想法:先来个大暴力:$F[i][j][k]$表示i位,模p为j,各位之和为k的个数。转移:$F[ ...
分类:
其他好文 时间:
2017-06-26 21:15:52
阅读次数:
240
1 div{ 2 background: pink; /*不支持渐变色的浏览器*/ 3 background: -webkit-gradient(linear,0 0,0 100%,from(red) ,to(blue)); 4 background: -moz-linear-gradient(to ...
分类:
其他好文 时间:
2017-06-26 19:09:08
阅读次数:
117
在ViewPager这样的能够滑动的控件上,总是有非常多的文章能够做。上次的文章。我们实现了一个自己定义的ViewPager的指示器。这篇文章,我们主要是想利用Android自带的控件,实现一个指示器,这个控件,就是support-v4包里面的PagerTabStrip控件。 首先,我们先看一下实现 ...
分类:
移动开发 时间:
2017-06-26 16:09:03
阅读次数:
280
我有这么一段代码,我使用的是VS2010IDE,直接编译Release模式,开O2,谁能猜到编译器怎么给我编的 先猜猜看,猜不到的往下看 1 ; __int64 Initialize(void) 2 ?Initialize@@YAHXZ proc near ; CODE XREF: DllMain+ ...
分类:
其他好文 时间:
2017-06-24 10:04:16
阅读次数:
204
在Xshell5中编写int main(int argc,char** argv)时, 出现-bash:syntax error near unexpected token '(' ; 可是我是按照Linux语句编写的,其他代码没有出错; 检查发现, Xshell5对应的Linux版本是Linux5 ...
分类:
其他好文 时间:
2017-06-23 16:24:34
阅读次数:
281
MainActivity package www.wulian1.com.webview; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.webkit.WebView ...
分类:
Web程序 时间:
2017-06-22 22:56:46
阅读次数:
238