Google Chrome "couldn't load oauth2/oauth2_inject.js" - oauth

I heave just read about google's OAuth2. As a start I tried to download the examples presented here:
https://github.com/borismus/oauth2-extensions/tree/master/samples
but when trying to load them to the chrome browser an error message showed up saying that
the extension can't be loaded because it "could not load javascript oauth2/oauth2_inject.js' for content script".
I've searched the web and didn't find this problem to be mentioned. What should I do in order to solve this issue?
Thanks in advance for any help,

The samples do not contain the OAuth2 libraries. Download the "lib" folder from https://github.com/borismus/oauth2-extensions and place it inside the appropriate extension folder.

Related

Google Sheets: How To Open File Offline

So far I've followed the instructions for making files (Sheets etc) available offline using Chrome, but NOWHERE have I found anything on how to actually open and work on a file when offline.
I must be missing something obvious? Any advice please?
If you already activated offline access and selected the desired Sheets files, then you only have to open your Chrome browser (from an offline device) and select one of the offline files. Check the offline guide for a deeper step by step documentation. Please leave a comment if you have doubts about this approach.

Grails 3 web interface with zip upload via form to a folder on the server

I'm trying to create a Grails 3 web interface with an upload form that writes zip files to a folder on the server.
I have already tried a lot of plugins or solutions that can be found here but nothing seems to work.
My code can be found on github (https://github.com/rm93/BIGC).
Would anyone know a solution that I could apply?
I have found a solution to my problem. Instead to give a path to the transferTo method i now I give it a new file.
fileUpload.transferTo(new File("/path/to/folder/data.zip"))

.chm file opening at a given index page from Matlab

I am trying to open a specific page within a .chm file from a Matlab GUI with the web function. Following the instructions and comments found here I have got the url of the desired page (mk:#MSITStore:D:\POv9\Ayuda\ayuda.chm::/html/ayuda1.html). However, when I write the command I need at the prompt
web('mk:#MSITStore:D:\POv9\Ayuda\ayuda.chm::/html/ayuda1.html','-browser')
it does not work (nothing happens neither an error message). I also have tried the following:
web('D:\POv9\Ayuda\ayuda.chm::/html/ayuda1.html','-browser')
web('ayuda.chm::/html/ayuda1.html','-browser')
without success.
I would like to know what I am doing wrong.
If you're on windows this works:
!hh mk:#MSITStore:D:\POv9\Ayuda\ayuda.chm::/html/ayuda1.html
This opens the help file in the Microsoft Help Viewer at the specified page.

how to view pdf files in blackberry?

Can anyone tell me how I can show pdf files in blackberry?
I have tried the jpedal library for java-me but, there are some errors.
Can anyone solve my problem?
Disclaimer: I know nothing about Blackberries.
It looks like rapc.exe cannot find the base Java libraries. Example:
Warning!: Implements undefined
interface:
java.awt.event.ActionListener
Verify that you're passing the correct arguments to rapc.exe.
Update:
Assuming jpedal cannot be used on the Blackberry, here's a SO post that might be useful.
You have to install a PDF viewer to open PDF files on the device. PDF files in email and the browser are rendered and displayed using the BES.

"ytplayer is not defined"

I'm trying to use Youtube API and always get error "ytplayer is not defined".
I've copied the code in http://code.google.com/apis/youtube/chromeless_example_1.html to my .html file, hosted in my computer "ytplayer is not defined". I tried different code but again said "ytplayer is not defined".
What is the problem?
From the YouTube JavaScript Player API Reference:
Note: To test any of these calls, you
must have your file running on a
webserver, as the Flash player
restricts calls between local files
and the internet.
how are you running the application? if its in the air framework, check you haven't got transparency=true set in the configuration. it won't load swf with transparency enabled.

Resources