Where is my Cloud Source Repositories on Google - google-app-engine

I am following the instructions on https://cloud.google.com/tools/android-studio/vcs. I push my code apparently successfully. But when I try to go see my code in the browser I cannot find
In the left navigation bar, select Source Code > Browse

Try Tools->Development->Source Code

As for as my knowledge goes, you could not see your uploaded source code in GAE console. I really appreciate that too, since as a owner you shall have the source code in your own development.
The reason might be more than that. However, GAE is providing option for downloading the source code from the GAE console.
Goto https://console.cloud.google.com/ Open Menu -> Tools -> Development
Use "Clone your Cloud Repository to a local Git repository" tab for downloading the code.
As a point of note, you could also disable the option of downloading the source code from the GAE. This is a better safer option, if you have good protection of your source code in your machine or somewhere.

Related

same-site-by-default-cookies alternative for Chrome

I am writing to ask about --disable-features=SameSiteByDefaultCookies feature which was part of chrome earlier.
I am working with IT MNC and recently we promoted very important functionality to Production. We have started charging customer for this. It is legacy application .
This application can't be tested locally anymore! Earlier we could point out application to lower environment with custom settings in project's config.js file and disabling #same-site-by-default-cookies in Chrome and application could be tested locally. But now we can't!
We tried many different settings and debugged but it could not help !!
It is noted that these settings no longer work in Chrome 94+. These flags are removed entirely.
As per my analysis it is found that application still can be tested locally if we get the portable Chrome. Or older version of Chrome installed in our System. However as per the compliance policy of company and client, we can't get old or portable chrome in system. We have latest version only.
Earlier we used to perform following to run it locally:
Open CMD
cd to Chrome path ( Till Application )
Fire the following command:
chrome.exe --disable-web-security --user-data-dir=C:\XXXX\XXXX\localwlp --disable-features=SameSiteByDefaultCookies"
This would open a new window of Chrome ( Close all before firing the command) and then we could test the application locally.
Anybody is aware about the alternative for this? That would be really helpful. We can't test the application locally so for even small changes, we require to deploy on lower environments which takes a lot of time and also code will work or not can't say.
I look forward to hearing from you all guys.
Thanks,
Kailash Nirmal.

Why does System.IO.Compression.ZipFile.ExtractToDirectory() throw InvalidDataException on Artifact.zip from TeamCity?

I recently updated Jetbrains Team City to version 2020.2.2. I use it to build my project whenever I check code into my source repository. I use the TeamCity API to DownloadAll in order to retrieve an Artifacts.zip that contains all the files generated by the build.
The recent update has a bug in it which is corrupting the Artifacts.zip file that is downloaded.
I am now getting an InvalidDataException "A local file header is corrupt." when My program calls System.IO.Compression.ZipFile.ExtractToDirectory() on the Artifacts.zip file.
I am able to right click on this very same file and unzip it using the built in windows "Extract All" and also with 7-Zip extract to folder. No problems with those, but for some reason, my program throws the above exception.
I use the following command on the Team City API to get the file:
https://{myserver}/httpAuth/repository/downloadAll/{myrepository}/{buildId}:id/artifacts.zip
Does anybody know why this would have just started happening on February 1, 2021?
I wrote up a bug on the JetBrains Team City site describing the above problem. They responded this morning with a fix. This appears to have been introduced with TeamCity Enterprise 2020.2.2 (build 85899):
Please add an internal property: (Click blue link to the left for instructions on how)
teamcity.internal.artifacts.useZip64=false
We applied the above property, and the problem was immediately resolved. No reboot of TeamCity was necessary.
Here is a LINK to the bug/solution on the JetBrains TeamCity site.

Start google course builder from Ubuntu command line

I followed these instructions to install Google CourseBuilder. Used Ubuntu via vagrant on a vm. I want to access my course site on my host windows pc since my ubuntu does not have a GUI. To do this it recommended I use the --noauth flag.
It asks for a verification code - where do I get this? See command I ran below:
Notice it says:
Go to the following link in your browser:
https://accounts.google.com....
You have to open that link in your browser(by copying and pasting or by clicking). This will present the Google Account Chooser dialog where you select the Google Account you want to deploy the course builder app with... At the end of the flow you'll be presented with a code which you then copy and paste back in your shell and Enter.
I also experienced some trouble with installation. For anyone having trouble installing Course Builder from any operating system (Windows, Linux, Mac, etc.), I made a guide and video which details how to do so:
https://www.youtube.com/watch?v=zfNQle_ZxLc
The full text guide is in the YouTube video's description.

How to use ipdb with Google App Engine?

GAE blocks using local libraries that it doesn't support on the server. Generally this is a good thing. Unfortunately this means that ipdb is blocked also. Adding the necessary directory for ipdb to sys.path doesn't work. It continues to give import error.
I've tried copying the ipdb+IPython folders into my gae folder, but this errors on import resource (/usr/lib/python2.7/lib-dynload/resource.so)
Another option might be to try editing GAE so it allows temporary access to local libraries?
The reason I desire ipdb is mainly for it's history and tab completion functionality.
There appears to be a way to get some readline support with pdb on Linux systems, found here https://groups.google.com/forum/?fromgroups=#!topic/django-non-relational/C0g3ZYuhoMw
Basically install the package rlwrap, then run the local server similar to this:
rlwrap python manage.py runserver

where/ how can I get the selenium server source code used to build 2.0b3

I am trying to apply this bug fix http://code.google.com/p/selenium/source/detail?r=11856 to the selenium-server-standalone-2.0b3.jar.
Does anyone know where I can get the source code? The jar only contains class files.
Or if there are alternate ways of getting what I need, please do tell.
Thanks,
-Denali
You should be able to check it out from SVN:
Use this command to anonymously check out the latest project source code:
Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://selenium.googlecode.com/svn/trunk/ selenium-read-only
I am not entirely sure how this project branches their code, but I assume it would be a branch in the project for a release.

Resources