11 2021 档案
摘要:原文:https://jishuin.proginn.com/p/763bfbd373dc 最近遇见一个需要上传超大大文件的需求,调研了七牛和腾讯云的切片分段上传功能,因此在此整理前端大文件上传相关功能的实现。在某些业务中,大文件上传是一个比较重要的交互场景,如上传入库比较大的Excel表格数据、上
阅读全文
摘要:原文:https://www.tutorialspoint.com/rust/rust_modules.htm A logical group of code is called a Module. Multiple modules are compiled into a unit called c
阅读全文
摘要:原文:https://www.jianshu.com/p/edc85a20ada9 前言 当你的项目同时放在两个远程仓库(例如:一个开源中国,一个github)上时,需要分别push两次,进行以下修改,即可一次push,推送到两个远程库! 正文 进入你的项目目录,打开.git/config文件(.g
阅读全文
摘要:原文:https://mp.weixin.qq.com/s/Q28LwtYfU7KH_Zy0VbHvOA https://zhuanlan.zhihu.com/p/420764860 大家好,我是 polarisxu。 有一个朋友咨询一个问题: 网友咨询 实际项目中,使用 Go Module 难免会
阅读全文
摘要:这个人写的rust文章也不错 原文:https://www.cnblogs.com/Jackeyzhe/p/11862917.html 最近学习了一些关于架构设计的知识想分享给大家。俗话说得好,不想当架构师的程序员不是好厨子。那么如何成为一名架构师呢?接下来就聊一聊我的一些想法。 什么是架构师 之前
阅读全文
摘要:原文:https://www.educative.io/edpresso/modules-in-rust In Rust, modules are containers that enclose zero or more items (i.e., functions, structs, traits
阅读全文
摘要:原文:https://www.educative.io/edpresso/options-in-rust The Option<T> enum in Rust can cater to two variants: None: represents a lack of value or if an e
阅读全文
摘要:原文:https://www.educative.io/edpresso/what-are-traits-in-rust A trait in Rust is a group of methods that are defined for a particular type. Traits are
阅读全文
摘要:原文:https://www.educative.io/edpresso/what-is-the-impl-keyword-in-rust The impl keyword in Rust is used to implement some functionality on types. This
阅读全文
摘要:原文:https://www.jianshu.com/p/480ac51a22c0 理解Golang的Time结构 simpleapples关注 0.2852018.10.26 18:49:54字数 845阅读 2,340 在golang中创建并打印一个时间对象,会看到如下输出 2018-10-26
阅读全文
摘要:原文:https://www.cnblogs.com/3Dgenome/p/14195450.html network: ethernets: ens33: #配置的网卡的名称 addresses: [192.168.31.215/24] #配置的静态ip地址和掩码 dhcp4: no #关闭DHC
阅读全文
摘要:原文:http://www.xtgxiso.com/ 二叉查找树,又叫二叉排序树,二叉搜索树,是一种有特定规则的二叉树,定义如下 它是一棵二叉树,或者是空树 左子树所有节点的值都小于它的根节点,右子树所有节点的值都大于它的根节点 左右子树也是一棵二叉查找树 二叉查找树可能退化为链表,也可能是一棵非常
阅读全文
摘要:原文:https://www.cnblogs.com/Fireflycjd/p/14687319.html 系列文章学习: https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzIxNTg1NzQwMQ==&action=getalbum&album_id=
阅读全文
摘要:注意,要将项目 zz (文件夹)放在GOPATH指定的某个目录的src下。如GOPATH为:GOPATH="/root/go:/data/code" 则可以将目录 zz 放到 /data/code/src下面!! b.go /* 简易计算器计算自定义包 */ package zz // 一种实现两个
阅读全文
摘要:原文:https://www.cnblogs.com/kerrycode/p/4377013.html 夜已深,人虽然非常疲惫,但是却无睡意,微信上的一篇文章”用下班的时间挖一口属于自己的井,省的老了没有水喝”让我无法入眠。 这篇文章的内容如下: 有两个和尚住在隔壁,每天都会在同一时间下山去溪边挑水
阅读全文
摘要:原文:http://www.xtgxiso.com/golang%E5%A4%9A%E6%A0%B8%E7%9A%84%E4%BD%BF%E7%94%A8/ 上面是设置, runtime.GOMAXPROCS(4), 下面是 runtime.GOMAXPROCS(1), 执行时间差了4倍。 对于多核
阅读全文
摘要:原文: https://www.cnblogs.com/marklove/p/10805432.html . 设定代理:. ~/.proxyenv 1 #!/bin/sh 2 3 # for terminal 4 export proxyserveraddr=123.123.123.123 5 ex
阅读全文
摘要:原文:https://www.cnblogs.com/jxzheng/p/5185966.html 所有在命令行下对环境变量的修改只对当前窗口有效,不是永久性的修改。 1.查看当前所有可以的环境变量:输入set查看 2.查看某个环境变量:输入 1 set 变量名 例如 1 set path 3.修改
阅读全文
摘要:原文:https://www.136.la/shida/show-3367.html https://vcpkg.io/en/getting-started.html 简介 这篇文章主要介绍了win10 + vs2017 + vcpkg —— VC++ 打包工具(示例代码)以及相关的经验技巧,文章约
阅读全文