Video Solution(1)Video Framework and Frontend Solution
Convert to Standard mp4 format for HTML5
App ‘Free MP4 Converter'
Video Play JS Framework
Check the CDN Version for HTML5 video player
http://videojs.com/getting-started/
Place the index.html and video in the same directory
It works pretty well. I will try with nginx and try to see if it works great from remote server.
Mobile and Web Solution
Set up Latest NodeJS
> wget https://nodejs.org/dist/v6.9.1/node-v6.9.1.tar.gz
…snip...
> ./configure --prefix=/Users/carl/tool/node-v6.9.1
…snip...
We have the latest version on my MAC system
> node --version
v6.9.1
Check the Blog Example First, Set up the Server side
> git clone https://github.com/jackhutu/jackblog-api-express.git
Go to the directory
> npm install
> npm install -g gulp
> gulp serve
On my local, maybe my local 9000 is used, so I open the server settings in file
server/config/env/index.js and change the port number from 9000 to 9001
I start my local Redis
> bin/redis-server
I start my local mongodb
> mongod -f conf/mongodb.conf
Then I can start the express server and get the page
http://localhost:9001
Download and try this IDE
http://www.nodeclipse.org/
The reactJS version
> git clone https://github.com/jackhutu/jackblog-react.git
Since I change the server side to 9001, so I update the config on the client in src/config.js
Visit page
http://localhost:3000/
Still need angularJS2 and ionic2
https://github.com/jackhutu/jackblog-ionic2
https://github.com/jackhutu/jackblog-angular2
https://github.com/jackhutu/jackblog-admin
ionic UI
http://sillycat.iteye.com/blog/2284701 Installation
http://sillycat.iteye.com/blog/2285319 Installation and TypeScript
http://sillycat.iteye.com/blog/2285543 TypeScript
http://sillycat.iteye.com/blog/2285848 project structure
http://sillycat.iteye.com/blog/2342392 Options to start backend and front end development
Python framework
For high volume traffic, a non-blocking framework like Tornado is a good choice. For CMS-type systems (or if you're happy with the routing/templating/database stack that's built in by default) Django is easy to get going with, while Pylons (now Pyramid) provides more flexibility. CherryPy offers a simpler approach for relatively small projects.
public class HttpClientUtils
{
public static CloseableHttpClient createSSLClientDefault(CookieStore cookies){
SSLContext sslContext=null;
try
{
sslContext=new SSLContextBuilder().l
对于JAVA的join,JDK 是这样说的:join public final void join (long millis )throws InterruptedException Waits at most millis milliseconds for this thread to die. A timeout of 0 means t
在网站项目中,没必要把公用的函数写成一个工具类,有时候面向过程其实更方便。 在入口文件index.php里添加 require_once('protected/function.php'); 即可对其引用,成为公用的函数集合。 function.php如下:
<?php /** * This is the shortcut to D
这篇日志是我写的第三次了 前两次都发布失败!郁闷极了!
由于在web开发中常常用到这一部分所以在此记录一下,呵呵,就到备忘录了!
我对于登录信息时使用session存储的,所以我这里是通过实现HttpSessionAttributeListener这个接口完成的。
1、实现接口类,在web.xml文件中配置监听类,从而可以使该类完成其工作。
public class Ses
Spring Boot 1.3.0.M1于6.12日发布,现在可以从Spring milestone repository下载。这个版本是基于Spring Framework 4.2.0.RC1,并在Spring Boot 1.2之上提供了大量的新特性improvements and new features。主要包含以下:
1.提供一个新的sprin