当前位置: 首页 > 编程日记 > 正文

100天59万行代码_如何抽出100天的代码时间

100天59万行代码

Life moves pretty fast. If you don’t stop and look around once in a while, you could miss it. — Ferris Bueller
生活发展很快。 如果您不停地走动,不时环顾四周,您可能会错过它。 —摩天轮

My time at freeCodeCamp was a fun and exciting one. When I first began with freeCodeCamp, I’d often come across this message, which also sounded like a preamble —

我在freeCodeCamp的时间很有趣。 当我刚开始使用freeCodeCamp时,经常会看到此消息,听起来像是前言-

Let’s pick up a new skill and get a new job, all in a few months.
在几个月内,让我们学习一种新技能并找到一份新工作。

You will see a lot of articles like “Hey all, I was a school teacher before, and now I’m earning $100k as a engineer for x startup”. If you’re starting out in web development and you surround yourself with other people who want to achieve things — they will, you know, achieve. And so will you!

您将看到很多文章,例如“嘿,我以前是一名学校老师,现在作为x初创公司的工程师,我的年薪为10万美元”。 如果您刚开始进行Web开发,并且与其他想要实现目标的人一起度过了,他们就会实现。 你也一样!

There’s a bit of expectation vs. reality here. If you are the kind of person that can memorize a ton of information relating to your chosen field, then you’re onto a winner. As for myself, it’s about repetition and repetition, until it becomes a habit. And there’s a lot to be said about habits.

这里有一些期望与现实的对比。 如果您是那种能够记住与所选领域相关的大量信息的人,那么您将成为赢家。 至于我自己,这是关于重复和重复,直到它成为一种习惯 。 关于习惯,还有很多要说的。

Forming habits takes time though. On December 30, 2016, I decided to take part in the #100DaysOfCode challenge. I couldn’t give you an idea of how I felt then, but reviewing the log entries I seemed pretty confused and a little frustrated with it all.

养成习惯需要时间。 2016年12月30日,我决定参加#100DaysOfCode挑战赛。 我无法告诉您当时的感受,但是查看日志条目时,我似乎很困惑,对这一切感到有些沮丧。

At the end of it, it’s definitely been an enriching and life changing experience for me. Along the way I have met some truly awesome and inspiring people, happy to help with any issues or problems you may have. The support I found not just in the #100DaysOfCode community but the web dev community as a whole is truly amazing.

最后,对我来说,这绝对是一次充实和改变人生的经历。 一路上,我遇到了一些真正令人敬畏和鼓舞人心的人,很乐意为您解决任何问题。 我不仅在#100DaysOfCode社区中找到了支持,而且在整个Web开发社区中也确实感到非常惊奇。

I’m going to go over some steps I have taken to help me with learning to code (again) and cracking #100DaysOfCode.

我将介绍一些步骤,以帮助我( 再次 )学习编码和破解#100DaysOfCode

有耐心 (Having Patience)

Being patient is essential — instant gratification doesn’t work all the time. This will soon come to light if you start to compare yourself to how other people (your cohorts) are progressing. You may start to wonder why you’re not progressing as fast as other people appear to be. This might probably add to any anxiety you may have, whether you can do something or not. Do not concern yourself with this and instead use that energy to focus on what you need to do, and code.

耐心是必不可少的-即时满足并不总是有效。 如果您开始将自己与其他人(您的队列)的发展进行比较,这很快就会发现。 您可能会开始怀疑为什么自己的进步速度没有别人想象的那么快。 无论您是否可以做某事,这都可能加重您的焦虑感。 不要为此担心,而要用这种精力专注于您需要做的事情和编写代码。

不同的人以不同的速度进步,以不同的方式学习 (Different people progress at different rates and learn in different ways)

As for myself, I have found that I’m a visual learner. I’ve known this for a long time actually, where to be able to ‘join up’ concepts and paradigms that I need to see in action. This is why I will always gush about courses by Kent C. Dodds or Wes Bos, as they are great at explaining complex subjects, among many others. Their content on egghead.io and wesbos.com are awesome at explaining concepts simply and visually.

至于我自己,我发现自己是视觉学习者。 实际上,我已经知道了很长时间了,可以在这里“结合”我需要在实际操作中看到的概念和范例。 这就是为什么我会一直热衷于Kent C. Dodds或Wes Bos的课程的原因,因为他们擅长于解释复杂的主题,还有很多其他方面。 他们在egghead.io和wesbos.com 上的内容非常 擅长简单直观地解释概念。

您的里程可能会有所不同。 因此,找出适合您的方法并坚持下去! (Your mileage may vary though. So find out what works for you, and stick with it!)

I have discovered recently that splitting my time between projects wasn’t really helping me. So I decided to work on one particular project each time I sat down to code. The first time I did this, I was struggling for hours with little to nothing show for it. It felt futile and I was getting anxious about not moving on. It was at this point when I would usually switch context and work on something else. I found though that pushing that little bit more was all I needed.

最近,我发现在项目之间分配时间并没有真正帮助我。 因此,每次我坐下来编写代码时,我都决定从事一个特定的项目。 我第一次这样做,是在数小时之内挣扎,却几乎没有表现出来。 感觉是徒劳的,我为不继续前进而感到焦虑。 在这一点上,我通常会切换上下文并进行其他操作。 我发现尽管需要多加一点是我所需要的。

This was such a psychological win for me, and gave me the confidence to do more. It has paid dividends, as I now have 6+ demos of projects I have made on my portfolio.

对我来说,这是一次心理上的胜利 ,并给了我做更多事情的信心。 它已经带来了红利,因为我现在在自己的投资组合中进行了6个以上的项目演示。

避免分心 (Avoiding Distractions)

I get distracted by things like Slack, email and Twitter. These apps should not be opened, as it will eat up your time. You have a set amount of time to get something done. This will come to light when you have finished reading your Twitter updates and Slack messages, only to realize you have fifteen minutes left to complete the task you set out to do.

我对诸如Slack,电子邮件和Twitter之类的东西分心。 这些应用程序不应打开,因为它会占用您的时间。 您有一定的时间来完成某件事。 当您阅读完Twitter更新和Slack消息后,就会发现这一点,而这仅意味着您还有15分钟的时间来完成您要完成的任务。

I noticed this soon into starting #100DaysOfCode. What I did was turn off all my phone notifications. If you need to check something then check it. But don’t let your phone dictate where your attention needs to be directed.

我注意到这很快开始#100DaysOfCode。 我要做的是关闭所有电话通知。 如果您需要检查某些东西,请检查一下。 但不要让您的手机决定需要将注意力转移到哪里。

I turned off all browser notifications for Slack and Gmail. My phone is left in another room on “Do Not Disturb” while I work. While in Do Not Disturb mode my phone will not make a noise, unless someone on my stared contacts list calls me. I pick up the phone in the afternoon to check for missed calls, listen to voice mails and return any calls if needed.

我关闭了Slack和Gmail的所有浏览器通知。 工作时,我的电话留在“请勿打扰”的另一个房间中。 在“请勿打扰”模式下,除非我的联系人列表中有人打电话给我,否则手机不会发出声音。 下午,我拿起电话检查未接来电,收听语音邮件并在需要时返回所有电话。

腾出时间 (Making time)

Saying that you don’t have the time to do 1–2 hours of coding a day isn’t going to help. Yes it’s tough, but it’s not about having the time. It’s about making the time to do it.

说您没有时间每天进行1-2个小时的编码对您没有帮助。 是的,这很艰难,但这并不是要有时间。 这是要花时间去做。

如果这对您很重要,您将为此付出时间。 (If it’s important to you, you will make time for it.)

You’re the only one that can make these things happen. Often I get asked “So what do you like to do”? I struggle to answer this, as all I have been doing for the last 18 months is learning to code!

您是唯一可以实现这些目标的人。 我经常被问到“那么你想做什么”? 我很难回答这个问题,因为过去18个月我一直在学习编码!

建立平衡 (Creating Balance)

It’s the key to everything. I am not perfect here — this journey has taken its toll on my health. Towards the end of 2016 I was 95 kg, and today as on February 26th I’m 115 kg.

这是一切的关键。 我在这里并不完美-这次旅行对我的健康造成了损害。 到2016年底,我的体重为95公斤,而截至2月26日,我的体重为115公斤。

This weight gain is a mixture of illness at the start of 2017 and bad diet choices thereafter. In the past I consciously opted for ‘healthy’ foods, spending that little extra time deciding what to eat.

这种体重增加是2017年初患病和其后不良饮食选择的混合体。 过去,我有意识地选择了“健康”食品,只花很少的额外时间来决定吃什么。

While being ill at the start of 2017, I developed a bit of an addiction to cereals (granola) ?. It was quick to prepare and easy to eat, and I got a quick boost from it.

在2017年初生病时,我对谷物(格兰诺拉麦片)有点上瘾了。 它准备Swift且易于食用,从中我得到了快速发展。

Quick and easy soon became the norm after that. I have identified this now and am making an effort to reduce this, while also making time for my development.

此后,快速和轻松很快成为常态。 我现在已经确定了这一点,并且正在努力减少这一点,同时也为我的开发腾出了时间。

You need to have a balanced diet too! ?

您也需要均衡饮食! ?

使用工具 (Using Tools)

I use some tools to help me ‘get on’ with what I’ve set out to do.

我使用一些工具来帮助我“着手”完成我打算要做的事情。

A while back I started using Todoist. This is great for when you’re scrolling through your Twitter feed and find a link to a really neat looking tutorial or post you want to read, but don’t want to go down the rabbit hole of working out where to document it. I usually add such links to Todoist and come back to it when I get the capacity to work on it.

前一段时间我开始使用Todoist 当您滚动浏览Twitter提要并找到想要阅读的看上去非常整洁的教程或帖子的链接时,这非常有用,但又不想钻研在哪里记录它的麻烦。 通常,我会向Todoist添加此类链接,并在有能力进行处理时再返回。

WakaTime is a great tool for quantifying your coding — pretty handy when doing #100DaysOfCode.

WakaTime是量化您的编码的好工具-在执行#100DaysOfCode时非常方便。

RescueTime is handy for helping you identify your productivity black holes and give you a nice breakdown of where your time is spent on your computer and mobile.

RescueTime可以帮助您识别生产力的黑洞,并且可以很好地细分您在计算机和移动设备上花费的时间。

正在使用生活技巧… (Using Life hacks…)

They’re called hacks, so everyone can think they’re used for “cheating the system”. In reality they’re some helpful rules to aid you if you need to find some extra time.

它们被称为黑客,因此每个人都可以认为它们被用来“欺骗系统”。 实际上,如果您需要更多时间,它们是一些有用的规则来帮助您。

Get up early. I’ve taken to getting up an hour earlier than I used to, to squeeze an hour and a half out of the morning. I have an MI band that I have set to vibrate to wake me at that time, so I do not disturb my wife.

早点起床。 我已经比以前早起了一个小时,将自己挤了一个半小时。 我当时有一个MI乐队,我准备振动来唤醒我,所以我不会打扰我的妻子。

Go to bed early. Sleep is important kids — anyone that says otherwise obviously doesn’t get enough sleep.

早点睡。 睡眠对孩子很重要-否则,显然任何人都睡不着。

…还有一些好运吗? (…and some Good luck ?)

When I finished my last (VBA) contract in October, I used that time to fully immerse myself in web development.

当我在10月完成上一份(VBA)合同时,我利用这段时间完全沉浸于Web开发中。

At the time (which was good timing actually) I started a build to learn project with two other remote developers — one in Egypt, and one in Serbia. We were all participating in the Chingu Voyage, and this has been a real eye opener for me. It has given me the confidence to get all my portfolio projects ready for potential employers to view.

当时(实际上是个好时机),我与另外两个远程开发人员(一个在埃及,另一个在塞尔维亚)一起开始了构建项目的学习。 我们都参加了Chingu Voyage,这对我来说真是大开眼界。 它使我有信心准备好所有投资组合项目,以供潜在的雇主查看。

While taking part in the project, I got to treat it as a full time job — which my WakaTime stats will attest. This was one of the triggers for me that I should start applying for jobs as a junior dev.

参与该项目时,我必须将其视为全职工作-我的WakaTime统计数据将证明这一点。 这对我来说是触发因素之一,我应该开始以初级开发人员的身份申请工作。

谢谢阅读 (Thanks for reading)

If there is anything I have missed, or if you have a better way to do something then please let me know.

如果我错过了任何事情,或者您有更好的做某事的方法,请告诉我。

Find me on Twitter or Ask Me Anything on GitHub.

在Twitter上找到我,或者在GitHub上问我 。

This was originally posted on my blog.

这最初发布在我的博客上 。

You can read other articles like this on my blog.

您可以在我的博客上阅读其他类似的文章 。

翻译自: https://www.freecodecamp.org/news/how-to-make-time-for-100-days-of-code-776cd6e0de49/

100天59万行代码

相关文章:

Mac 安装SecureCRT

scrt-8.0.2-1118.osx_x64.dmg https://pan.baidu.com/s/1miS5XVy 1.下载破解文件 SecureCRT https://pan.baidu.com/s/1eRW5IfS 2. 打开终端执行 chmod x ~/Downloads/SecureCRT 替换破解文件SecureCRT到/Applications/SecureCRT.app/Contents/MacOS/ 3. 打开SecureCRT&#xf…

PHP 3 HTML POST带参数请求 后端返回json格式的数据给前端

微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 前端代码 <!DOCTYPE html> <html lang"zh"><head><meta charset"UTF-8"><title>Title</title><script src"https://ajax.aspnetcdn.c…

产品经理入门_所以您想成为产品经理? 这就是我的入门方式。

产品经理入门by Melanie Lei由Melanie Lei 所以您想成为产品经理&#xff1f; 这就是我的入门方式。 (So you want to be a product manager? This is how I got started.) One of the most common questions I get asked is, “How do you get a Product Manager job if you…

又拍云SSL证书全新上线,提供一站式HTTPS安全解决方案

互联网快速发展&#xff0c;云服务早已融入每一个人的日常生活&#xff0c;而互联网安全与互联网的发展息息相关&#xff0c;这其中涉及到信息的保密性、完整性、可用性、真实性和可控性。又拍云上线了与多家国际顶级 CA 机构合作的数款OV & EV SSL证书&#xff0c;提供一站…

HDU 1155 Bungee Jumping

题意&#xff1a;英语水平太次…………读了好久好久好久才读懂OTZ James Bond要逃跑&#xff0c;跑到一个桥边上&#xff0c;要跳到地面&#xff0c;桥边有个有弹性的绳子长度为l&#xff0c;如果他跳下去能到达地面&#xff0c;但速度超过10就会摔死&#xff0c;否则能成功降落…

php 4 创建公共的链接数据库php文件并在其它文件引用它

微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 创建公共文件 <? //1. 声明字符编码 header("Content-Type:text/html;charsetutf8"); //2. 连接数据库 $linkmysql_connect("localhost","root","root");/…

异步回调地狱_如何逃避异步/等待地狱

异步回调地狱async/await freed us from callback hell, but people have started abusing it — leading to the birth of async/await hell.async / await使我们从回调地狱中解脱出来&#xff0c;但是人们已经开始滥用它-导致async / await地狱的诞生。 In this article, I …

2015年编程之美(资格赛) ---2月29日

时间限制:2000ms单点时限:1000ms内存限制:256MB描述 给定两个日期&#xff0c;计算这两个日期之间有多少个2月29日&#xff08;包括起始日期&#xff09;。 只有闰年有2月29日&#xff0c;满足以下一个条件的年份为闰年&#xff1a; 1. 年份能被4整除但不能被100整除 2. 年份能…

2016多校赛2 A 数学推公式 E 极角排序,组合数(待补) L dp+bitset优化

2016 Multi-University Training Contest 2 A - Acperience 题意&#xff1a;给出w[]&#xff0c;求S((w[i]-aB[i])^2)的最小值(B[i]为1或-1)。 tags&#xff1a;一看到就搞了个三分上去&#xff0c;估计是精度问题&#xff0c;一直挖&#xff0c;23333。。 就是把这个公式推下…

php No 'Access-Control-Allow-Origin' header is present on the requested resource.'Ajax跨域访问解决方法

微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 在PHP请求头加上 header("Access-Control-Allow-Origin: *");

二进制搜索算法_使用安全摄像机镜头解释二进制搜索算法

二进制搜索算法by Julia GeistJulia盖斯特(Julia Geist) 使用安全摄像机镜头解释二进制搜索算法 (Binary Search Algorithms explained using security camera footage) Binary search, also known as half-interval search or logarithmic search, is a search algorithm tha…

Codeforces 460E Roland and Rose(暴力)

题目链接&#xff1a;Codeforces 460E Roland and Rose 题目大意&#xff1a;在以原点为圆心&#xff0c;半径为R的局域内选择N个整数点&#xff0c;使得N个点中两两距离的平方和最大。 解题思路&#xff1a;R最大为30。那么事实上距离圆心距离最大的整数点只是12个最多&#x…

HTML POST提交参数给PHP并返回json,上传execl文件

微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 正文&#xff1a; 需求&#xff1a;AJAX post带参数请求接口&#xff0c;PHP接收后存入数据库&#xff1b;然后返回json数据循环渲染到HTML <!DOCTYPE html> <html lang"zh">&l…

在Ubuntu 12.04 桌面上设置启动器(快捷方式)

在Ubuntu 12.04 桌面上设置启动器&#xff08;快捷方式&#xff09;过程讲解&#xff1a; 如下图所示&#xff0c;Eclipse 和 SQLDeveloper 都可以直接双击打开&#xff0c;这些应用程序的启动器都在 /usr/share/applications文件夹下面&#xff0c;进入后将其复制到桌面即可。…

rxswift中hud_如何在RxSwift中运行测试

rxswift中hudby Navdeep Singh通过Navdeep Singh 如何在RxSwift中运行测试 (How to run tests in RxSwift) RxTest and RxBlocking are part of the RxSwift repository. They are made available via separate pods, however, and so require separate imports.RxTest和RxBlo…

安装完DevExpress14.2.5,如何破解它呢?

DevExpress是一个界面控件套件&#xff0c;提供了一系列的界面控件套件的DotNet界面控件。DevExpress开发的控件有很强的实力&#xff0c;不仅功能丰富&#xff0c;应用简单&#xff0c;而且界面华丽&#xff0c;更可方便订制&#xff0c;方便开发人员开发。 下面介绍DevExpres…

Extjs Ext.TreePanel

TreePanel 简单实例。 <link rel"stylesheet" href"Js/ext-4.2/resources/css/ext-all-neptune.css"/><script src"Js/jQuery/jquery-1.8.2.min.js" type"text/javascript"></script><script src"Js/ext-…

php模糊搜索功能

微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 正文&#xff1a; 前端 前端post请求并发送str参数>搜索的内容&#xff1b; PHP <?phpheader("Content-Type:text/html;charsetutf8"); header("Access-Control-Allow-Origin…

react 快速上手开发_React中测试驱动开发的快速指南

react 快速上手开发by Michał Baranowski通过MichałBaranowski React中测试驱动开发的快速指南 (A quick guide to test-driven development in React) Following the principles of Test-Driven Development (TDD) when writing a front-end React app might seem more dif…

iOS 相册和网络图片的存取

iOS 相册和网络图片的存取 保存 UIImage 到相册 UIKit UIKit 中一个古老的方法&#xff0c;Objective-C 的形式 void UIImageWriteToSavedPhotosAlbum(UIImage *image, id completionTarget, SEL completionSelector, void *contextInfo); 保存完成后&#xff0c;会调用 comple…

微信小程序实时聊天之WebSocket

微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 正文&#xff1a; 1.所有监听事件先在onload监听。 // pages/index/to_news/to_news.js var app getApp(); var socketOpen false; var SocketTask false; var url ws://192.168.0.120:7011; Page…

webform repeater

repeater:由模板构成&#xff0c;解析后模板就不存在了 需要指定数据源进行数据绑定 List<Fruit> list new FruitDA().Select(); // 数据查询 &#xff08;随便查寻的&#xff09; Repeater1.DataSource list; // 赋值 Repeater1…

远程协助软件开发_这是我从事远程软件开发人员工作的主要技巧

远程协助软件开发by Colin Morgan通过科林摩根(Colin Morgan) 这是我从事远程软件开发人员工作的主要技巧 (Here are the top tips I’ve used to land a remote software developer job) Applying for a remote software developer job means you are voluntarily choosing t…

简谈-Python一些常用的爬虫技巧

第一种&#xff1a;基本的网页抓取 get方法 import urllib2url "链接response urllib2.urlopen(url)print response.read() post方法 import urllibimport urllib2url "链接form {name:abc,password:1234}form_data urllib.urlencode(form)request urllib2.Req…

微信小程序画布圆形进度条demo

微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 正文&#xff1a; wxml <!--pages/test/test.wxml--> <canvas style"width: 300px; height: 200px;" canvas-id"canvasid"></canvas>js // pages/test/test.js …

smarty 模板引擎

http://blog.csdn.net/zuiaituantuan/article/details/5951242 http://wenku.baidu.com/link?url-UHlSnTXOOAjFG1KjX6T9sEG6V4hNAMfRDpMuRRnc_FKbFAxiE5Ntk4lzxSm-7Z531uWdfvgYx81sdC61SgTZm7q8FdUt3gSs7ZlC0JR1SW转载于:https://www.cnblogs.com/hxjbc/p/4441879.html

flask url构建_如何为生产构建构建Flask-RESTPlus Web服务

flask url构建by Greg Obinna由格雷格奥比纳(Greg Obinna) 如何为生产构建构建Flask-RESTPlus Web服务 (How to structure a Flask-RESTPlus web service for production builds) In this guide I’ll show you a step by step approach for structuring a Flask RESTPlus web…

【2017-4-26】Winform 公共控件 菜单和工具栏

作废 等待重写 名称 功能取值赋值备注Button按钮多用来触发点击事件 CheckBox多选按钮 CheckedListBox多选按钮组 ComboBox下拉列表 DateTimePicker指定的格式选择时间日期 Lable说明性文字控件 LinkLable超链接类型文件控件 ListBox用户选择项 ListVie…

微信小程序限制当前位置和目的地的距离

微信小程序开发交流qq群 173683895 承接微信小程序开发。扫码加微信。 正文&#xff1a; 1。获取当前位置经纬度 onLoad: function (options) {var that this;campaign_id campaign_idwx.getLocation({type: wgs84,success: function (res) {console.log(res)lat1 res.l…

命令行的全文搜索工具--ack

想必大家在命令行环境下工作时候&#xff0c;一定有想要查找当前目录下的源代码文件中的某些字符的需求&#xff0c;这时候如果使用传统方案&#xff0c;你可能需要输入一长串的命令&#xff0c;比如这样&#xff1a; 1. grep -R string dir/ 或者 grep -r -e string direct…