OAuth 2.0详细解析

问题说明 为什么要研究这个OAuth呢?主要是要解决授权的问题。 转载请注明出处:http://www.haomou.net/2014/08/19/2014_oauth/ OAuth 2.0... Read More | Share it now!

Access-Control-Allow-Origin 浏览器js跨域问题

XMLHttpRequest cannot load http://xxxx. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://yyyy’ is therefore not allowed... Read More | Share it now!

ionic Angular -> IOS/Android

http://ionicframework.com/getting-started/ https://github.com/ShiyangHuang/ionic-babythings   Adding new cordova plugin gives EACCES error #174 https://github.com/diegonetto/generator-ionic/issues/174 Error: spawn EACCES resolved by running... Read More | Share it now!

几种常见 容器 比较和分析 hashmap, map, vector, list …hash table

list支持快速的插入和删除,但是查找费时; vector支持快速的查找,但是插入费时。 map查找的时间复杂度是对数的,这几乎是最快的,hash也是对数的。 如果我自己写,我也会用二叉检索树,它在大部分情况下可以保证对数复杂度,最坏情况是常数复杂度,而std::map在任何情况下都可以保证对数复杂度,原因是它保证存诸结构是完全二叉检索树,但这会在存诸上牺牲一些时间。 STL  ... Read More | Share it now!

C++ map的基本操作和使用

  Map是c++的一个标准容器,她提供了很好一对一的关系,在一些程序中建立一个map可以起到事半功倍的效果,总结了一些map基本简单实用的操作! 1. map最基本的构造函数;   map<string , int... Read More | Share it now!

ios html Alamofire

https://github.com/Alamofire/Alamofire   Alamofire is an HTTP networking library written in Swift, from the creator of AFNetworking. Features Chainable Request / Response methods URL / JSON / plist Parameter Encoding Upload File / Data /... Read More | Share it now!

Google Map 事件

Google Map 事件包括:用户事件和MVC状态更改;实现Google Map事件需要为这些事件注册Javascript事件侦听器,并通过... Read More | Share it now!

Google maps on website for phone browser is too small

http://stackoverflow.com/questions/11147741/google-maps-on-website-for-phone-browser-is-too-small   Basically the article explores the difference between physical pixels and CSS “pixels”. There is a scale factor between the two. Its... Read More | Share it now!