w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
What's a good way to set up Closure Compiler on Linux? Or, where should Java .jar's live on a Linux?
If you using the java command directly, then you'll have to provide a path to the jar in question. It's probably easier to place the jar in one place and create a shell script that handles the invocation and jar path.

Categories : Java

Which Linux platfrom required for Installation of ingres database version 9.2 and openROAD version 4.0
If you want answers don't use Stackoverflow as its ridiculous policies prevent me supplying the four links that would have been helpful to you. Google for the Actian community, which you will find far more helpful with fewer egos struggling to rule the world.

Categories : Misc

Jquery does not work in live version asp.net page
In your code you did not put the binding of event in document.ready You need to put in document.ready to ensure the elements are added to DOM before being accessed. Also check you do not have any element with class afbeelding $(document).ready(function(){ $(".afbeelding").mouseenter(function () { $(this).stop().animate({ width: '120%' }, 500); }, function () { $(this).stop().animate({ width: '120%' }, 500); }); $(".afbeelding").mouseleave(function () { $(this).stop().animate({ width: '100%' }, 500); }, function () { $(this).stop().animate({ width: '100%' }, 500); }); }); The handler passed to .ready() is guaranteed to be executed after the DOM is ready, so this is usually the best place to a

Categories : Jquery

Clojure live browser reload on Linux
OK, this can be done very easily, but with Grunt and https://github.com/gruntjs/grunt-contrib-watch (which has built in LiveReload support), Grunt will work with any language.

Categories : Clojure

How to simulate an interrupt storm or a live lock on Linux?
Just create a module with an interrupt forkbomb in it. Google it. It'll only take a second for your vm to halt. http://www.tldp.org/LDP/tlk/dd/interrupts.html

Categories : Linux

Exporting/migrating data from an existing live site into our new development version
Machine names are unique in Drupal so it's tough to migrate the data's. Anyhow below link might help you to sync data between servers & database, http://drush.ws/#SQL-sync http://drush.ws/#core-rsync

Categories : Drupal

Redirect on route is not work in zend framework-2 project on live site on linux server
Try this, I think you just do not have the variable $is_admin endDebugDebug::dump($is_admin); // !!!!!!!! if($is_admin->is_admin=='Y') { return $this -> redirect() -> toRoute($redirect_admin); }

Categories : PHP

Why /lib/ld-linux.so.2 soname version bumps are so rare?
Whenever a library is changed in a way that old programs do not work with the new version of the library this number is chaned. If old programs will still work with the newer library (and programs needing the new version will not cause a crash with the old library) there is no need to change the number because you can simply install the latest version of the library. As far as I understand the "2" (it was "1" ten years ago) should not change any longer. The reason is simple: The first version of "ld-linux.so.2" was written in a way that any version of "ld-linux.so.2" should work with any program using this file - maybe printing an error message when an older version of "ld-linux.so.2" is used. This means: It is never necessary to install two different "ld-linux.so.2" files but it is eno

Categories : Linux

Python Smtp SSL wrong version on linux
I bet the problem is on the other side of the wire. Hello, Microsoft! I've tried logging in a number of times, and you won't believe me, but some servers will let me in, while others won't. Try doing smtp.ehlo() in order to find the server's hostname (by the way, you must issue EHLO at the beginning of your session, and immediately after STARTTLS). All their servers have names BLU0-SMTP<somenumber>phx.gbl. Believe me or not, but servers with two digits in their name are OK, but those with three digits are not. In [52]: s = smtplib.SMTP('smtp.live.com', port=587) In [53]: s.ehlo() Out[53]: (250, 'BLU0-SMTP17.phx.gbl Hello [188.134.8.114] TURN SIZE 41943040 ETRN PIPELINING DSN ENHANCEDSTATUSCODES 8bitmime BINARYMIME CHUNKING VRFY TLS STARTTLS OK') In [54]: s.starttls() Out[54]: (

Categories : Python

Meaning of version info in .mod.c file in Linux kernel
The __versions section contained in all the individual *.mod.c files CRC Symbol { 0xa6d8dcb5, "module_layout" }, { 0x16c2b958, "register_netdevice" }, ... ... is a list of symbols and their corresponding CRCs. This has 2 main uses : Global list of all exported symbols. Module versioning check when loading ko modules. Rationale behind Module versioning Module versioning is enabled by the CONFIG_MODVERSIONS tag, and is used as a simple ABI consistency check. A CRC value of the full prototype for an exported symbol is created. When a module is loaded/used, the CRC values contained in the kernel are compared with similar values in the module; if they are not equal, the kernel refuses to load the module as it indicates that the module is built with

Categories : C

Installing subversion under /apps other than /var/www/ is not working. Centos Linux version
In the httpd.conf file your Document Root Section probally says <Directory "/var/www"> Also you can give apache ownership of that directory but only if such is placed in the document root. (If I understand you this may not work for you) chown -R apache.apache /apps Apache can access items outside the root but that is soemthing I am not familiar with and you can look into the apache Alias EDIT As the comment under your OP says SVNADMIN should be able to create the repo and you should be able to hit it. mkdir /app/svn svnadmin create /app/svn/testrepository chown svn:svn -R /app/svn Subversion also is very nice about keeping space low since it only stores revisions to projects instead or brand new versions each time. EDIT Setup Walkthrough - Posted in comments

Categories : Svn

How to compile ixgbe network drivers on other linux kernel version
Install the kernel-devel rpm for 2.6.39.4 and compile against the new kernel. In Makefile use the Kernel directory as 2.6.39.4. Usually located in /usr/src/kernels/

Categories : Linux

/lib/libc.so.6: version `GLIBC_2.9' not found error while installing Qt5 on Linux
Don't mess with the system libraries -- just upgrade your distribution. Glibc 2.11 has been released in 2009, that's four years ago.

Categories : Linux

on Linux, how can I resolve WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.9.0 ?
The implicit question here seems to be "why am I getting this warning, and what can I do about it?" You are getting the warning because Nokogiri was built (it is a largely native-extension gem, requiring compilation) against LibXML version 2.8.0, and your system has since upgraded LibXML to version 2.9.0. This is a warning, not at error -- in many cases, Nokogiri will continue to work fine with a newer version of LibXML than it was built against. If you run into problems or just want to be on the safe side, rebuilding Nokogiri will solve the issue -- it will be built against the version of LibXML currently installed.

Categories : Ruby On Rails

spring security : managing sssion with live live servers
Assumption: Your legacy SSO works in different way from like Siteminder (http://en.wikipedia.org/wiki/Identity_management_system) ExceptionTranslationFilter does not save url that triggered authentication entry point. It is responsibility of the authentication filter and authentication entry point to manage this. Please look for example to LoginUrlAuthenticationEntryPoint. In your case, you should implement your own LegacySSOFilter and LegacySSOEntryPoint. LegacySSOEntryPoint will redirect to Legacy SSO server and will redirect back to the original application after a user authentication. Please note, that you should provide a authenticated username to your redirect back to the original application (do it in the secure way) LegacySSOFilter should take the user name and to authenticate a

Categories : Spring

Android Live Wallpaper - layers & basics of XML in Live Wallpapers
Today I've posted a live wallpaper template on GitHub which uses canvas and a separate animation thread. You might want to check it out, if you're just starting with live wallpapers. In your case, you should decode bitmap only once and then simply draw it. There is nothing wrong in redrawing bitmap every frame. If you want to have multiple layers simply draw them in order, so that the top layer will be drawn last.

Categories : Java

Submit form live via new jQuery - without .live
This is the expected behavior for on(). $("#form-xyz").on('submit', function(e) { .. } ); probably doesn't work because form-xyz is added to the DOM after the handler is bound. If you need to use dynamic elements with on(), you'll need to use a delegated event listener, which is what you did in your second example. You can read more about this in the documentation for direct and delegated events.

Categories : Jquery

How to port a linux driver , which is compiled in 2.6 kernel ,without compiling in other new version of kernel
now it's not possible: usually, a "driver" is a binary kernel-module porting will involve code-changes to the kernel module. if you change the code, you need to compile it, in order to get a binary. since kernel modules run in kernel space, it is crucial that they are robust. since parts of the kernel-API change every now and then, trying to use a module compiled for kernel-X with another kernel-Y, might either not load because of missing symbols (if you are lucky) or lead to a kernel panic because semantics have changed. btw, all this is not really related to 2.6.x vs 3.y, but holds true for any kernel version but then: of course in theory it is possible to "write" a kernel-module as binary code in your favourite hex-editor, without resorting to compilers and such. this would allow yo

Categories : Linux

Cannot connect to VM VirtualBox Linux Nginx server after restarting my computer
First make sure that the service is working using sudo service nginx status If it's not running try starting it manually sudo service nginx start If it fails to start, you can check the error log in /var/log/nginx/error.log or any other error log defined in the server config.

Categories : Linux

Is a library ,created in .net version 4.0, access with in the lower version from its version
Create a library in .Net 2.0 Framework so there will be no issue with higher versions, you can set the version from project properties (right click the project and select properties in visual studio) Select Application tab from properties window and select Target Framework combobox select .Net Framework 2.0

Categories : C#

WebMethod works fine on live site and localhost, but 404s on second live site
Just in case it helps anyone else... The site had a URL rewriting module from iFinity that was somehow rewriting the URL to something that didn't exist. Dang, I wasted HOURS... hope it helps someone else.

Categories : Iis

Calling https version of TYPO3: content (css, js, ..) is blocked because link to http version
I used config { baseURL = https://domain.com } and adapted all links which had a http in the beginning (otherwise the slider stopped working because Chrome didn't load the other ressources ...). Seems to work now.

Categories : Http

VSTO Debug version fine, Installed version doesn't read app.config
You need to add app.Config File to your Setup Project but not from the actual project do it from the ReleaseDebug folder of the ExcelAddIn project. When you build you ExcelAddIn project it will leave App.config File to the ReleaseDebug Folder, piCk the file form there and include it into the dependicies folder of the Setup Project.

Categories : Visual Studio 2010

Detect version of tomcat when WAR file starts (possibly stop it if it is not on the recommended version)
Straight from Tomcat FAQ: How to I get Tomcat's version number? javax.servlet.ServletContext.getServerInfo(); Starting with Tomcat 5.0.28 - there is now a version.sh (or version.bat) program in the bin directory. It will print the version number of Tomcat to Standard output.

Categories : Tomcat

Debug mode on my RubyMine version 4.0.1 stopped working after upgrade ruby version to 2.0.0
Please update to RubyMine 5.4.2, it will install the correct debug gem version. RubyMine versions before 5.x do not support Ruby 2.0 debugging. 5.x versions install the following gem for Ruby 2.0: ruby-debug-ide (0.4.17) Note that linecache and ruby-debug-base gems are not needed and are not installed by RubyMine 5 when using Ruby 2.0. If ruby-debug-ide gem doesn't install from RubyMine for some reason, please try installing it from the terminal: gem install ruby-debug-ide

Categories : Ubuntu

'dependencies.dependency.version' is missing error, but version is managed in parent
In theory, maven does not allow to use a property to set a parent version. In your case, maven can simply not figure out that the 0.0.1-SNAPSHOT version of your parent pom is the one that is currently in your project, and so it tries to find it in your local repo. It probably finds one since it is a snapshot, but it is an old version that probably not contains your Dependency Management section. There is a workaround though : Simply change the parent section in the child pom with this : <parent> <groupId>com.sw.system4</groupId> <artifactId>system4-parent</artifactId> <version>${system4.version}</version> <relativePath>../pom.xml</relativePath> <!-- this must match your parent pom location --> </parent>

Categories : Java

Attempt to update step execution id=1 with wrong version (2), where current version is 1
I had this same exception. org.springframework.dao.OptimisticLockingFailureException: Attempt to update step execution id=0 with wrong version (2), where current version is 3 In my case, it was caused by a failure the process step, which was being swallowed. Spring Batch activated the writer, even though the processor had failed. Look through your logs to make sure that your process step is completing and returning something.

Categories : Misc

Grails adding version to command object causes id and version from params not to be bound
Seems this is by design per Jeff Brown jira The data binding explicitly avoids binding id or version [if] they both exist and does this by design. This is a shield against potential security problems relevant to data binding as it relates to domain classes. A simple work around for command objects would be to name the properties with something like "idValue" and "versionValue" or anything other than "id" and "version".

Categories : Grails

Exec(Linux). How it functions internally? Linux executable attributes(rlimit)
The RLIMIT_CORE is used to place a limit on the amount of info that coredump is allowed to produce, before it is aborted. Once this limit is hit, no more info is logged and the message Aborting Core is logged to the console. From the man page of core : A process can set its soft RLIMIT_CORE resource limit to place an upper limit on the size of the core dump file that will be produced if it receives a "core dump" signal. Use setrlimit() to configure RLIMIT_CORE to a larger value to obtain complete coredumps. The most common format of executables/shared-objects is ELF. On Linux, the dynamic loading and linking of these shared-objects is performed by ld.so ld.so is loaded in the address space of a newly created process (by exec in this case) and executed first. This is possible as

Categories : Android

Linux users', specifically Apache, permissions settings, [Linux noob :]
usually any daemon will need to access a number of ressources. it is therefore good practice to run each daemon under a special user:group, rather than nobody:nogroup. traditionally (e.g. on Debian systems) apache runs as www-data:www-data. finally, user permissions take precedence over group permissions (which in turn take precedence over other permissions). this means that a directory where the user does not have write perms but the user's group can write is effectively r/o for that user (but not for other members of the group)

Categories : Linux

The database cannot be opened because it is version 706. This server supports version 655 and earlier. A downgrade path is not supported
Version 706 is a database file from Sql Server 2012 Version 665 is a database file from Sql Server 2008R2 (post SP1 ?) http://conceptdev.blogspot.com/2009/04/mdf-cannot-be-opened-because-it-is.html

Categories : C#

Purpose of Curly Brace Usage of C Code found in Linux (include/linux/list.h)?
This is a GNU language extension known as a statement expression; it's not standard C.

Categories : C

Exception DATABASE1.MDF' cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported
Generally you get this when your database has been updated to a newer version of SQL Server than the server you are trying to attach it from. For instance if your database was upgraded from SQL Server 2005 to SQL Server 2008, you would no longer be able to open that database on SQL Server 2005. The "downgrade path is not supported" message implies that you can't open the newer database on an older SQL Server version. Suggestions: Upgrade the version of SQL Server (not visual studio, but your SQL Server version). or Open this database on a server with a newer version of SQL Server, then script out the entire database and reload it into your server. Either of these should get it working for your. I hope this helps!

Categories : C#

How to debug application on newer iOS version from an older version of xcode?
In order to do this you'll need to have multiple versions of xcode installed. Can I have multiple Xcode versions installed? Xcode shares device and symbol information across all versions of xcode. If you open the newer xcode version that supports the newer version of ios, you can add the device there. Once the device is added, close the newer version of xcode, and open your older version (4.6) that you want to deveop on. If everything went smoothly the device should be available in organizer, and you should be able to run and debug normally on it.

Categories : Iphone

Attempting to re-install Ruby (version 2.0.0) on Rails (version 4.0.0) on Windows 7
I apologize that this doesn't actually answer your question at hand, but I think it's still useful advice to you: Consider downloading Virtualbox and installing some Linux (Fedora, Ubuntu) on it and doing your Rails development on that Linux virtual machine. It won't mess with your Windows system at all, but it will be much easier to develop Rails with. Almost nobody develops Rails on Windows, everyone uses Mac or Linux it seems. And I always read people having problems setting it up on Windows. It just doesn't seem worth the effort to me when you have free tools out there to develop on Linux. Again, sorry this isn't actually the proper answer to the question. Even once you find the answer to your problem, I'd still recommend you consider this advice. You're likely to have more pro

Categories : Ruby On Rails

Running upgraded version of SQLite (3.8) on Mac when Terminal still defaults to old version 3.6
To figure out exactly which sqlite3 binaries your system can find type which -a sqlite3. This will list the apps in the order that they are found according to your PATH variable, this also shows what order the thes ystem would use when figuring out which to run if you have multiple versions. Homebrew should normally links binaries into your /usr/local/bin, but as sqlite3 is provided by MAC OS, it is only installed into /usr/local/Cellar/sqlite3, and not linked into /usr/local/bin. As the Cellar path is not in your PATH variable, the system doesn't know that the binaries exist to run. Long story short, you can just run the Homebrew binary directly with /usr/local/Cellar/sqlite/3.8.0/bin/sqlite3.

Categories : Python

Redirecting non www version of my site to www version results in a redirect loop
You Must Use This Code In htaccess File To Preferred www Version: RewriteCond %{HTTP_HOST} !^(.).YourDomain.com$ [NC] RewriteRule ^(.)$ http://www.YourDomain.com/$1 [R=301,L] For Better S.E.O : You Could Setting Your Preferred Domain In Google Web Master Tools If Your Website Was Added In Google Webmaster Tools : Open up your webmaster tools and click “Settings” right below “Configuration”. To the right look for the “Preferred Domain” and select which domain you prefer With www Or Not.

Categories : Htaccess

Gradle version 1.6 is required. Current version is 1.8-20130730220035+0000
I managed to fix my project through some combination of invalidating Android Studio cache, deleting .idea and .gradle directories and .iml files, restarting Studio, and reimporting the project: on Mac OSX using Homebrew, brew install gradle then pick local gradle distribution and point to /usr/local/Cellar/gradle/1.7/libexec for gradle home:

Categories : Android

How to migrate your Twitter's Bootstrap Javascript plugins from version 2.x to version 3
Javascript en CSS Download the plugin's source code Javascript and CSS (or less) and replace old class references with new, see: http://www.bootply.com/bootstrap-3-migration-guide. Beside the class names changes most Javascript code should work. HTML Do the same for your HTML code. Or use a migrator/updater like: http://twitterbootstrapmigrator.w3masters.nl/, http://bootstrap3.kissr.com/, http://code.divshot.com/bootstrap3_upgrader/ or http://upgrade-bootstrap.bootply.com/ Glyphicons When your plugin use Glyphicons: Install Glyphicons from http://glyphicons.getbootstrap.com/: download the files and copy over all the font files to a /fonts directory near your CSS. Include the compiled CSS file from the /css in the repository to your local css folder or download the Less file and compi

Categories : Javascript

HBase error: Server IPC version 8 cannot communicate with client version 4
You trying to use an HBase release that was built against Hadoop 1.0.x with hadoop 2.0.x. Either use an HBase release built against Hadoop 2.0.x or rebuild your HBase with hadoop.profile set to 2.0 -Dhadoop.profile=2.0 If you need help on how to build HBase, you can visit this link. HTH

Categories : Hadoop



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.