会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
SKY_VIEW
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2016年2月5日
phpstorm 配置 babel 支持EcmaScript6
摘要: 1.安装nodejs 2.npm install --save-dev babel-cli 3.npm install babel-preset-es2015 --save-dev 4.phpstorm->settings->language&framework->javascript->ecmaS
阅读全文
posted @ 2016-02-05 17:36 SKY_VIEW
阅读(2563)
评论(0)
推荐(0)
2016年1月30日
bootstrap学习
摘要: 1. bootstrap使用了less作为预编译器,他是结构清晰层次分明的css页面构建样式,即使你不喜欢bootstrap的样式,你仍然可以借鉴bootstrap编写css的这种方式 2.bootstrap中的popover tooltip都有selector的选项对此使用不是很明确, 他是用一个
阅读全文
posted @ 2016-01-30 11:00 SKY_VIEW
阅读(171)
评论(0)
推荐(0)
2016年1月24日
移动web
摘要: 1.分辨率 1900*1200这就是一个分辨率, 因为pt的存在,因此还会有一个逻辑分辨率的概念2.ppi = pixels per inch这里inch不是平方英尺,是英尺3.dp = device pixel 物理像素4.px = pixel 逻辑像素5.pt = point 1pt = 2px...
阅读全文
posted @ 2016-01-24 22:30 SKY_VIEW
阅读(173)
评论(0)
推荐(0)
2016年1月22日
cps变换
摘要: 网上看了很多内容,很少有给出一个准确的概念,它的英文全称是continuous passing style, 直译为连续传递样式,那么cps transform就是将一些原本不是continuous passing style代码变成cps代码,这是一种编译器的优化方式,当然你也可以手动来实现这种变...
阅读全文
posted @ 2016-01-22 17:47 SKY_VIEW
阅读(703)
评论(0)
推荐(0)
2016年1月19日
ueditor调用其中的附件上传功能
摘要: ueditor实际上是集成了webuploader, 在做内容发布的时候想既有ueditor又有单独的附件上传按钮,这时再加载一个webuploader就显得过于臃肿了,单独利用ueditor的上传功能就比较合适了 首先是显示附件上传dialog,两种方式 dialog = ue.ui._dialo
阅读全文
posted @ 2016-01-19 10:08 SKY_VIEW
阅读(3190)
评论(0)
推荐(0)
2016年1月8日
php7 编译安装 apache
摘要: http://blog.csdn.net/21aspnet/article/details/47708763 根据此教程的步骤但是碰到了若干问题 1. 执行./configure的时候报错 大部分可以通过 yum instal libxxx-devel来解决 libcurl-devel.x86_64
阅读全文
posted @ 2016-01-08 13:15 SKY_VIEW
阅读(3089)
评论(0)
推荐(0)
2016年1月4日
快速排序单循环
摘要: void quickSort(int(&arr)[BUFSIZ],int start,int end){ int key=arr[start]; int p1=start; int p2=end; if(end=key && arr[p2]2){ ...
阅读全文
posted @ 2016-01-04 10:00 SKY_VIEW
阅读(658)
评论(0)
推荐(0)
2016年1月2日
插入排序
摘要: #include "stdafx.h"#include #include #include #include #include #include #include using namespace std;#define BUFSIZ 100int (&strToIntArr(string s,int...
阅读全文
posted @ 2016-01-02 21:17 SKY_VIEW
阅读(165)
评论(0)
推荐(0)
2015年9月28日
走进svg
摘要: 首先是viewbox的概念你最终在浏览器上看到的图像,并不是你通过svg元素中path 之类的元素所定义的图像,或者说你并不是直接看到图像,而是通过一个叫做viewbox的东西,通过viewbox在画布上截取一块区域,然后放到浏览器中svg元素的内容区域中显示,根据align和meetorslice...
阅读全文
posted @ 2015-09-28 14:08 SKY_VIEW
阅读(382)
评论(0)
推荐(0)
2015年6月8日
phpstorm内网远程debug
摘要: 家里用的是广电的网络,接了无线路由,在192.168.1.1里面配置了端口转发,将9001转发到192.168.1.101 ,然后在php.ini中相应的配置了xdebug, phpstorm 启动监听,结果失望了,我设置的断点没有任何反应,没有得到一丁点的调试信息,在看网络链接,phpstorm确...
阅读全文
posted @ 2015-06-08 15:00 SKY_VIEW
阅读(920)
评论(0)
推荐(0)
2015年5月27日
sass&compass&grunt
摘要: 1. compass compile path/to/project//编译scsscompass watch path/to/project//自动监视文件变化2.mixin @include @extend functionsmixin其实就相当于函数, 而且mixin支持参数和带有默认值的参数...
阅读全文
posted @ 2015-05-27 11:06 SKY_VIEW
阅读(175)
评论(0)
推荐(0)
2015年5月23日
centos7+nginx 1.9.0+php-fpm+phpstorm+xdebug+vmware开发环境搭建
摘要: 1.php-fpmyum install php-fpm默认配置在本地9000端口监听service php-fpm restart启动2.nginx 1.9.0需先安装gcc zlib openssl pcre(yum install 即可,注意版本可能需要devel版的)wgethttp://n...
阅读全文
posted @ 2015-05-23 17:06 SKY_VIEW
阅读(1366)
评论(0)
推荐(0)
2015年4月16日
git相关
摘要: 进入到想要用git管理的project目录下 1.git init 意即该目录会被git监视一切的变动 同时生成一个.git文件夹下面存放了管理该project的一切必要信息 2.git add <filename>,相应的文件会被git跟踪更改 3.git commit -m 'some comm
阅读全文
posted @ 2015-04-16 14:37 SKY_VIEW
阅读(375)
评论(0)
推荐(0)
2015年4月13日
生成目录树形结构
摘要: "; traverse($sub_dir, $x + 1, $y + 1); } else { for ($i = 0; $i "; } }}$countFile = 0;function traverse2($path,...
阅读全文
posted @ 2015-04-13 11:32 SKY_VIEW
阅读(665)
评论(0)
推荐(0)
2015年3月15日
css transform skew变换
摘要: 两个参数,x-保持纵坐标不变,所有点旋转逆时针旋转x度,y-横坐标不变所有点顺时针旋转y度
阅读全文
posted @ 2015-03-15 12:50 SKY_VIEW
阅读(181)
评论(0)
推荐(0)
2015年2月14日
validate
摘要: function ($var) {return ip2long($var);}, "email" => function ($var) {return filter_var($var, FILTER_VALIDATE_EMAIL);}, "username" => function ($var) ...
阅读全文
posted @ 2015-02-14 15:42 SKY_VIEW
阅读(203)
评论(0)
推荐(0)
php iquery
摘要: connect_error) { return false; } if (!is_array($sql)) { $res = $dbcon->query($sql); if ($res) { $arr = []; while ($item = $res->fetch_array()) ...
阅读全文
posted @ 2015-02-14 12:31 SKY_VIEW
阅读(233)
评论(0)
推荐(0)
2015年2月8日
关于前端架构的一些思考
摘要: 由于前端模版的变得日趋复杂,不得不把前端模版当作一个系统来看待,那么如何化整为零,以舒服自然的方式将前端的文件、组件等进行合理的抽象和划分,目前的想法大致如下前端的主要特点是大量的事件响应,少量的辅助函数,验证也是一个重要的组成部分,以消息类型分,过于分散,不易于理解,而且粒度过于粗放,因此可以否定...
阅读全文
posted @ 2015-02-08 09:34 SKY_VIEW
阅读(390)
评论(2)
推荐(0)
2015年1月17日
网站跨域请求的 办法
摘要: 1.修改nginx转发请求2.iframe src修改//这方法有问题3.script src修改//直接返回json对象是不行的,需要返回callback({sds:"asdfasd",asdf:"asdfe32"});callback是提前定义好的
阅读全文
posted @ 2015-01-17 14:03 SKY_VIEW
阅读(148)
评论(0)
推荐(0)
2015年1月14日
js 日期按年月日加减
摘要:
阅读全文
posted @ 2015-01-14 23:34 SKY_VIEW
阅读(1018)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告