上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 第一次使用安装时的用户登陆后,想切换root用户 阅读全文
posted @ 2014-07-29 13:43 valentine is me 阅读(179) 评论(0) 推荐(0)
摘要: 1.因为Ubuntu比较乱,需要寻找DirectoryIndex存放在哪个配置文档中grep -iR DirectoryIndex /etc/apache2我这里提示三个路径存放,第三个为phpmyadmin,无关,进入前两个(任意一个皆可,改完其中一个另外一个自动更改)2.sudo vim /et... 阅读全文
posted @ 2014-07-24 14:01 valentine is me 阅读(1638) 评论(0) 推荐(0)
摘要: http://doc.thinkphp.cn/manual/url_rewrite.html以上连接为框架手册提供的步骤,而Ubuntu下apache环境与windows及其它Linux有一定区别1.开启mod_rewrite.so模块使用sudo a2enmod,可配置模块管理,再输入rewrit... 阅读全文
posted @ 2014-07-24 12:45 valentine is me 阅读(424) 评论(0) 推荐(0)
摘要: 情况:Windows下网站直接拷贝至Ubuntu1.删除cache下的所有临时文件。(需保留Thinkphp Runtime下的文件结构,删除文件内容)2.提权,在Linux命令行输入 sudo chmod 777 -R /var/www 阅读全文
posted @ 2014-07-24 11:23 valentine is me 阅读(619) 评论(0) 推荐(0)
摘要: 页面布局与效果,变形和动画1.变形使用图片进行旋转、平移、倾斜以渐变效果 标签规定独立的流内容(图像、图表、照片、代码等等)。--> code by valentine 标签定义 figure 元素的标题(caption)。--> css#pic { margin-left:300px; margin-top:300px; transition:2s;/*2秒钟变形到最终效果*/}#pic:hover {/*光标悬停*/ transform:scale(2) translate(50px,100px) rotate(10deg... 阅读全文
posted @ 2013-07-23 19:47 valentine is me 阅读(198) 评论(0) 推荐(0)
摘要: 上次在布局中学习了Flexbox,这次学习Grid1.Grid基础 画出一个2*2的Grid,在CSS中控制Grid Simple Grid this is a simple 2*2 grid A B C D 四个div,包含四个字母,将他们布局在“田”字型内... 阅读全文
posted @ 2013-07-22 22:58 valentine is me 阅读(274) 评论(0) 推荐(0)
摘要: 上周拿到了MCTS-WPF,觉得XAML+C#终究有些危险,打算学学html5+CSS3+JS了,虽然以前学过,但没做过BS所以没用过。这次的目标是MCSD Developing Windows Store Applications With HTML51:Flexboxa.水平布局的Flexbox新建一个js的windows store 空项目,习惯性的先把dark样式改为light好看一些 Flexbox --> ... 阅读全文
posted @ 2013-07-18 21:37 valentine is me 阅读(269) 评论(0) 推荐(0)
摘要: 在《在WindowsPhone8中生成基于MVVM Light的LongListSelector导航事件》一文中,我们对LongListSelector绑定了相应命令、消息和数据,在运行程序时,发现一个问题:我们的命令绑定在了LongListSelector中,用来处理导航事件,这在一般情况下,即绑定的控件不为LongListSelector时,是非常完美的。但是对于LongListSelector,它还存在一个GroupHeader,即A\B\C\D.....这个标题,好,根据上个APP点击这些标题,杯具,bug:1.如果进入APP直接点击LongListSelector的GroupHead 阅读全文
posted @ 2013-05-20 22:24 valentine is me 阅读(318) 评论(0) 推荐(1)
摘要: 继续《在WindowsPhone8中生成基于MVVM Light的LongListSelector命令绑定》,在上一例中,获得了LongListSelector的值,下面利用MVVM Light的消息机制处理导航事件。1.创建一个类,命名为NavigationTo,可访问性改为public,包含两个属性:public class NavigationTo { public string PageName { get; set; } public string PageParameter { get; set; } }属性PageName为即将导航至的页面... 阅读全文
posted @ 2013-05-20 11:23 valentine is me 阅读(240) 评论(0) 推荐(1)
摘要: 继续《在WindowsPhone8中生成基于MVVM Light的LongListSelector拼音检索绑定》一文,项目不再引用上一个项目,但功能实现相同,我们已经对数据作了绑定,下面要携带参数传值导航至具体内容页:1.在引用中添加 xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLi 阅读全文
posted @ 2013-05-20 10:19 valentine is me 阅读(312) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 下一页