github代码

In this article, we'll take a look at how GitHub Codespaces can help remove barriers for new teammates and contributors.

在本文中,我们将探讨GitHub Codespaces如何帮助消除对新团队成员和贡献者的障碍。

The most recent integration between Visual Studio Code and GitHub really helps make development accessible and welcoming.

Visual Studio Code与GitHub之间的最新集成确实有助于使开发变得可访问且受欢迎。

Now in beta, GitHub Codespaces provide an online, in-the-browser IDE powered by Visual Studio Code.

GitHub Codespaces现在处于测试阶段,提供了一个由Visual Studio Code支持的在线浏览器IDE。

This lets you use this full-featured IDE, complete with extensions, terminal, Git commands, and all the settings you’re accustomed to, on any machine. You can now bring your development workflow anywhere using a tablet or other browser-based device.

这使您可以在任何计算机上使用此功能齐全的IDE,包括扩展程序,终端,Git命令以及您习惯的所有设置。 现在,您可以使用平板电脑或其他基于浏览器的设备将开发工作流程带到任何地方。

Codespaces is great news for open source contributors, too. Adding a codespace configuration to your project is a great way to invite new folks to easily start contributing.

对于开放源代码贡献者来说,代码空间也是个好消息。 向您的项目中添加代码空间配置是一种邀请新人轻松开始贡献的好方法。

A new open source contributor or new hire at your organization can quickly fire up a codespace and get hacking on a good first issue with no local environment set up or installations necessary.

您组织中的新开放源代码贡献者或新员工可以快速启动代码空间,并在无需设置或安装本地环境的情况下就一个good first issue进行攻克。

We’ve added codespace configuration settings over at the OWASP Web Security Testing Guide (WSTG). Want to take it for a spin? See our open issues.

我们在OWASP Web安全测试指南(WSTG)上添加了代码空间配置设置。 想要试一试吗? 请参阅我们的未解决问题 。

配置代码空间 (Configuring Codespaces)

You can use Visual Studio Code’s .devcontainer folder to configure a development container for your repository as well.

您也可以使用Visual Studio Code的.devcontainer文件夹为存储库配置开发容器。

Many pre-built containers are available – just copy the .devcontainer you need to your repository root. If your repository doesn’t have one, a default base Linux image will be used.

有许多预构建的容器可用 –只需将所需的.devcontainer复制到存储库根目录即可。 如果您的存储库中没有,则将使用默认的基本Linux映像 。

Here’s a reason to remove .vscode from your .gitignore file. Any new codespaces created in your repository will now respect settings found at .vscode/settings.json.  This means that your online IDE can have the same Workspace configuration as you have on your local machine. Isn’t that useful!

这是从.gitignore文件中删除.vscode的原因。 现在,在存储库中创建的任何新代码空间都将遵循.vscode/settings.json 。 这意味着您的在线IDE可以具有与本地计算机相同的Workspace配置。 没用!

使代码空间个性化 (Making Codespaces Personal)

For next-level dotfiles personalization, consider committing relevant files from your local dotfiles folder as a public GitHub repository at yourusername/dotfiles.

对于下级dotfiles个性化 ,请考虑将本地dotfiles文件夹中的相关文件作为公共GitHub存储库提交到yourusername/dotfiles

When you create a new codespace, this brings in your configurations, such as shell aliases and preferences, by creating symlinks to dotfiles in your codespace $HOME. This personalizes all the codespaces you create in your account.

创建新的代码空间时,这将通过在代码空间$HOME创建指向点文件的符号链接来引入配置,例如外壳别名和首选项。 这将个性化您在帐户中创建的所有代码空间。

Need some inspiration? Browse my dotfiles repository on GitHub.

需要灵感吗? 浏览我在GitHub上的dotfiles存储库 。

在代码空间中开发 (Developing in Codespaces)

Developing in a codespace is a familiar experience for Visual Studio Code users, right down to running an application locally.

对于Visual Studio Code用户而言,在代码空间中进行开发是一种熟悉的体验,甚至可以在本地运行应用程序。

Thanks to port forwarding, when I run an application in a codespace terminal, clicking on the resulting localhost URL takes me to the appropriate port as output from my codespace.

多亏了端口转发功能 ,当我在代码空间终端中运行应用程序时,单击生成的localhost URL会将我带到代码空间输出的相应端口。

When I’m working on my blog in my codespace, for example, I run hugo serve then click the provided localhost:1313 link to see a preview of my changes in another browser tab.

例如,当我在我的代码空间中处理博客时,我运行hugo serve然后单击提供的localhost:1313链接以在另一个浏览器选项卡中查看所做更改的预览。

Want to stay in sync between devices? There’s an extension for that. You can connect to your codespace from Visual Studio Code on your local machine so you can always pick up right where you left off.

想要在设备之间保持同步吗? 有一个扩展。 您可以从本地计算机上的Visual Studio Code连接到代码空间,以便始终从上次中断的地方开始接听代码 。

随处发展 (Develop Anywhere)

Codespaces is a super exciting addition to my GitHub workflow. It allows me to access my full development process pretty much anywhere, using devices like my iPad.

Codespaces是我GitHub工作流程中非常令人兴奋的补充。 它使我可以使用iPad等设备在几乎任何地方访问我的完整开发过程。

It’ll also make it easier for new open source contributors or new hires at your organization to hit the ground running with a set-up IDE.

它还将使组织中的新开放源代码贡献者或新员工更加容易地使用设置IDE进行操作。

If you have access to the limited beta, I invite you to spin up a codespace and try contributing to the WSTG, or to an issue on one of my open source projects.

如果您可以使用有限的Beta版,请邀请您启动一个代码空间,并尝试为WSTG或我的一个开源项目中的问题 做出贡献 。

I’m looking forward to general availability and seeing what the open source community will dream up for GitHub Codespaces next!

我期待着通用的可用性,并期待开源社区接下来对GitHub Codespaces的梦想!

And yes – codespaces support your favorite Visual Studio Code theme.

github代码_GitHub代码空间如何提高生产力和降低障碍相关推荐

  1. github随时同步代码_GitHub代码下载和同步

    1.下载git客户端 https://git-scm.com/ ssh-keygen -C "your@email.address" -t rsa 2. 把下面文件的内容复制到 h ...

  2. 减少代码行数就是提高生产力!美国防部研究人员开源低代码量的机器学习框架:ktrain...

    近日,美国国防部研究人员 Arun S. Maiya 开源一套低代码量的增强机器学习Python库:ktrain,主打 3-4 行命令或代码完成一项功能,使得初学者和专家级人员都能够快速的构建.训练. ...

  3. github 生产环境_如何在GitHub上提高生产力

    github 生产环境 by Darren Burns 达伦·伯恩斯(Darren Burns) 如何在GitHub上提高生产力 (How to be more productive on GitHu ...

  4. 如何使用idea往github上提交代码时使用emoji表情图标

    步骤一:command+,快捷键,输入plugins 步骤二:idea中安装插件Git Commit Message Helper,搜索Git Commit Message Helper,搜到后点击安 ...

  5. github怎么为代码着色_如何仅用100行神经网络代码为黑白照片着色

    github怎么为代码着色 by Emil Wallner 埃米尔·沃尔纳(Emil Wallner) 如何仅用100行神经网络代码为黑白照片着色 (How to colorize black &am ...

  6. GitHub + VSTS 开源代码双向同步

    GitHub已经是全球开源代码的大本营了,通过以下统计你可以看到仅仅javascript在github就有超过32万个活动的repo.很多开发人员都会把自己的一部分代码分享到github上进行开源,一 ...

  7. GitHub上传代码、更新代码、token设置

    准备工作: 创建GitHub账号. 在本机电脑安装git工具. git配置用户名和邮箱 打开git Bash,依此输入如下命令: git config --global user.name " ...

  8. 香蕉派 banana pi github 最新Linux 代码升级到kernel 4.2.

    2019独角兽企业重金招聘Python工程师标准>>> 香蕉派 banana pi github 最新Linux 代码升级到kernel 4.2. https://github.co ...

  9. 【错误记录】PyCharm 中从 GitHub 中 Clone 代码到本地报错 ( OpenSSL SSL_read: Connection was reset, errno 10054 )

    文章目录 一.报错信息 二.解决方案 一.报错信息 在 PyCharm 中从 GitHub 中 Clone 代码到本地报错 : 10:01:37.091: [C:\Users\octop\Pychar ...

最新文章

  1. 腾讯“科学探索奖”提名报名正式启动
  2. 前端里面如何进行搜索引擎优化(SEO)
  3. JavaScript: 代码简洁之道
  4. c++名字查找和作用域的一个例子的感想
  5. 【Flashback】Flashback Database闪回数据库功能实践
  6. LightOJ1298 One Theorem, One Year(DP + 欧拉函数性质)
  7. java jdk 类加载机制_JDK源码阅读之类加载
  8. [Hadoop in China 2011] 中兴:NoSQL应用现状及电信业务实践
  9. 李宏毅 课程打包_按功能而不是按层打包课程
  10. 从操作系统层面分析Java IO演进之路
  11. html5判断多选框是否选择的函数,复选框(checkbox)、多选框
  12. qt连接mysql4.7数据库_QT4.7访问MySQL的驱动编译过程
  13. 关于Mysql的错误:No query specified
  14. 三星U-Boot-1.1.6源码分析lowlevel_init.S (board\samsung\smdk6410)
  15. linux看配置命令,Linux下命令行查看系统配置
  16. 华为中兴腾讯拿下国家科学技术进步奖,中南大学一作奖项总数全国第三
  17. 学hadoop需要什么基础
  18. 【maven】maven pom文件详解
  19. 计算机快捷键大全截图,电脑截图快捷键是哪个?电脑快捷键使用大全
  20. 004-CentOS换清华源

热门文章

  1. Maven——windows下安装配置及IDEA设置本地仓库的步骤总结
  2. JVM——Java内存模型(JMM)
  3. jquery-通过按钮控制模态的显示与隐藏
  4. Laravel 发送邮件报错的解决方案:PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1.
  5. 【翻译】ANDROID KTX – 使用Kotlin进行Android开发
  6. RocketMQ 重试机制
  7. 学习hashtable,处理“海量”数据
  8. Juniper Olive动态路由RIP配置案例
  9. Enterprise Vault 2007 Series [PST Migration]
  10. Dojo学习笔记(7. dojo.dom)