creating new project with firebreath [closed] - npapi

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am currently tasked to create an NPAPI plugin. And I've read that it will be better to do it with firebreath. The problem is I don't know how to start a project. So I researched and found a tutorial from firebreath.org. But when I tried what he had done in the tutorial, I can't do it. He used CMD to retrieve the source code for firebreath. The command was "git clone git://github.com/firebreath/FireBreath firebreath"... In the tutorial it retrieved the source code.. in my case it returned an error... saying git is not a recognized batch command... any ideas what happened? thanks :D

You need to install git. If you need help with that, it's probably a question for superuser.com, since it's not really a programming question.

You can either install Git from here or simply download the firebreath zip file. Once you've done that, follow the instructions as in this answer: How is an ActiveX wrapper created with FireBreath?
As Taxilian says, git has to be in your system path (environment variables of Windows) if you want to use git from the commandline. Setting/adding the path happens during the installation of git.

If 'git' is not recognized in windows even after adding to the system path try using Git for Windows which provides 'Git Bash' (a command prompt like interface) which is convenient for using git by commands.

Related

How to manage static files in shadow-cljs? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
For example, I have an index.html for the project.
I'd like that whenever I build the project, it's automatically copied to the public project. Is there a built-in way to achieve this?
There is a built-in hook to copy (and potentially modify) a HTML file.
In can be configured in your build config via
:build-hooks
[(shadow.html/copy-file "src/html/index.html" "public/index.html")]
All paths are relative to the project root. This only copies that specified file, nothing else. You could write your own hook to copy more or just use a separate command to copy the files manually.
I typically just put all the files in their "final" place from the start and just have a public/js folder or so that is git-ignored that I can delete and will be recreated when I build my CLJS. That way there is no need to copy anything to begin with. ;)

Standalone Library to Connect to MySQL Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I've recently wrote up a little application for work to ease our on the fly notetaking. I wrote the program in IronPython, but have since hit a brickwall as I can't find an easy way to connect to an external MySQL server we host for record keeping.
My constraints for this application are that it has to be purely portable across both Win XP and 7 systems. So basically, no installations.
I've read up on MySQLdb and some others but can't seem to find anything that does not require installation.
What classes or libraries can I use to straightforwardly connect to a MySQL server, without installing anything? If there are none for IronPython, is there one for another language? Alternatively, is there a way to use MySQLdb without requiring it to be installed on the client system?
A very simple and easy to deploy solution is using Connector/Net.
You only depend on a single assembly (mysql.data.dll) that needs to reside beside your application (or wherever you choose).
The documentation has a few examples on how to use the connector from C#/.NET which can be used as a guide on how to use it from IronPython as well.
Another possible solution could be using Connector/Python. It is native python without any managed or native assemblies but it comes in the form of several .py files which could possibly be embedded within your executable.
MySQLdb probably won't work because of its native assemblies.

A clarification on GNU licence [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I am using Cygwin to compile a third party application called iPerf.exe that I am using as a plug-in to my application. We are planning to distribute this application to our users. I know that GNU licence agreement of cygwin says that if you are planning to compile your application using cygwin then please be ready to make your code open source.
I am not compiling our entire application using cygwin. I using cygwin because we are using iperf.exe which was written for Linux. I had to change some of the source code and re-compile it in Windows to produce windows executable.
Here is my question:
Under GNU licence, do I have to release the iPerf.exe code that I have changed or I have to release the entire application code? I would not be allowed to release entire application code so I hope releasing my changes to iPerf.exe should be suffice.
If your iperf.exe is linked against cygwin1.dll, then you must either release it under an OSI-approved license (as well as providing the sources for Cygwin itself if you distribute that too) or purchase a license buyout from Red Hat, as described here.
As for your application which uses iperf as a "plugin", that depends on the connection between the two; you'll need to be more specific to get a clear answer.

Erlang MySQL Library for ejabberd [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have just started playing with ejabberd server for XMPP stuff.
I could setup it up successfully on a VPS using the default Mnesia database.
Now I am trying to configure ejabberd to use a mysql database (instead of Mnesia). I am following the documentation. I have done everything except install the Erlang MySQL library. Unfortunately, the link they give in the document is broken. The link is: https://support.process-one.net/doc/display/CONTRIBS/Yxa.
By, googling I could fing this github repo that claims to be an extension and enhancement of the driver that is linked on ejabberd documentation.
I WOULD LIKE TO KNOW WHAT IS THE RECOMMENDED ERLANG MYSQL LIBRARY (TO WORK WITH EJABBERD).
I found here a supposedly enhanced version of the library. According to the site:
This MySQL driver for Erlang is based on the Yxa driver obtained from
Process One (at
https://support.process-one.net/doc/display/CONTRIBS/Yxa) It includes
several new features such as prepared statements, transactions, binary
queries, type-converted query results, more efficient logging and a
new connection pooling mechanism.
I installed erlang tools on my ubuntu instance that allowed me to compile the library.
There are a lot of forks of emysql driver in the wild b/c of original driver is no longer maintained, but recent news I heard that it was picked and improved, check this repo

How to silently install Chrome or is there a portable version? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Read first please: This solution is intended for a limited amount of elder users and they certainly care more about installing "another thing" than about a silent installation (they don't even trust the internet and don't use it) and also they are fully aware that I will save that process for them; yes, I told them and they agreed. If you have a better solution, please share it with me.
Now the question: I need to silently install/copy Google Chrome in a Windows computer without internet, while installing another offline web application of mine provided in a CD. Is there any reliable portable version of Chrome?
In other words: I need to save the chrome installation process to the users, so they only need to execute a single installer.
Extra info: I'm currently using http://www.advancedinstaller.com/ to generate the installer.
Thank you.
Here is Chrome Portable http://portableapps.com/apps/internet/google_chrome_portable