- 博客(5)
- 收藏
- 关注
原创 php获取天气
public function getWeather() { //方法1: $url = 'http://wthrcdn.etouch.cn/weather_mini?city=北京'; $html = file_get_contents($url); echo gzdecode($html); // 方法2
2017-05-23 09:14:48 2291
原创 spring-boot 打包成war包
pom.xml文件<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/
2017-05-18 16:41:44 1313
原创 apache2.2配置tomcat的配置文件
http.conf//配置多个域名必须取消注释下面这行NameVirtualHost *:80<VirtualHost *:80>ServerAdmin nupa@www.qqqq.comDocumentRoot /home/www/nupaServerName www.qqqq.com#ProxyPass / http://localhost:8081/#ProxyPassRevers
2017-05-18 16:34:11 1093
原创 java list随机抽取元素
/** * 从list中随机抽取元素 * * @param list * @param n * @return void * @throws * @Title: createRandomList * @Description: TODO */ private static List createRand
2017-05-17 11:22:02 21459 2
原创 php Internal Server Error 修改服务器配置文件
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@localhost and inform them o
2017-05-09 22:41:34 1233
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人