码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
Centos7下删除virbr0网卡信息
说明:之前在CentOS7下配置过bridge,现在讲bridge模式改为普通模式后,查看网卡的时候还是可以看到很多垃圾信息,想彻底删除自己不想要的网卡配置信息,操作如下:[root@linux-node1~]#ipaddlist 1:lo:<LOOPBACK,UP,LOWER_UP>mtu65536qdiscnoqueuestateUNKNOWNqlen1 link..
分类:其他好文   时间:2017-03-09 15:56:30    阅读次数:198
path-sum
题目描述: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given ...
分类:其他好文   时间:2017-03-08 13:03:14    阅读次数:157
yii2 migration里使用Query的例子
use yii\db\Migration; class m170119_031753_add_list_id_index_on_user_list_table extends Migration { public function up() { $projectIds = (new \yii\db\... ...
分类:其他好文   时间:2017-03-08 12:56:43    阅读次数:118
前端知识---html
HTML HTML是英文Hyper Text Mark-up Language(超文本标记语言)的缩写,他是一种制作万维网页面标准语言(标记)。相当于定义统一的一套规则,大家都来遵守他,这样就可以让浏览器根据标记语言的规则去解释它。 浏览器负责将标签翻译成用户“看得懂”的格式,呈现给用户!(例:dj ...
分类:Web程序   时间:2017-03-08 12:29:49    阅读次数:539
laravel 执行migrate出现异常
今天在执行laravelmigrate时出现异常,找了好半天才找到问题所在,特此记录一下。配好数据库,执行```phpartisanmigrate```。但是遇到了问题:migrations中up函数为:publicfunctionup(){Schema::create(‘users‘,function(Blueprint$table){$table->increments(‘id‘);$table..
分类:其他好文   时间:2017-03-07 23:19:21    阅读次数:947
更新docker时间-需要重启docker
更新docker时间:1.docker run -d -v /etc/localtime:/etc/localtime:ro [IMAGE] 2.重启,docker-compose up -d 3.docker exec [container id] date ...
分类:其他好文   时间:2017-03-07 11:52:19    阅读次数:222
Remove Untagged Images From Docker
I’ve been playing around a lot with docker. It’s awesome, and it creates a whole new world of possibilities, and I’m constantly coming up with new ide ...
分类:其他好文   时间:2017-03-07 10:48:22    阅读次数:161
linked-list-cycle
Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? ...
分类:其他好文   时间:2017-03-07 08:23:07    阅读次数:159
对docker容器的增加或减少进行报警
需求:当启动一个docker容器时立即发送报警,当停止一个docker容器时立即发送报警,说明:脚本只能检测UP状态,对restarting状态不进行处理,加入定时任务每分钟执行一次(执行频率自定义),该脚本的目的只是为防止异常容器启动,在我们规定名称外的定义为异常容器,在匹配容..
分类:其他好文   时间:2017-03-06 22:40:14    阅读次数:236
[leetcode-63-Unique Paths II]
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space ...
分类:其他好文   时间:2017-03-06 18:30:49    阅读次数:262
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!