01 2021 档案

摘要:➜ /docker docker network create --driver bridge --subnet 192.168.0.0/16 --gateway 192.168.0.1 mynet 6568f0fcefcf2f80f572b1ea0f89f7ef7bfcd3603038708525 阅读全文
posted @ 2021-01-31 14:36 brady-wang 阅读(511) 评论(0) 推荐(0) 编辑
摘要:我想现在应该有很多人都已经使用zsh作为默认的Shell了,尤其是搭配 oh-my-zsh 之后,真是好用得飞起。一般,我们在切换系统默认的Shell的时候,都会使用 chsh -s /bin/zsh 命令来进行修改。今天我遇到一个问题,在某台老服务器上,使用这个命令无法修改,具体原因未知。始终提示 阅读全文
posted @ 2021-01-31 11:19 brady-wang 阅读(6554) 评论(0) 推荐(0) 编辑
摘要:在 oh-my-zsh 进入 包含 git 仓库目录时,会变的比平时慢/卡顿 如下图: 原因是因为 oh-my-zsh 要获取 git 更新信息 解决办法: 设置 oh-my-zsh 不读取文件变化信息(在 git 项目目录执行下列命令) $ git config --add oh-my-zsh.h 阅读全文
posted @ 2021-01-31 10:59 brady-wang 阅读(741) 评论(0) 推荐(0) 编辑
摘要:portainer docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/da 阅读全文
posted @ 2021-01-29 18:31 brady-wang 阅读(58) 评论(0) 推荐(0) 编辑
摘要:docker查看日志 docker run -d centos /bin/bash -c "while true;do echo hello;sleep 1;done" docker logs -f -t --tail 5 11e37680511d 阅读全文
posted @ 2021-01-29 16:59 brady-wang 阅读(131) 评论(0) 推荐(0) 编辑
摘要:docker安装 文档地址 https://docs.docker.com/engine/install/centos/ 安装步骤 卸载原有的版本 sudo yum remove docker \ docker-client \ docker-client-latest \ docker-commo 阅读全文
posted @ 2021-01-29 15:42 brady-wang 阅读(368) 评论(0) 推荐(0) 编辑
摘要:package main import ( "fmt" "strconv" "time" ) var ( maxRoutineNum = 2 ) // 模拟下载页面的方法 func download(url string, ch chan int) { fmt.Println("download f 阅读全文
posted @ 2021-01-21 16:31 brady-wang 阅读(2447) 评论(0) 推荐(0) 编辑
摘要:package main import ( "bufio" "fmt" "github.com/antchfx/htmlquery" "io/ioutil" "net/http" "os" "strconv" "time" ) func getResponse(url string ) *http. 阅读全文
posted @ 2021-01-21 16:09 brady-wang 阅读(88) 评论(0) 推荐(0) 编辑
摘要:package main import ( "fmt" "github.com/antchfx/htmlquery" "net/http" "strings" ) func getResponse(url string ) *http.Response { client := &http.Clien 阅读全文
posted @ 2021-01-21 14:33 brady-wang 阅读(122) 评论(0) 推荐(0) 编辑
摘要:https://book.go-admin.cn/zh/install 阅读全文
posted @ 2021-01-20 14:38 brady-wang 阅读(106) 评论(0) 推荐(0) 编辑
摘要:https://studygolang.com/articles/27594?fr=sidebar 阅读全文
posted @ 2021-01-18 21:07 brady-wang 阅读(323) 评论(0) 推荐(0) 编辑
摘要:Tkinter 是使用 python 进行窗口视窗设计的模块。Tkinter模块("Tk 接口")是Python的标准Tk GUI工具包的接口。作为 python 特定的GUI界面,是一个图像的窗口,tkinter是python 自带的,可以编辑的GUI界面,我们可以用GUI 实现很多直观的功能,比 阅读全文
posted @ 2021-01-18 11:50 brady-wang 阅读(394) 评论(0) 推荐(0) 编辑
摘要:/*文章内图片*/ #cnblogs_post_body p img { margin:10px; } /*顶一下*/ .diggnum { font-size:28px; color:#6DA47D; font-family:'Microsoft Yahei'; } #div_digg{ widt 阅读全文
posted @ 2021-01-15 17:52 brady-wang 阅读(91) 评论(0) 推荐(0) 编辑
摘要:#!/usr/bin/env python # -*- coding: utf-8 -*- import requests from lxml import etree url = "http://www.spbeen.com/tool/request_info/" #url = "http://i 阅读全文
posted @ 2021-01-15 17:40 brady-wang 阅读(77) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>基于CSS3的3D立方体旋转动画</title> <style> /* 3d旋转样式 */ .cub { width: 2.5rem; height: 2.5rem; positi 阅读全文
posted @ 2021-01-08 16:29 brady-wang 阅读(87) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示