会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
面朝大海 春暖花开
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
47
下一页
2021年8月9日
go build说明
摘要: go build命令的说明 1. 获取go build说明,重定向输出到文件 go help build >> go-build-intro.txt 2. 解读go build 2.1 usage(用法) go build [-o output] [build flags] [packages] b
阅读全文
posted @ 2021-08-09 15:20 我喜欢旅行
阅读(916)
评论(0)
推荐(0)
2021年1月25日
python2的代码从吉卜力网页上下载高清图片
摘要: python2 + 修改基础存储路径 + 给map里面添加源url和存储文件夹,k-v对。 # -*- coding: utf-8 -*- import re import urllib import urllib2 import os # 抓取网页图片 # 根据给定的网址来获取网页详细信息,得到的
阅读全文
posted @ 2021-01-25 11:08 我喜欢旅行
阅读(106)
评论(0)
推荐(0)
2020年12月17日
wordpress搭建个人博客
摘要: 参考阿里云的搭建教程: + 第一步:https://help.aliyun.com/document_detail/97251.html?spm=a2c4g.11186623.2.17.3aa418167IBf5e#concept-fnh-v3x-5fb + 第二步:https://help.ali
阅读全文
posted @ 2020-12-17 21:28 我喜欢旅行
阅读(120)
评论(0)
推荐(0)
2020年11月3日
发现了一个背景色线性变化的网页,果断保存一下源代码
摘要: 网页效果 网页源代码: <!DOCTYPE html> <html lang="zh-Hans"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
阅读全文
posted @ 2020-11-03 15:55 我喜欢旅行
阅读(193)
评论(0)
推荐(0)
2020年10月13日
python处理Excel文件
摘要: 手动处理太麻烦,帮别人写的代码处理。 import pandas as pd def handle(): df = pd.read_excel('/Users/shaopengyang/Downloads/lemon.xlsx', dtype={'品牌':str, '省':str, '市':str,
阅读全文
posted @ 2020-10-13 23:07 我喜欢旅行
阅读(158)
评论(0)
推荐(0)
2020年9月15日
单联通分量遇到的搜索问题
摘要: XXX #include <iostream> #include <string> #include <algorithm> #include <cstdio> #include <cstring> using namespace std; int n, k; int gra[1010][1010]
阅读全文
posted @ 2020-09-15 12:09 我喜欢旅行
阅读(132)
评论(0)
推荐(0)
2020年8月20日
往mysql插入大量迁移测试数据
摘要: CREATE TABLE userinfo ( id varchar(10), word varchar(10), num int ) python插入 # -*- coding: utf-8 -*- """ Spyder 编辑器 """ import random import itertools
阅读全文
posted @ 2020-08-20 17:36 我喜欢旅行
阅读(194)
评论(0)
推荐(0)
k8s deployment部署单个mysql容器实例 + service
摘要: k8s deployment yaml,源于从网上找到的一个版本 apiVersion: apps/v1 # apiserver的版本 kind: Deployment # 副本控制器deployment,管理pod和RS metadata: name: mysql # deployment的名称,
阅读全文
posted @ 2020-08-20 14:51 我喜欢旅行
阅读(2006)
评论(0)
推荐(0)
2020年8月11日
缺失的第一个正数
摘要: 给你一个未排序的整数数组,请你找出其中没有出现的最小的正整数。 示例 1: 输入: [1,2,0]输出: 3示例 2: 输入: [3,4,-1,1]输出: 2示例 3: 输入: [7,8,9,11,12]输出: 1 思路研究一下: class Solution { public: int first
阅读全文
posted @ 2020-08-11 14:54 我喜欢旅行
阅读(138)
评论(0)
推荐(0)
2020年7月28日
kubernetes CRD
摘要: CRD: CustomResourceDefinition CRD是Kubernetes为提高可扩展性,让开发者去自定义资源(如Deployment,StatefulSet等)的一种方法。Operator = CRD + Controller CRD仅仅是资源的定义,而Controller可以去监听
阅读全文
posted @ 2020-07-28 10:34 我喜欢旅行
阅读(725)
评论(0)
推荐(0)
1
2
3
4
5
···
47
下一页
公告