Github Source code of demos in "Forge | RCDB" are not found - autodesk-forge

I'm looking for source code of Forge demos. I click github icon of some demos but not found. Does anyone know the link for the source codes?
https://forge-rcdb.autodesk.io/configurator
In addition, some demos are broken and doesn't work properly.
For example, this.
https://forge-rcdb.autodesk.io/configurator?id=5a361b2b58144b5ed2936ddf
Even I click the object, nothing show up.

Is this https://github.com/Autodesk-Forge/forge-rcdb.nodejs the source code which you are looking for?

Related

Click on the link that point to twitter return ERR_BLOCKED_BY_RESPONSE error

I've have simple link:
...
I use it on my CodePens to link to my profile on Twitter. Here is a base pen that I link to other pens. https://codepen.io/jcubic/pen/WZjbgq?editors=0010 I use it for a long time, and now when I've checked. The link doesn't work.
I've got an error that the server blocked my request and I've got the error ERR_BLOCKED_BY_RESPONSE
I've tried to use rel="noreferrer noopener" but have no effect. I'm not able to open links that point to Twitter.
Does anybody know what is happening and how to fix it? The only way to visit twitter is to copy-paste the URL and open it in a new tab.
I use Fedora GNU/Linux and Google Chrome.
EDIT:
Weird is that it's only happened in the CodePen iframe. I can open Twitter links just fine when in debug mode.
I can report this to CodePen support but if you know why it's happening I will be able to why it's happening and maybe provide a solution.

How href="#" works?

https://www.rcsb.org/stats/growth/overall
On the above page, the link under "CSV" is shown as https://www.rcsb.org/stats/growth/overall#. When I click it, it will download a CSV file. Could anybody show me how the browser figure out the actual download URL? Thanks.
It's happening with an onclick event in one of these libraries. You'll have to dig through to find out which. I'm using firefox Developer edition. It does a great job showing what event triggers are attached to elements.
Here's some additional info about the library DataTables JS which looks like what this is using: https://datatables.net/extensions/buttons/examples/initialisation/export.html
Example:
'''http://example.com/link/to/file.csv;">Download file!'''

source code for monodroid map tutorial

i'm trying to follow this tutorial here
http://docs.xamarin.com/android/tutorials/Maps_and_Location/Part_2_-_Maps_API
but am stuck at the overlay part.. some part of the article mentioned that there's supposed to be a source code that came with the tutorial but I can't find it anywhere... anyone here knows where to get the supposed source code?
The sample code is linked to from the first page of the tutorial: MapsAndLocationDemo.zip

Chrome extension popup, pictures and links are not working

I'm writing a chrome extension that creates a popup when the button is pressed. The popup is a simple HTML file that includes links and images. When I press the links on the popup nothing happens, and the pictures show up as empty white boxes. Does anyone know how I could fix this? The picture files are saved in the extension folder if that makes a difference.
Thank you so much!
Most probably you're dealing with two different issues.
Regarding the non working links, the simplest way to deal with it is to add to the HEAD section of your popup or a specific target to each link.
Other approach, for instance, involves associating onclick javascript events to open new browser tabs with the associated url.
Did you check out the Getting Started Tutorial about how to write extensions at http://code.google.com/chrome/extensions/getstarted.html?
It's got everything you need to walk through the basics of writing an extension that does almost exactly that. There's also a link to debugging extensions, which will hopefully help you to figure out if it's something else that's going on.
Thanks!
PEte

Is it possible to save changes in Firebug locally?

What I'm trying to do is to save the changes I make to CSS and HTML on different sites with Firebug.
Just to be clear, I don't expect Firebug to upload the changes to the server via FTP or anything. I just want to save the changes locally, so only I will be able to see them.
For example I've seen a few Firefox/Chrome extensions that add a download button under every video on Youtube, so I know it's possible to do that somehow.
If you have a different way to achieve what I'm trying to do, I'll be glad to hear about it.
(It doesn't have to be with Firebug.)
Thanks in advance!
If you don't mind using Web Developer Toolbar it's easy to save changes made to the DOM (and CSS).
When you install the toolbar, you'll get a "View Source" menu, click on that and choose "View generated source". Then just copy and paste that into a .html file.
You did not say if you alter your HTML or CSS, if CSS, FireFile is a very good addon for this.
Edit, with some Googling, i found FireDiff, which states that it can export changes made in Firebug, i have not tested it bit it's worth checking out.
You could try using Greasemonkey.
It has support for adding custom scripts that are run whenever you load a page (linked to which pages it should load on) and that can make changes to the page dynamically.
https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
The http://chrispederick.com/work/web-developer/ web developer toolbar will let you add a user style sheet to a site which should achieve your goals.
This may or may not be exactly what you're asking for, but you can download the extension FireDiff in order to save changes made with FireBug. I made a little tutorial on how to do it here: https://www.youtube.com/watch?v=m4OmZLX2zd4
I have a somewhat simlar use-case that I solved differently. I'm not sure if it is what you are looking for or not. I'll describe the behavior and if that is helpful I'll explain exactly how I implemented it.
I changed the code that execute when you click "Run" (or Ctrl+Enter) to check to see if the first line of the code is a hard-coded string //LoadFromFile:<file path>. If it is, and the file exists then I pull the file off of the local file system and run it instead of executing the code in the console window. This way I can use an external text editor to write code.