Wider Github and Zhihu
The main div for GitHub and Zhihu is too narrow, which makes my high-resolution screen not that useful. In this case, I update some exiting stylish script to improve.
The main div for GitHub and Zhihu is too narrow, which makes my high-resolution screen not that useful. In this case, I update some exiting stylish script to improve.
之前博客一直以纯静态的方式托管在GitHub Page里面(是基于Hexo的),遗憾的是 百度蜘蛛频繁乱爬,导致GitHub对它采取了屏蔽。(参考:解决 Github Pages 禁止百度爬虫的方法与可行性分析)另外这篇文章末尾给出了一个解决该问题的可行方法,但是我个人没有试。 GitHub Page虽然支持自定义域名,但是对https支持的不好(这是一个次要的理由)。
工作之前的时候,做任何web项目,我都会选择用PHP,简洁,快速,有时候很赞同PHP是世界上最好的语言,但是有些时候还是不如Java来的利索。可惜的是Java“不支持”热部署(至少在生产环境下不建议热部署), 导致每次部署都会有一段服务下线的时间(更糟糕的是用户的session也会随之丢失,最最糟糕的时候,每次部署,有时候还不得不重启一下Tomcat)。
As a newcomer, I find a lot of problems when I am using AngularJS. One problem is related to Ajax request. In jQuery, the server side can easy get the parameters, such as name: “John”. 1$.post( 'test.php', { name: 'John', time: '2pm' } );
This article is a brief introduction of how to use maven to deploy your website into tomcat7 [Ubuntu].
This is a quick start helloWorld demo of Laravel.
Recently, I am learning AngularJS, and I “believe” I have some progress, so that I cannot wait to puslish my work to the public. This is the repository for the AngularJS demo I write in GitHub. And I publish this work at this link: http://sbzhouhao.net/TodoApp-AngularJS-Firebase/#/todo, which is a static page hosted in GitHub Pages.
For JavaScript, I believe the most powerful function is Ajax. So I made a very very simple demo for AngularJS as learner.
This post is related to how to make a responsive table into a List view when the browser width is pretty small. Table collapses into a “list” on small screens. Headers are pulled from data attributes. You can find the origin post here: http://codepen.io/geoffyuen/pen/FCBEg. And you can download the ZIP package with this link: http://codepen.io/geoffyuen/share/zip/FCBEg/
This post will tell you how detect IE and its version. Refer: http://stackoverflow.com/questions/10964966/detect-ie-version-in-javascript
I have tried almost every browser, and my favorite one is Google Chrome: Fast Easy to sync everything I need Easy for web developing … more … But this is not the execuse that I can never care about IE. In my daily life, I have many web related projects. Even I use Chrome, I must care for the users who use IE to visit my works.