How to enable drupal libraries API - drupal-7

I have downloaded and extracted libraries API as it is
sites/all/libraries
but seems not working my dependency library PHPExcel. Any suggestion?

Did you download and enable the libraries module also? This module has to be installed under "sites/all/modules" folder (according to your setup).
Inside "sites/all/libraries" you have to put the library (PHPExcel) not the module.

Related

How to arrange for Quicklisp to load the local version of a given library

I am using Quicklisp to load libraries in my Common Lisp project and
I need to load a customised version of some library instead of the version provided by Quicklisp.
The customised version of the library is stored in the local projects directory from Quicklisp and local projects have been registered. However Quicklisp still tries to load its own version of the library.
How can arrange for Quicklisp to prefer the customised of the library? (Side question: how can I ask Quicklisp which location it will use to load a library?)
If the project's system file is loadable with ASDF, it is loaded in preference to the Quicklisp-provided version. The easiest way to do that is to put the project's sources into ~/quicklisp/local-projects/ (or wherever your quicklisp is installed rather than ~/quicklisp/) and run (ql:register-local-projects). But other methods, like updating the ASDF registry configuration and putting the project somewhere known to ASDF via the registry, also work.
To find out where Quicklisp is loading your project, you can use (ql:where-is-system "system-name").
Remember that
The local-projects mechanism is configured through a special variable ql:*local-project-directories*. By default, it includes only the local-projects subdirectory in the Quicklisp install directory, but you can add or remove directories at any time to have more places scanned for systems.
To disable the local-projects mechanism entirely, set ql:*local-project-directories* to NIL.
(Quicklisp News Blog)

Automatically add js/css files to ionic projects

I want to automate the injection of new js/css files to my ionic project. So, I found this really useful article, which shows how to do it using gulp inject, but just with my own js/css files (those in js/css folders).
If I now install another external library using bower, for example:
bower install angular-google-maps --save
That library is not automatically injected, because it's installed in lib folder, outside js folder, as it's a library from an external vendor.
I guess I should have another gulp task to minimize the external libraries installed with bower, and put them into js folder to make them injectable. Am I right?
Yes, you are right.
Quoting your article:
There is all of kinds of additional functionality that you can perform with gulp such as minifying of css and javascript files, running npm/bower commands, or running sass compile commands. The gulp-inject is just one module.
You can use a module like main-bower-files to retrieve these files and do whatever you want with them.
You can also have a look at this answer to get a starting point.

Cannot add SQLite plugin to intel xdk, shows missing sqlite-connector.jar file

When i try to add this plugin to my project in Intel Xdk using third party plugin add option, its shows misssing jar file.
error:
projectname\plugins\cordova-sqlite-storage\node_modules\cordova-sqlite-storage-dependencies\libs\sqlite-connector.jar" not found!.
Please use the link to the Intel XDK third party plugin. Before that please download the project dependency jar file from github and create the directory with cordova plugin SQLite name and place the file in it, include the jar file. Then try to add the plugin using URL .
Hope all working well

How to make CN1Lib that depends on other CN1Lib

I'm trying to create a CN1Lib from Steve's cloudinary source, it uses BouncyCastleCN1Lib.cn1lib.
How do I use this lib in my code?
When I clean build, I got errors pointing to javabc.SecureRandom and org.bouncycastle.crypto, even though I have the CN1Lib inside my lib folder and there's no way to do refresh libs as all codenameone options are disabled because I don't have the `CodeNameOneBuildClient.jar for the taskdef.
You can't nest cn1libs. If you need to use classes from one cn1lib in another you need to specify that as a requirement to your users and change the classpath of the project to compile against the other cn1lib.
Then in the final project both cn1libs should be placed in the lib directory for the project to work.

Including an assembly with your DotNetNuke Module?

I'm developing a DotNetNuke Module using the nonIIS method of module development. Is there any way to include a 3rd-party assembly in your module (when setting it up for deployment)?
I thought about adding it as a reference to the dotnetnuke_nonIIS website project as a whole, but that doesn't seem right considering it's a dependency of the module.
Whatever your local development environment may look like, you will most likely want to be able to deploy the module to a DNN site on its own.
To do that, you can create an installable module zip package - which consists of all of your module assets and a manifest file describing them so that DNN may process them and perform the appropriate actions (run scripts, deploy assemblies to the bin) upon installation.
Check out the DNN wiki for more information about packaging.

Resources