上一页 1 2 3 4 5 6 7 8 9 ··· 34 下一页
摘要: 1、概述 评论功能已经成为APP和网站开发中的必备功能。本文主要介绍评论功能的数据库设计。 评论功能最主要的是发表评论和回复评论(删除功能在后台)。评论功能的拓展功能体现有以下几方面: (1)单篇文章的评论数量和信息展示; (2)从时间维度,按照时间倒叙的方式展示动态的用户评论信息; (3)不同栏目 阅读全文
posted @ 2018-08-22 16:58 何石-博客 阅读(7307) 评论(3) 推荐(3) 编辑
摘要: 主配置文件: cat /etc/nginx/nginx.conf# For more information on configuration, see:# * Official English Documentation: http://nginx.org/en/docs/# * Official 阅读全文
posted @ 2018-07-31 14:19 何石-博客 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 第一步:登录git服务器; 第二步:切换到git用户 su git 第三步:登录GitLab的Rails控制台(GitLab使用RoR语言开发), gitlab-rails console production 第四步:接下来使用user = User.where(id: 1).first,定位到i 阅读全文
posted @ 2018-05-14 10:15 何石-博客 阅读(12762) 评论(0) 推荐(0) 编辑
摘要: 一、启用gzip 1 gzip on; 2 gzip_min_length 1k; 3 gzip_buffers 4 16k; 4 gzip_http_version 1.1; 5 gzip_comp_level 2; 6 gzip_types text/plain application/x-ja 阅读全文
posted @ 2018-05-11 14:32 何石-博客 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 近期由于在做一个关于视频播放的项目,需要使用程序自动获取视频文件的缩略图,特写此文供其他人参考,有不清楚之楚可以给我留言。 1、使用工具:ffmpeg, 官网下载地址:http://ffmpeg.org/download.html 我的电脑使用的是mac,安装也比较简单,参考下面的文章: http: 阅读全文
posted @ 2018-04-27 15:25 何石-博客 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 我的电脑同时使用两个jdk版本,默认1.7,eclipse使用的是1.8,,由于项目启动时有加载类需要jdk1.8的包,1.7不支持。所以导致项目在eclipse直接能够跑,而在外面的tomcat跑是就出现startup failed due to previous errors的错误. 但是这样的 阅读全文
posted @ 2018-04-03 12:46 何石-博客 阅读(13492) 评论(0) 推荐(0) 编辑
摘要: 一 linux服务器性能查看 1.1 cpu性能查看 1、查看物理cpu个数: cat /proc/cpuinfo |grep "physical id"|sort|uniq|wc -l 2、查看每个物理cpu中的core个数: cat /proc/cpuinfo |grep "cpu cores" 阅读全文
posted @ 2018-03-28 13:25 何石-博客 阅读(1986) 评论(0) 推荐(1) 编辑
摘要: 原文地址:http://blog.csdn.net/williamhappy/article/details/54376855 原文地址:http://blog.csdn.net/williamhappy/article/details/54376855 原文地址:http://blog.csdn. 阅读全文
posted @ 2018-03-07 12:05 何石-博客 阅读(1612) 评论(0) 推荐(0) 编辑
摘要: /** _ooOoo_ o8888888o 88" . "88 (| -_- |) O\ = /O ____/` '\____ .' \\| |// `. / \\||| : |||// \ / _||||| -:- |||||- \ | | \\\ - /// | | | \_| ''\ /'' 阅读全文
posted @ 2018-03-07 10:20 何石-博客 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 配置时注意红色部分 server { listen 8888 default_server; #listen [::]:80 default_server; server_name _; root /usr/share/nginx/html; # Load configuration files f 阅读全文
posted @ 2017-12-08 18:41 何石-博客 阅读(1293) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 34 下一页