Is there a web development environment for Chromebooks? - cloud9-ide

Ideally I would develop against an existing github repo using only a chromebook (not linux) and an IDE similar to vscode.dev. I've tried stackblitz and glitch and vscode.dev and have not had luck with pulling, building and pushing. They all seem great at editing and even running code in node. Does anyone have practical experience with chromebook only development?
I am wanting to push changes to a github repo after testing locally on a chromebook. I found that stackblitz offers an offline mode with local files, but I cannot see how to push changes to github.
UPDATE: I switched to a chromebook that allows for a linux console, was able to install vscode and have now have a fully offline development experience that is surprisingly responsive. I have a Lenovo S330.

Related

How to disable SIP on macOS VMs for macOS UI testing in CI/CD environment?

I have been trying to run my macOS UI tests on a remote machine(VM), and it does not work. On a local machine, it works after giving the permissions related to accessibility. After digging through, I realised that you need to have SIP disabled and add the relevant permission.
So, how can I disable SIP on a headless machine in a CI/CD?
Unfortunately, it is not possible to disable SIP on a remote machine. You have to boot in safe mode and disable it from the terminal. And that requires direct access to the machine.
You can ask your provider if they can disable SIP for a specific machine for you, or you can look for providers that do.
There are a few out there, with Codemagic being one of them.
We released SIP disabled macOS images with the latest and beta Xcode versions so you can run macOS UI tests without any extra configuration.
It was frustrating not being able to test the UI of a Mac app, but I’m happy with what we managed to release.
I also wrote a blog post if you are interested in getting started with macOS UI testing.
Full disclosure - I’m a DevRel at Codemagic CI/CD, focusing on helping the community build for Apple platforms.

Can't access project hosted on ip address from other devices on same wi-fi

I am a frontend developer and I have set up my projects to run on 192.XXX.X.X instead of localhost so I can access it from my phone.
Recently, this stopped working. On all projects.
Ones using webpack and ones using simple VSCode live-server.
Unfortunately I have issues troubleshooting because in the meantime I have installed a lot of things, so I am not sure what could be the culprit.
Most recent things I have done:
Installed parallels
Upgraded to Big Sur
Realized that company provided VPN doesn't work on it
Reverted back with TimeMachine to Catalina
Any suggestions are welcome.

Deploy ruby on rails application built on windows

I'm looking on ways to deploy a ruby on rails 4 app built on windows 7 box. I'm looking to use Heroku at the moment.
Can you please provide any pointers regarding heroku or any other easier and cheaper deployment options available out there..
Any issues That I may face due to the difference in OS in the dev environment (windows) and the deployment environment (linux on heroku)?
This is my first professional app, so any pointers will be helpful for now and also for future applications that I may work on.
Also what is the more preferred OS for ruby on rails development ?
Thanks in Advance!
You probably won't face any issues with deployment on Heroku. Heroku is the easiest option out there (albeit one of the priciest once you're off the free tier)
What's more likely to happen on Windows is that you'll find it hard to build certain gems for development, and cutting edge releases will probably not work well.
Much better to pick up a Linux distro for this.
You can also check out bluemix , which is also free for small projects. I know Heroku is not particularly windows friendly, not sure if bluemix is any better in that reguard, but it is extremely easy to deploy to.
Heroku has set of tools called heroku toolbelt, that makes easy to deploy apps to heroku. you can download heroku tool belt for windows from here
Generally you should be able to port any rails app you develop in windows to Linux/Mac, how ever since the ruby/rails community is largely built around Linux/Mac, responses/options to your issues regarding the rails apps will be low. and there are some gems which doesn't work on windows at all. So its best to move to either Mac/Linux if you are planing to continue on rails.
Once you come to Linux/mac world there are lots of providers much cheaper than heroku like DigitelOcean, however heroku would be the easiest for a beginner I believe.
HTH
One strategy you could try is to do the following:
Set up a VirtualBox or VMWare VM running Linux (Ubuntu would be a good candidate if you are not used to Linux).
Get your project into the VM and get the bundle install and everything working in Linux, you will probably find you need to make some changes in your Gemfile if you have anything windows specific there.
Install the Heroku tool-belt on the Linux VM and install to Heroku from there.
Taking the Windows / Linux transition pain on your local machine will make it much easier than Windows direct to Heroku.

IDE/Hosting issues w/ Meteor/WebStorm/Cloud9

My next work project is going to be using the Meteor framework. Our team recently got licensed to use WebStorm IDE, which has been our favorite up until this point. so we were planning on continuing the project with it.
That is, until it was time to install it. Then we found out that the Windows version of Meteor is only partially finished, and all of our development PC's are windows based.
So we were considering as a work-around for this, we may use Cloud9 as our development IDE, as it supports Meteor. The sharing functions may help our team productivity a bit as well.
But this has some problems...
First, we just invested in WebStorm, so we would ideally like to use it as our primary IDE. But I do not know how we would be able to work with WebStorm if we can not run an up to date version of Meteor on our windows systems?
Second, I'm not sure if it's even possible to use Cloud9 as the development IDE, but then move the C9 project over to our Ubuntu server for hosting when it is time to go live?
Third, even if we could deploy to our Ubuntu server after C9, we plan on many updates to our live application after deployment. I'm not sure if there would be issues with this if our development is on C9 and deployment on a completely different server.
So I'm wondering if anyone has a potential solution for these issues? Is there any way for us to work with Meteor on our live Ubuntu server, or Cloud9, from WebStorm on our Windows systems? Or any way we could integrate Cloud9 and WebStorm together for the best of both worlds? Or any way we could use a Linux emulator or something to allow us to use Meteor on our local windows system, without making it difficult for multiple developers to work on the project at the same time?
Thanks in advance!
The Windows port of Meteor actually is working quite well; the only major issue is that mobile development doesn't work. That is going to be fixed in Meteor 1.1 anyway, whose primary goal is to get Windows support up to that of Linux and Mac OS X.
As the user who initially pushed for Webstorm to add Meteor support back in October 2012, I'd recommend starting with Webstorm and Meteor on Windows right away, unless you need mobile development. In that case, you need native *nix machine (an Ubuntu VM on Windows won't be able to run the Android emulator, for example).
WebStorm also supports server-side Meteor debugging, and they're pretty responsive when it comes to fixing bugs you report on YouTrack. See for example https://youtrack.jetbrains.com/issue/WEB-13490
With Cloud9, you cannot currently SSH into a workspace you have, so a hybrid Webstorm/Cloud9 situation might not be doable at this point.
As for deploying your stuff from Cloud9, that is very doable. There's some documentation here about that: https://docs.c9.io/v1.0/docs/deploying-via-the-command-line

I want to develop in Go on Windows and deploy to Google App Engine

I want to develop in the Go Language (go-lang) using Google App Engine to run my app and I use IntelliJ on Windows. How can I do this?
If you use the official installer, it is very easy to get Go up and running on Windows.
Edit: The latest Zeus beta now has support for the Go Build, Format and Run commands and also does Go initellisene (i.e. auto complete).
Edit, Jun 2012: As at the 1.7 version, there is now experimental support for windows:
https://developers.google.com/appengine/downloads
The Go App-Engine development server is available for Linux and Mac only [1]. The Go language is available for Windows, but not the app-engine tools. I imagine it would be possible to port the GAE dev server to run under windows, because it just uses python, go and sqlite, but I don't think anyone has done so.
Of course you can run a linux virtual machine, or remote into a linux server to do the development. You could even edit in windows using sftp if your editor supports it.
[1] https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Go
You can find golang builds for Windows here. Golang is primarily focusing on unix-like OSs (golang devs are from bell labs), but while writing an application for appengine you won't hit any issues because you're using a Window's version. The appengine platform doesn't let you do things like manipulate files: instead you use the appengine's datastore/blobstore to store things. The main issues the Window's golang port are related to simply operating system functionality and since you won't be using any on appengine, there's no issue.
As for an IDE on Windows that has code completion, goclipse probably has the most "out of the box"; it's distributed with golang plugins and autocompletion. Golang itself is distributed with plug-ins/configs for the most popular editors (vim, emacs, sublime, etc...). You can use pretty much any popular editor with nsf's gocode for autocompletion if you want to take a little time to set things up.
The development for golang is pretty quick; I'm actually turned off from using appengine until it supports Go 1. There are some big changes between r60 and the current golang. Most libraries are keeping up to date with the quick golang development, which causes some pains using r60 golang.
There is a Windows version of the go toolset, you will have to install that from golang.org.
You can start with goclipse. If you don't like Eclipse, then you can use Emacs (available from gnu.org) for Windows; or any editor that you like.
Go on Windows isn't fully supported yet. Another option would be to download Virtual Box; install Linux on a virtual machine and use that as your development machine.

Resources