日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

如何在开源社区贡献代码_如何在15分钟内从浏览器获得您的第一个开源贡献

發(fā)布時間:2023/11/29 HTML 26 豆豆
生活随笔 收集整理的這篇文章主要介紹了 如何在开源社区贡献代码_如何在15分钟内从浏览器获得您的第一个开源贡献 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

如何在開源社區(qū)貢獻(xiàn)代碼

Matt Mullenweg, founder of Automattic, recently offered this advice to aspiring developers: “Contribute to open source.

Automattic的創(chuàng)始人Matt Mullenweg最近向有抱負(fù)的開發(fā)人員提供了以下建議 :“ 致力于開源。

Mullenweg — a political science dropout whose software (Wordpress) now powers nearly a quarter of all websites — says that you can “100% compensate for a lack of professional experience” by proving your abilities through open source contributions.

Mullenweg是一個政治學(xué)輟學(xué)者,其軟件(Wordpress)現(xiàn)在可為所有網(wǎng)站的近四分之一提供支持。他說,您可以通過開源貢獻(xiàn)來證明自己的能力,以“ 100%彌補(bǔ)專業(yè)經(jīng)驗(yàn)的不足”。

If you can grow into a recognized position in an open source project, that puts you ten steps ahead of applications even from folks with 20 years experience in the field, at least to an Open Source-biased company like Automattic.如果您可以在開放源代碼項(xiàng)目中成長為公認(rèn)的職位,那么即使您是在具有20年該領(lǐng)域經(jīng)驗(yàn)的人員中,也至少比在像Automattic這樣的受開放源代碼歧視的公司中,您都領(lǐng)先于應(yīng)用程序十步。

And the undisputed center of the open source universe is GitHub. Some people have gone so far as to say that GitHub accounts have replaced resumes.

開源世界無可爭議的中心是GitHub。 有人甚至說GitHub帳戶已取代履歷表 。

Or as John Resig, the creator of jQuery, quipped: “When it comes to hiring, I’ll take a GitHub commit log over a resume any day.”

或就像jQuery的創(chuàng)建者John Resig所打趣的那樣:“在招聘方面,我每天都會把GitHub提交日志作為簡歷。”

Free Code Camp Wiki maintainer Rafael Rodriguez has come up with an way that you can start contributing to open source in just a few minutes, without even leaving GitHub’s website.

Free Code Camp Wiki的維護(hù)者Rafael Rodriguez提出了一種方法,您可以在短短幾分鐘內(nèi)就開始為開源做貢獻(xiàn),而無需離開GitHub的網(wǎng)站。

在Free Code Camp的Wiki上添加文章 (Adding an article to Free Code Camp’s Wiki)

Free Code Camp’s wiki is filled with articles about technology. Where as academic articles aim to be detailed, and technical documentation aims to be precise, our wiki articles aim to be easily understood by new developers.

Free Code Camp的Wiki上充斥著有關(guān)技術(shù)的文章。 當(dāng)學(xué)術(shù)文章的目的是詳細(xì)而技術(shù)文檔的目的是精確時,我們的Wiki文章的目的是使新開發(fā)人員容易理解。

Here are some examples of things you can write about on our wiki:

以下是您可以在我們的Wiki上寫的一些事例:

  • a new JavaScript library like Redux

    像Redux這樣的新JavaScript庫
  • an important person in the software world, like Dan Abramov

    軟件界的重要人物,例如Dan Abramov

  • how to deploy a Wordpress e-commerce site

    如何部署Wordpress電子商務(wù)網(wǎng)站
  • how to install Ruby on Rails on Windows

    如何在Windows上安裝Ruby on Rails
  • how to wire a Raspberry Pi into a thermostat

    如何將Raspberry Pi連接到恒溫器
  • the history of Git

    Git的歷史
  • your city’s Women Who Code chapter

    您城市的《女性密碼》一章

Basically, anything related to technology is fair game. We will err on the side of inclusion.

基本上,任何與技術(shù)有關(guān)的東西都是公平的游戲。 我們會在包容性方面犯錯。

First, check to make sure the article doesn’t already exist (if it does, you can help us expand it.)

首先,檢查以確保文章不存在 (如果存在 ,則可以幫助我們擴(kuò)展它。)

And if you can’t think of anything off the top of your head, you can choose a topic from our article requests and write a few paragraphs about it.

而且,如果您想不起什么,您可以從我們的文章請求中選擇一個主題,并撰寫一些有關(guān)該主題的段落。

We also welcome translations of existing articles into any world language.

我們也歡迎將現(xiàn)有文章翻譯成任何世界語言。

Then you can contribute in by following these steps:

然后,您可以按照以下步驟進(jìn)行操作:

  • Go to Free Code Camp’s open source Wiki repository. (If you don’t have a GitHub account yet, you can create one in about 2 minutes.)

    轉(zhuǎn)到Free Code Camp的開源Wiki資源庫 。 (如果您還沒有GitHub帳戶,則可以在大約2分鐘內(nèi)創(chuàng)建一個 。)

  • Click the “New File” button. This will automatically create a fork (your own personal copy) of the repository.

    點(diǎn)擊“新建文件”按鈕。 這將自動創(chuàng)建存儲庫的fork(您自己的個人副本)。
  • Name your file “your-wiki-article-name.md” (the “md” stands for Markdown, a popular alternative to plain .txt files).

    將您的文件命名為“ your-wiki-article-name.md”(“ md”代表Markdown,這是普通.txt文件的替代名稱)。
  • Type out your article. If you’re unfamiliar with Markdown, you can write your article here, then copy and paste it onto GitHub.

    輸入您的文章。 如果您不熟悉Markdown,可以在此處撰寫文章 ,然后將其復(fù)制并粘貼到GitHub上。

  • Scroll down and fill in a commit message (for example, “Create wiki article about the Minimax algorithm”) and optionally add a description. If you’re writing this article in response to an article request, you should reference it in the description like so: “Closes issue #177.”

    向下滾動并填寫提交消息(例如,“創(chuàng)建有關(guān)Minimax算法的Wiki文章”),并可以選擇添加描述。 如果您是根據(jù)文章要求寫這篇文章的,則應(yīng)在說明中引用它,例如:“關(guān)閉問題#177”。
  • Click “Propose new file.”

    點(diǎn)擊“建議新文件”。
  • Click “Create pull request.”

    點(diǎn)擊“創(chuàng)建請求請求”。
  • Your pull request will already be populated from your commit message and description. So click “Create pull request” again to finalize it.

    您的提取請求將已經(jīng)從您的提交消息和描述中填充。 因此,再次單擊“創(chuàng)建請求請求”以完成該請求。
  • Voilà! You have created a file, a commit, and a pull request (and maybe even closed an issue in the process)!

    瞧! 您已經(jīng)創(chuàng)建了一個文件,一個提交和一個請求請求(甚至可能關(guān)閉了該過程中的一個問題)!

    Raphael or another volunteer will review your pull request and may ask you to make some further improvements to your article. (In some situations, you may need clone the repository locally to squash commits or resolve merge conflicts — we’ll help you with this if it comes up.)

    拉斐爾(Raphael)或其他志愿者將審核您的拉取請求,并可能要求您對您的文章進(jìn)行進(jìn)一步的改進(jìn)。 (在某些情況下,您可能需要在本地克隆存儲庫以壓縮提交或解決合并沖突-如果出現(xiàn)這種情況,我們將為您提供幫助。)

    If you have questions about any of this, hop on over to our Wiki chat room and ask.

    如果您對此有任何疑問,請?zhí)廖覀兊腤iki聊天室并提問。

    Once they accept your pull request, GitHub will merge it into Free Code Camp’s Wiki repo, and it will look something like this:

    一旦他們接受了您的拉取請求,GitHub將把它合并到Free Code Camp的Wiki存儲庫中,看起來像這樣:

    Once your pull request is accepted, you can check your GitHub profile. See that green square on your heat map calendar, and that streak? You’ve made an open source contribution!

    接受拉取請求后,您可以檢查GitHub個人資料。 看到您的熱圖日歷上的綠色方塊和條紋嗎? 您已經(jīng)做出了開源貢獻(xiàn)!

    這是有意義的事情的開始。 (This is the beginning of something meaningful.)

    Contributing to our wiki is a good way to ease into open source.

    對我們的Wiki進(jìn)行貢獻(xiàn)是輕松進(jìn)入開源的好方法。

    After writing a few wiki articles (and making edits to existing articles), you’ll want to venture out and see what other projects you can help with.

    在寫了幾篇Wiki文章(并對現(xiàn)有文章進(jìn)行編輯)之后,您將需要嘗試一下,看看還有哪些其他項(xiàng)目可以幫助您。

    You won’t be able to contribute to most of these projects without leaving the relative comfort of your browser and GitHub’s website. But don’t be intimidated by the process of developing on your local computer — it’s not that hard.

    不離開瀏覽器和GitHub網(wǎng)站的相對舒適度,您將無法為大多數(shù)這些項(xiàng)目做出貢獻(xiàn)。 但是不要被本地計(jì)算機(jī)上的開發(fā)過程所嚇倒, 這并不難 。

    As you contribute to larger and larger projects, you’ll get better at learning codebases well enough to track down bugs and add functionality.

    隨著您為越來越大的項(xiàng)目做出貢獻(xiàn),您將更好地學(xué)習(xí)代碼庫,從而更好地跟蹤錯誤并添加功能。

    That’s how you learn. That’s how you grow as a developer. And that’s how you prove to future employers that you can collaborate with other people and write code that’s worth using.

    那就是你學(xué)習(xí)的方式。 這就是您成長為開發(fā)人員的方式。 這就是您向未來的雇主證明您可以與其他人合作并編寫值得使用的代碼的方式。

    If you liked this, click the? below. Follow me and Free Code Camp for more articles on technology.

    如果您喜歡這個,請點(diǎn)擊? 下面。 關(guān)注我和免費(fèi)代碼營,獲取更多有關(guān)技術(shù)的文章。

    翻譯自: https://www.freecodecamp.org/news/how-to-land-your-first-open-source-contribution-from-your-browser-in-15-minutes-756d9bbf81ad/

    如何在開源社區(qū)貢獻(xiàn)代碼

    總結(jié)

    以上是生活随笔為你收集整理的如何在开源社区贡献代码_如何在15分钟内从浏览器获得您的第一个开源贡献的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。