首页 > 2016年12月13日 > 全部分享
Centos开机自动执行shell脚本启动tomcat服务器
有时候需要在Centos系统启动之后自动完成项目的启动,项目部署在tomcat中时,如果Centos关机后开机,各个项目也就已经被停掉了,然后需要自己一个一个的手动去开启各个项目对应的tomcat服务器,想想都比较麻烦,那么如何才能实现,当Centos启动之后,项目就自动也跟着启动了呢..
分类:系统服务   时间:2016-12-13 08:18:01    收藏:0  评论:0  赞:0  阅读:297
shell脚本练习(12.12)
写一个脚本,先创建文件夹,进入文件夹,然后利用循环在文件夹里创建连续的文件思路:1.创建指定文件夹,并进入该文件夹下2.指定一个变量值为0,让此变量做循环处理3.每循环一次创建一个文档一直到循环结束vimcreate.sh#!/bin/bash#writtenbylizheng#aboutcreatefilecd~mkdirte..
分类:系统服务   时间:2016-12-13 08:17:47    收藏:0  评论:0  赞:0  阅读:240
【Qt学习笔记】11.自定义控件 Customize the Widget
一、窗口绘制——基本方法自定义窗口:Qt里允许自定义窗口控件,使之满足特殊的要求:1、可以修改其显示,自行绘制2、可以呈现动态效果3、可以添加事件,支持鼠标和键盘操作自定义的控件可以直接在QtDesigner中使用,可以直接加到父窗口里。步骤:1、新建一个类,继承于QWidget..
分类:其他   时间:2016-12-13 08:17:18    收藏:0  评论:0  赞:0  阅读:362
AsyncTask机制详解
AsyncTask是Android提供的一个轻量级异步任务机制,使用AsyncTask可以方便的执行异步任务,并将结果更新到main thread。AsyncTask中是通过Handler机制来让wo...
分类:其他   时间:2016-12-13 08:15:55    收藏:0  评论:0  赞:0  阅读:274
五种常见表达句子间关系的词汇
托福口语句子之间的关系多种多样,常见的有:并列关系、因果关系、递进关系、转折关系和相互解释关系。 Women could and did play a part in this process of settlement. Iceland, for instance, was uninhabited ...
分类:其他   时间:2016-12-13 08:14:57    收藏:0  评论:0  赞:0  阅读:247
Leetcode: Repeated Substring Pattern
这道题应该没法用DP等解,只能brute force 或者 KMP(为深究) KMP解法未研究,https://discuss.leetcode.com/topic/67590/java-o-n ...
分类:其他   时间:2016-12-13 08:14:37    收藏:0  评论:0  赞:0  阅读:218
[CSS] Conditionally Apply Styles Using Feature Queries @supports
While browsers do a great job of ignoring styles they don’t understand, it can be useful to provide different sets of styles depending on a browser’s ...
分类:移动平台   时间:2016-12-13 08:14:17    收藏:0  评论:0  赞:0  阅读:328
SourceTree 跳过初始设置
SourceTree 安装之后需要使用账号登陆以授权,以前是可以不登陆的,但是现在是强制登陆。 虽然是免费授权,但是碰上不可抗力因素,登陆不是很方便,这里记录一下跳过这个初始化的步骤。 安装之后,转到用户本地文件夹下的 SourceTree 目录,没有则新建 新建 accounts.json 文件 ...
分类:其他   时间:2016-12-13 08:13:59    收藏:0  评论:0  赞:1  阅读:490
如何用命令将本地项目上传到git
1、(先进入项目文件夹)通过命令 git init 把这个目录变成git可以管理的仓库 2、把文件添加到版本库中,使用命令 git add .添加到暂存区里面去,不要忘记后面的小数点“.”,意为添加文件夹下的所有文件 3、用命令 git commit告诉Git,把文件提交到仓库。引号内为提交说明 4 ...
分类:Web开发   时间:2016-12-13 08:13:38    收藏:0  评论:0  赞:0  阅读:278
Leetcode 160. Intersection of two linked lists
Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin to in ...
分类:其他   时间:2016-12-13 08:13:18    收藏:0  评论:0  赞:0  阅读:181
Leetcode #1. Two Sum
key: build and search Hash table. following up questions: Overflow value for target? 用Hash table记录之间的状态,思想类似DP def twoSum(nums, target): d = {} n = le... ...
分类:其他   时间:2016-12-13 08:12:58    收藏:0  评论:0  赞:0  阅读:209
Leetcode #167. Two Sum II - Input array is sorted
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:其他   时间:2016-12-13 08:12:41    收藏:0  评论:0  赞:0  阅读:170
瞎搞ng-bind-html和ng-bind实现
声明:这里纯属学习,瞎搞,真正的实现原理并非如此 demo.html html/tpl01.html html/tpl02.html 下期预告:瞎搞react:ReactDom.render() ...
分类:Web开发   时间:2016-12-13 08:11:43    收藏:0  评论:0  赞:0  阅读:315
[JS Compose] Enforce a null check with composable code branching using Either
We define the Either type and see how it works. Then try it out to enforce a null check and branch our code. Now, we try to make Box more useful. We w ...
分类:Web开发   时间:2016-12-13 08:11:26    收藏:0  评论:0  赞:0  阅读:223
python3--内置函数
# Auther: Aaron Fanprint(abs(-10)) #取绝对值print(all([0,'a',3])) #如果参数中有一个不为真,就返回False。(非0即真)print(any([0,'a',3])) #如果参数中有一个为真,就返回True#返回一个可打印的对象字符串方式表示, ...
分类:编程语言   时间:2016-12-13 08:11:09    收藏:0  评论:0  赞:0  阅读:284
[环境搭建] VS-Visual Studio-IIS Express 支持局域网访问
使用Visual Studio开发Web网页的时候有这样的情况:想要在调试模式下让局域网的其他设备进行访问,以便进行测试。虽然可以部署到服务器中,但是却无法进行调试,就算是注入进程进行调试也是无法达到自己的需求;所以只能在Visual Studio-IIS Express 中进行调试。 而于此将会出 ...
分类:其他   时间:2016-12-13 08:10:46    收藏:0  评论:0  赞:0  阅读:189
Linux系统资源查看
以下Linux系统资源查看命令中,较常用的为vmstat 与 lsof vmstat [刷新延时 刷新次数] dmesg 内核自检信息 free 查看内存 cat /proc/cpuinfo 查看CPU信息 uptime 查看系统启动时间与平均负载 uname [option] options: - ...
分类:系统服务   时间:2016-12-13 08:10:22    收藏:0  评论:0  赞:0  阅读:544
JS动态生成<style>
var nod = document.createElement(“style”), str = “body{background:#000;color:#fff} a{color:#fff;text-decoration:none;} a:hover{color:red;text-decorati... ...
分类:Web开发   时间:2016-12-13 08:10:07    收藏:0  评论:0  赞:0  阅读:251
结构化方法与面向对象方法之应用比较
使用过C语言和Java 的朋友们都知道,这两种语言在编写程序中有着很大的不同。这种不同不仅是语法上面的不同,更是考虑问题角度上的不同。C语言强调解决问题的过程,Java强调描述问题中的对象的属性,二者各有优劣。编写小程序的时候,我们需要根据自己的需求来选择适当的开发方式,编写软件的时候更是如此。在软 ...
分类:其他   时间:2016-12-13 08:09:48    收藏:0  评论:0  赞:0  阅读:240
python3--匿名函数
# Auther: Aaron Fan# 变量是存储着一堆数据的门牌号# 函数是存储着一堆逻辑的门牌号(其实这些逻辑底层也都是一数据的方式存储的)# 匿名函数,就是一个没有门牌号的函数# 正常函数:def sayhi(n): print(n)#调用sayhi(3)#把上面这个些能匿名函数lambda ...
分类:编程语言   时间:2016-12-13 08:09:34    收藏:0  评论:0  赞:0  阅读:281
967条   上一页 1 ... 29 30 31 32 33 ... 49 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!