git

我的编程能力从什么时候开始突飞猛进的?

早过忘川 提交于 2020-11-25 14:51:27
知乎上有个提问: 你的编程能力从什么时候开发突飞猛进? 觉得挺有意思的,所以顺手回答了下,同时也发到我的公众号上来,这篇文章纯碎是记流水账, 也没什么干货 。 大家就当看个故事~ 以下是正文: 正文 啃完一本本书,做完一个个 lab,没有突飞猛进,一切都是量变最终累积成质变。 但是有那样一些时间节点,你会明显感觉到自己的编程能力确实有提高不少,能够编码实现更多的想法,接受新知识的速度也会加快,我想这是不是就是零散的知识点逐渐连成线、组成面呢? 不过老实说,就编程能力上确实没有“突飞猛进”的感觉。 我们都是普通的剧本,不可能像张无忌一样因跌落悬崖,意外获得《九阳神功》,从此突飞猛进、开挂,走向人生巅峰。 只有靠不断的看书、coding、学习优秀开源项目,构建自己的计算机知识体系,并且在特定的领域不断专研,这样才能成为一个优秀的工程师。 下面聊聊我自己的编程学习之路吧。 迷茫的大一 我在大学之前完全没有编程经验,高考后,填的专业前几个也是清一色的传统工科,被软件工程录取纯碎是意外。 当时甚至很担心完全没有编程基础的我,上大学会不会跟不上,还因为考虑过复读,现在想想也是天真。 大一开学,第一门编程语言就是学的 C 语言,怎么说呢,老师讲的,书上写的我都能看懂,但是让我写一个大的程序,我就摸不到头脑。不知从何下手,学了半学期,也只能写写课后习题,算算水仙花数什么的。

CERN如何用OpenStack、Kubernetes、Helm、Prometheus和CoreDNS加速

梦想的初衷 提交于 2020-11-25 14:40:50
CERN(欧洲核子研究所)是欧洲核研究组织,以其粒子加速器和对亚原子粒子、反物质和其他粒子物理相关研究的性质进行实验和分析而闻名。CERN也是万维网(WWW)被创建的地方。 CERN的研究员Ricardo Rocha说,总的来说,CERN现在管理着超过500个PB,并且10年后,随着一个新的加速器的上线,这个数字预计将达到5000个PB。Rocha还介绍了CERN如何在未来几年内适应管理10倍于现在的数据。 Kubernetes在CERN的基础设施中扮演着重要的角色。对于集群的管理,CERN利用了OpenStack提供的私有云内部部署服务。Rocha说,通过在OpenStack上部署Kubernetes集群,CERN拥有“与公共云提供的非常相似的体验”。这包括将其Kubernetes集群与用于自动缩放的云提供商及其存储系统集成。OpenStack还帮助CERN管理其遗留系统。 Rocha说:“我们为用户提供的是Kubernetes-as-a-service的体验。” 虽然允许用户按照自己的意愿使用工具和脚本迁移到Kubernetes可能很诱人,但是Helm可以为过程添加规则和更严格的控制。Rocha解释说,CERN为用户提供内部培训,帮助他们将工作负载迁移到Helm。 “当我们第一次向人们介绍Kubernetes的时候,仅仅是让事情运转起来就很有诱惑力

知乎高赞:我的编程能力从什么时候开始突飞猛进的?

試著忘記壹切 提交于 2020-11-25 11:57:09
作者 | 编程指北 来源 | 编程指北(ID:cs_dev) 知乎上有个提问: 你的编程能力从什么时候开发突飞猛进? 觉得挺有意思的,所以顺手回答了下,同时也发到我的公众号上来,这篇文章纯碎是记流水账,也没什么干货。 大家就当看个故事~ 啃完一本本书,做完一个个 lab,没有突飞猛进,一切都是量变最终累积成质变。 但是有那样一些时间节点,你会明显感觉到自己的编程能力确实有提高不少,能够编码实现更多的想法,接受新知识的速度也会加快,我想这是不是就是零散的知识点逐渐连成线、组成面呢? 不过老实说,就编程能力上确实没有“突飞猛进”的感觉。 我们都是普通的剧本,不可能像张无忌一样因跌落悬崖,意外获得《九阳神功》,从此突飞猛进、开挂,走向人生巅峰。 只有靠不断的看书、coding、学习优秀开源项目,构建自己的计算机知识体系,并且在特定的领域不断专研,这样才能成为一个优秀的工程师。 下面聊聊我自己的编程学习之路吧。 迷茫的大一 我在大学之前完全没有编程经验,高考后,填的专业前几个也是清一色的传统工科,被软件工程录取纯碎是意外。 当时甚至很担心完全没有编程基础的我,上大学会不会跟不上,还因为考虑过复读,现在想想也是天真。 大一开学,第一门编程语言就是学的 C 语言,怎么说呢,老师讲的,书上写的我都能看懂,但是让我写一个大的程序,我就摸不到头脑。不知从何下手,学了半学期,也只能写写课后习题

把vim打造成适配python和golang的庆亮级编辑器

喜欢而已 提交于 2020-11-25 11:55:06
#!/bin/bash if [ whoami != root ] then echo "Please login as root to continue :)" exit 1 fi if [ ! -d /home/tools/ ];then mkdir -p /home/tools else rm -rf /home/tools && mkdir -p /home/tools fi #Install python3 yum -y install epel-release wget && sudo yum -y groupinstall 'Development Tools' && sudo yum -y install the_silver_searcher sudo yum -y update sudo yum -y install yum-utils sudo rpm -Uvh https://repo.ius.io/ius-release-el7.rpm sudo yum install python36u -y sudo yum -y install python36u-pip python36u-devel #config env mkdir -p /data cd /data python3.6 -m venv venv #Install golang wget -c

How to change git account in Git bash?

冷暖自知 提交于 2020-11-25 08:34:33
问题 I have weird problem with Git bash. I have two Github accounts, let's say A and B . I set my name and email, like in account A: git config --global user.name git config --global user.email I initialized new repo, did a commit, then push and git bash asked me about login and password to github. By mistake I put login and password for account B! I logged in successfully, but there is no repository I just initialized. How can I logout and login to different github account? It's not user.name nor

How to change git account in Git bash?

一笑奈何 提交于 2020-11-25 08:31:43
问题 I have weird problem with Git bash. I have two Github accounts, let's say A and B . I set my name and email, like in account A: git config --global user.name git config --global user.email I initialized new repo, did a commit, then push and git bash asked me about login and password to github. By mistake I put login and password for account B! I logged in successfully, but there is no repository I just initialized. How can I logout and login to different github account? It's not user.name nor

How to change git account in Git bash?

余生长醉 提交于 2020-11-25 08:27:16
问题 I have weird problem with Git bash. I have two Github accounts, let's say A and B . I set my name and email, like in account A: git config --global user.name git config --global user.email I initialized new repo, did a commit, then push and git bash asked me about login and password to github. By mistake I put login and password for account B! I logged in successfully, but there is no repository I just initialized. How can I logout and login to different github account? It's not user.name nor

How to change git account in Git bash?

北慕城南 提交于 2020-11-25 08:25:49
问题 I have weird problem with Git bash. I have two Github accounts, let's say A and B . I set my name and email, like in account A: git config --global user.name git config --global user.email I initialized new repo, did a commit, then push and git bash asked me about login and password to github. By mistake I put login and password for account B! I logged in successfully, but there is no repository I just initialized. How can I logout and login to different github account? It's not user.name nor

How to change git account in Git bash?

醉酒当歌 提交于 2020-11-25 08:24:29
问题 I have weird problem with Git bash. I have two Github accounts, let's say A and B . I set my name and email, like in account A: git config --global user.name git config --global user.email I initialized new repo, did a commit, then push and git bash asked me about login and password to github. By mistake I put login and password for account B! I logged in successfully, but there is no repository I just initialized. How can I logout and login to different github account? It's not user.name nor

树莓派安装OpenCV完整过程

穿精又带淫゛_ 提交于 2020-11-25 07:56:57
1. 配置并更新树莓派系统 sudo raspi-config // 进入后 打开摄像头 、SSH sudo apt - get update sudo apt - get upgrade sudo rpi -update 2. 安装OpenCV的相关工具 sudo apt-get install build-essential cmake git pkg-config 3. 安装OpenCV的图像工具包 sudo apt-get install libjpeg8- dev sudo apt -get install libtiff5- dev sudo apt -get install libjasper- dev sudo apt -get install libpng12-dev 4. 安装视频I/O包 sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev 5.安装gtk2.0和优化函数包 sudo apt-get install libgtk2.0- dev sudo apt -get install libatlas-base-dev gfortran 6. 下载OpenCV源码 git clone https://github.com/opencv/opencv.git