Giter Site home page Giter Site logo

code-with-codespaces's Introduction

Code with GitHub Codespaces and Visual Studio Code

Develop code using GitHub Codespaces and Visual Studio Code!

Welcome

GitHub Codespaces is a development environment that's hosted in the cloud.

  • Who this is for: Developers, DevOps Engineers, Engineering Managers, Product Managers.
  • What you'll learn: How to create a codespace, push code from a codespace, select a custom image, and customize a codespace.
  • What you'll build: A codespace with devcontainer.json files, customizations, and personalizations.
  • Prerequisites: If you need to learn about Visual Studio Code, read Visual Studio Code Docs first.
  • How long: This course can be completed in less than an hour.

In this course, you will:

  1. Create your first codespace
  2. Add a custom image
  3. Customize your codespace
  4. Personalize your codespace

How to start this course

start-course

  1. Right-click Start course and open the link in a new tab.
  2. In the new tab, most of the prompts will automatically fill in for you.
    • For owner, choose your personal account or an organization to host the repository.
    • We recommend creating a public repository, as private repositories will use Actions minutes.
    • Scroll down and click the Create repository button at the bottom of the form.
  3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README.

Get help: Post in our discussion boardReview the GitHub status page

© 2023 GitHub • Code of ConductMIT License

code-with-codespaces's People

Contributors

avanberne avatar cmwilson21 avatar dependabot[bot] avatar dkalmin avatar fhinkel avatar heiskr avatar nkevi avatar reliccornhusk avatar rustedredswitch avatar sinsukehlab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

code-with-codespaces's Issues

[Bug] Action in step 3 failing due to search string not found.

Summary

Action in step 3 failing due to search string not found.

How to reproduce

  1. Go to '.github/workflows/'
  2. Click on '3-customize-codespace.yml '
  3. Scroll down to 'line 62'
  4. Validation Expecting "postCreateCommand" in ".devcontainer/devcontainer.json"
  5. Instructions in Readme to create and update devcontainer.json do not have the string "postCreateCommand", so the action to go to next step fails.

image

Additional context

Just by including "postCreateCommand" with blank command let the action pass to next step.

[Bug] Step 0 workflow not being triggered

Summary

When I create a repository from template by following the instructions on the README, the README does not update itself after refreshing the page after 20 seconds. In investigating the cause, I noticed that there was not execution for the Step 0 workflow in the 'Actions' tab. This is a consequence of the type of trigger being used (create instead of push).

I did notice one exception to this that is if the user selects the check box 'Include all branches', which also creates a branch besides 'main' during repository creation and thus runs the workflow. However, this checkbox is not selected by default and I suspect it would not trigger the automation if at any point there are no other branches besides 'main'.

How to reproduce

  1. Follow the steps on the README for creating repository from template.
  2. Notice the README will not be changed after 20 seconds.

[Bug]

Summary

A clear and concise description of what the bug is, and what you expected to happen.

How to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Please include screenshots.

Additional context

Add any other context about the problem here.

[Bug] Using 'setup.sh' in step 4 doesn't work

Summary

Using a file named 'setup.sh' in step 4 does not work to initiate installation of dotfiles (or, as this course has it, the sl steam locomotive).

How to reproduce

  1. Follow the course to step 4.
  2. Create setup.sh with the sudo apt-get lines, as instructed.
  3. Create a new Codespace, as instructed.
  4. Wait while the Codespace is set up.
  5. Try running /usr/games/sl
  6. See the following error.
bash: /usr/games/sl: No such file or directory

Expected results and acceptance criteria

  • echo $PATH should contain /usr/games.
    • One way this can be achieved is by adding export PATH=$PATH:/usr/games >> ~/.bashrc to devcontainer.json under postCreateCommand.
  • Running sl from the home directory should work.

Additional context

I found that instead by using a file named 'install.sh', as documented in Personalize your codespaces#Dotfiles, during my "How to reproduce" step 4 (i.e., "Wait while the Codespace is set up.") I saw an "Installing Dotfiles" progress indicator in the terminal area.

image

[Bug]

Summary

A clear and concise description of what the bug is, and what you expected to happen.

How to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Please include screenshots.

Additional context

Add any other context about the problem here.

[Bug]

Summary

A clear and concise description of what the bug is, and what you expected to happen.

How to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Please include screenshots.

Additional context

Add any other context about the problem here.

# Feature description

Feature description

Hi! In the reviews for the iOS app, you asked me to write to the mail. The reviews were:

The best of ssh apps!
I would also like to be able to reduce the font on the session selection screen. It doesn't fit enough. And add the ability to leave only session recognition on this screen, without login@host data.

Developer's Response
,
Hello MrakoMaks 👋
Thank you so much for your review 🙏
I understand the fact you need to reduce the font size on the selection screen. I will make an improvement.
Could you explain me further your second request?
You can contact me at : team {AT] webssh (DOT} net
Have a nice day ☀️

I meant the following:

Now we see each host as two strings, a Name and a Host. Perhaps for someone it may be redundant as well as for me. Having the ability to change this in the settings would be another plus)
I'm sorry for the bad English.

Have a nice day :)


Best regards,
Maxim D.

Originally posted by @isontheline in isontheline/pro.webssh.net#892

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.