安装nginx sudo apt-get install -y nginx 修改配置文件 vi /etc/nginx/nginx.conf #注释掉下面这行代码 #include /etc/nginx/sites-enabled/*; #保存 在/etc/nginx/conf.d目录下新建一个配置文 ...
分类:
系统相关 时间:
2018-11-18 18:12:31
阅读次数:
201
server { listen 80 default_server; location /{ root /path/html add_header Cache-Control max-age=864000 } location ^~ /service { proxy_pass http://... ...
分类:
编程语言 时间:
2018-06-08 23:19:38
阅读次数:
1037
private void getLocationCity(){ String serviceName = Context.LOCATION_SERVICE; locationManager = (LocationManager) getSystemService(serviceName); // S... ...
分类:
移动开发 时间:
2018-01-25 15:52:34
阅读次数:
188
var app = angular.module('Mywind',['ui.router']) //Angular 监听路由变化 function run($ionicPlatform, $location, Service, $rootScope, $stateParams) { //路由监听事 ...
分类:
其他好文 时间:
2018-01-23 21:17:28
阅读次数:
351
1.在spring-servlet.xml中配置 <!--业务类的配置--> <bean id="locationTaskService" class="com.location.service.LocationTaskServiceImpl"></bean> 2.添加获取bean的代码 Appli ...
分类:
编程语言 时间:
2017-07-25 10:32:00
阅读次数:
162
nginx根据目录反向代理到后端不同的服务器 server { listen 80; server_name demo.domain.com; #通过访问service二级目录来访问后台 location /service/ { #DemoBackend1后面的斜杠是一个关键,没有斜杠的话就会传递s ...
分类:
其他好文 时间:
2017-01-21 15:12:35
阅读次数:
196
LBS定位功能: 安卓系统提供 基于google map LocationManager locationManager = (LocationManager) getSystemService(LOCATION_SERVICE); locationManager.requestLocationUp ...
分类:
其他好文 时间:
2016-08-30 07:04:37
阅读次数:
194
取得定位数据 1.取得LocationManager private LocationManager mLocationManager; mLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);2 ...
分类:
其他好文 时间:
2016-06-19 18:17:16
阅读次数:
228
$anchorscroll service is used to jump to a specified element on the page $location service hash method appends hash fragments to the URL $anchorscroll ...
分类:
Web程序 时间:
2016-04-27 00:16:11
阅读次数:
462
位置定位(Location)服务(Service)类的基本操作本文地址:http://blog.csdn.net/caroline_wendy定位服务(Location Service),能够确定移动设备的地址,在地图相关服务中。经常会使用GPS和移动相关的两种定位服务,GPS较为精准。依据经常使用...
分类:
移动开发 时间:
2015-12-22 10:25:21
阅读次数:
178