gerrit long subjects get truncted using command line - gerrit

We have a review with a very long subject, if we try to get its info using command line tools, the subject will be truncated. This is annoying since the subject is very important to us.
For example:
~]$ ssh -p 29418 gerrit.xxx.yyy.zzz.com gerrit query 4363054 --format=JSON {"project":"xxxx","branch":"xxxxx","id":"Ie6ce47917334c48735e69e5644b847050ae7d9c9","number":4363054,"subject":"this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo","owner":{"name":"xxxx","email":"xxxx","username":"xxxx"},"url":"xxxx","commitMessage":"this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, and there are more text in the behind........................\n\nChange-Id: Ie6ce47917334c48735e69e5644b847050ae7d9c9\n(cherry picked from commit d618ed244217e5bd6f677f16f7233c8d23c28ef4)\n","createdOn":1655877836,"lastUpdated":1655882901,"open":false,"status":"MERGED"}
The actual subject is: this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, this is a demo, and there are more text in the behind........................
My question: how to prevent gerrit from truncating the long subject?
In addition, the possibility to get the subject from the "commitMessage" is low, because there will be many other additional text be added.

Related

How to insert Page Break to google document by PHP code

I want to add PageBreak after Some Text in Google Docs API PHP.
I got reference Insert page break into google document in insertText(), that \f will add page break; But it is not working for me.
Finally i Got my Answer after a long Research.
Google PHP API CLIENT for Google Docs is still under development. In GitHub Repo https://github.com/googleapis/google-api-php-client-services/tree/v0.93/src/Google/Service/Docs , you will see that in Tag 0.93 Branch There is class for InsertPageBreakRequest in batchUpdate, and still not merge with master Branch. Clone tag v0.93 Repo and get it done.

Testing in Aqueduct 3.0 Pre-Release

I have a hard time figuring out how to test in Aqueduct 3.0 Pre-Release.
I see an example in the Snippets section of the documentation that uses following to connect to an endpoint:
app.client.request("/endpoint").get()
But when I look at the example_test.dart it looks following:
harness.agent.get("/places")
So it seems that there were some changes.
In the "Writing Tests" section of the documentation I can't figure out, into which files or classes the code snippets go.
Also it took me quite a long time to figure out how to run tests:
dart test/example_dart.test
I was searching for "aqueduct test" or something similar.
Is there some more documentation, or a full code example, how to setup a test environment and write tests in 3.0 Pre-Release (with get, put, post, delete)?
The published documentation site is lagging behind, but the documentation has been written. The markdown is available here: https://github.com/stablekernel/aqueduct/blob/docs/3.0/source/docs/testing/tests.md.
It is also worthwhile to install look at the tests in the template projects, especially the larger templates: ‘aqueduct create -t db_and_auth projectname’.

Why does the angular-material `Getting Started` example not actually work?

Is it just me, or is the angular-material "Getting Started" example broken?
On that page (link above), there's an inline codepen to show using angular-material. But the demo doesn't work! (In particular, I don't see a button to collapse the sidebar.)
Since I used this example in my started project, I spent quite some time troubleshooting it -- to no avail. Then, I realized the example itself it may be broken. And sure 'nuff, it is!
Does anyone know what the actual bug is, so I can work around it on my test app? It must have worked at some time; but I can't figure out why it's broken now.
Thanks!
That particular pen is working fine for me but I have noticed a few are not working, and it's due to the angular-material.js link being incorrect in the dependencies (under the pen's settings) the link provided redirects to the CSS.
This is intentional - the sidebar only becomes collapsable on smaller screens and is open on larger screens. Shrinking your browser window will show the collapse button.
That being said, the Getting Started page is definitely in need of an update. It is a good guide for a basic page structure, but the individual demo pages will be a lot better if you're looking to try out some of the components. (Every demo has a CodePen link to open an editable version.)

Wordpress site with timer that works in preview but not when published

I have a timer script (see it working standalone at http://pointy-end.com/timer/timer.php)
that I have copy/pasted into customloop.php. It works fine when the post is previewed, but when published it's no longer possible to select a time (3,5,10 minutes) to kickstart it.
I'm a newbie, and I can't figure out why this would work in preview but not when published.
I've disabled all my plugins (except for Single Post Template, Jetpack by WordPress.com,PHP Code for posts & WP Super Cache.
You can see it NOT working at http://pointy-end.com/image-writing-prompt-may-24/
I'd REALLY appreciate some help. Thanks guys, Cheryl

Website and Firefox Plugin

I have created a website that downloads videos from Youtube. But now I want this as a firefox plugin.
I searched in google since last 2 days but hard luck to find the things. So please help me to convert my website code to firefox plugin.
Thanks
Take a look to Add-on SDK. Here the documentation, and you can also download it from Github.
I would say that the Getting Started section of Add-on SDK docs is a good place to start your reading.
You can also join the IRC channel #jetpack on irc.mozilla.org and ask help directly to the SDK team, if you have any doubt!

Resources