Giter VIP home page Giter VIP logo

codespaces's People

Contributors

dialectpython avatar initcron avatar vibeinitcron avatar vijayboopathy 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codespaces's Issues

No Node

after deployment no nodes showing up getting no nodes

Add support to connect to a port on a client node

We do the static port forwarding right now and drive it through the docker-compose file. However, we should ideally have a feature in akurath to connect to any given port on a node, and open a popup, similar to the project run feature of akurath.

Cannot start service lb

I get an error like below. Please help fix.

cs-ansible_app2_1 is up-to-date
cs-ansible_app3_1 is up-to-dateStarting cs-ansible_lb_1 ...

cs-ansible_app1_1 is up-to-date
cs-ansible_control_1 is up-to-date
Starting cs-ansible_lb_1 ... error

ERROR: for cs-ansible_lb_1 Cannot start service lb: b'driver failed programming external connectivity on endpoint cs-ansible_lb_1 (a970554eee17d99395856636524633a3d8af2967e3a1ef27e7e141f66b6d4e7a): Error starting userland proxy: Bind for 0.0.0.0:80 failed: port is already allocated'

ERROR: for lb Cannot start service lb: b'driver failed programming external connectivity on endpoint cs-ansible_lb_1 (a970554eee17d99395856636524633a3d8af2967e3a1ef27e7e141f66b6d4e7a): Error starting userland proxy: Bind for 0.0.0.0:80 failed: port is already allocated'
ERROR: Encountered errors while bringing up the project.

C:\Users\user\codespaces\cs-ansible>docker-compose ps
The system cannot find the path specified.
Name Command State Ports

cs-ansible_app1_1 /bin/bash /bootstrap.sh Up 22/tcp, 0.0.0.0:81->80/tcp
cs-ansible_app2_1 /bin/bash /bootstrap.sh Up 22/tcp, 0.0.0.0:82->80/tcp
cs-ansible_app3_1 /usr/sbin/sshd -D Up 22/tcp, 0.0.0.0:83->80/tcp
cs-ansible_control_1 /bin/sh -c /usr/bin/akurat ... Up 22/tcp, 0.0.0.0:8000->8000/tcp
cs-ansible_db_1 /bin/bash /bootstrap.sh Up 22/tcp, 0.0.0.0:3306->3306/tcp
cs-ansible_lb_1 /bin/bash /bootstrap.sh Exit 128

Unable to create public forwarded port in devcontainer

This project explains how to forward ports manually, which works fine.

My objective is to simplify the instructions, in particular, to create forwarded the port via the .devcontainer. My source was this doc.

I duplicated the working project to create this new project, with an altered .devcontainer:

// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/docker-existing-dockerfile
{
	"name": "Existing Dockerfile",

	// Sets the run context to one level up instead of the .devcontainer folder.
	"context": "..",

	// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
	"dockerFile": "../For_VSCode.dockerfile",

	// Set *default* container specific settings.json values on container create.
	"settings": {},

	// add network -- enable this as required, e.g., https://valhuber.github.io/ApiLogicServer/Database-Connectivity/
	// "runArgs": ["--network=dev-network"],

	// Add the IDs of extensions you want installed when the container is created.
	"extensions": ["ms-python.python"],
	
	"portsAttributes": {
		"5656": {
			"label": "AdminApp"
		}
	},

	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	"forwardPorts": [
		5656
	]

	// Uncomment the next line to run commands after the container is created - for example installing curl.
	// "postCreateCommand": "apt-get update && apt-get install -y curl",

	// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
	// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],

	// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
	// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],

	// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
	// "remoteUser": "vscode"
}

The port is, in fact, created. The problem appears to be that the port is not public. I verified that by doing it manually.

I tried to explore the code completion, to no avail:

Unable to make port public

....

So, seeking suggestions on creating a public port via the devcontainer.

GitHub code spaces not working with Firebase Flutter Web app

I would like to login into a codespace for my app (https://github.com/sachavieuxroy/firebasecodespaceflutterdemo) on gitHub codespaces using google chrome. Then using the vscode ide running in the browser, I would like to keep working on my app from anywhere, if I have access to an internet connection and a chrome web browser.

Note: GitHub codespaces seems to have some problems with running my application on Android that it does not have on a desktop computer.

Here is a link to a video of me creating/using a github codespace for this application : https://go.sachavieuxroy.com/firebasecodespaceflutterdemo

`missing module docsting

Hi Team,

I just booted up a jupyter template and I cant run any cell or markdown.when I trying to import packages it gives me errors like
"unused pandas imported as pd"
"missing module docstring"

any advice on how to resolve this?Thanks.

Themes and syntax highlighting much worse than VS Code

Perhaps I'm just doing this wrong, but here's what I'm doing and what's going wrong.

First, I use VS Code on my Mac laptop and my Windows desktop. Although I've installed and tried a variety of themes, here's the built-in VS Code Dark theme when editing a JavaScript file in one of my projects.

Screen Shot 2021-04-27 at 2 34 05 PM

I recently tried working on that same project in a Codespace, and attempted to install all the same extensions, and set the Theme again to the built-in Dark theme, but got no syntax highlighting at all:

Screen Shot 2021-04-27 at 2 34 39 PM

When I switch to the Dark+ theme (that I believe also comes with VS Code) it looks the same on my laptop or desktop (as in the first image above--very good) but only a tiny bit better on Codespaces:

Screen Shot 2021-04-27 at 2 34 56 PM

I'm not sure if it's related, but just in case it is, I will mention that, when attempting to enable several of the themes I installed from the marketplace, I would get errors like the one shown below.

Screen Shot 2021-04-27 at 2 26 06 PM

Again, not sure that's related, but it's information you have, if it's helpful.

I was expecting the same syntax highlighting behavior in VS Code locally and in Codespaces, or at least something just as useful even if it weren't identical. However, as you can see from the images above, there is significantly less (sometimes zero) syntax highlighting in Codespaces, which is a serious drawback.

Perhaps I'm doing something wrong?

Ports tab light doesn't trigger when running maven application

When using F5 to run my java service, the light does not light up.
image
Navigating to the forwarded local address works, so the app itself is building and running correctly.
Using a run task that maps to the command mvnw spring-boot:run does cause the light to work correctly.

I get the following output when running F5:

[Client:extension:0b18:liveshare:connection:0327240E2767E6F01ADF98EE412F8A1C64C5:liveshare:WorkspaceClient V] > serverSharing.sharingChanged:
[Client:extension:0b18:resolver:onSharingChanged:5000:Port: 5000 V] run> object #0: {
"sourcePort": 5000,
"destinationPort": 0,
"sessionName": "Port: 5000",
"streamName": "server_sharing",
"streamCondition": "5000",
"browseUrl": "",
"privacy": "private",
"isTCPServerConnectionEstablished": true,
"hasTLSHandshakePassed": false
}
[Client:extension:0b18:resolver:onSharingChanged:5000:Port: 5000 W] trying to change non-existing tunnel

Go to definition not working in VSCode

I'm trying to use go to definition shortcut in Codespaces' VSCode but it doesn't have the expected outcome. By default, the keyboard combination was set to cmd+F12. That was not working so I change the shortcut. Still didn't work. Any ideas how to make this work or under what conditions will/will not work?

Thank you.

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.