Blog

How to Use Separators
How to Use SeparatorsThe JSeparator class provides a horizontal or vertical dividing line or empty space. It's most commonly used in menus and tool bars. In fact, you can use separators without even knowing that a JSeparator class exists, since menus and tool bars provide convenience methods that …[ More ]
Sharing files/folders via REST API in oc6
Sharing files/folders via REST API in oc6 Sending this to the mailinglist on advice of Rancor:After trying to use the sharing api (via REST) in oc5 (http://forum.owncloud.org/viewtopic.php?f=23&t=17952), which doesn't work, I am now trying it in oc6 beta 2. I think it is still a little buggy and I g…[ More ]
Including jars in classpath on commandline (javac or apt)
Including jars in classpath on commandline (javac or apt)Hey all, trying to run this program. I think that to setup all of the web service stuff I need to run apt. (Although using javac I am having the same issue). I think what I am getting is compile errors. (Shown at bottom).I think what I need to…[ More ]
Market Basket Analysis using SQL
Market Basket Analysis using SQL Essentially, association rule mining is all about counting. So it fits database environment very well, especially big scalable database. With some "group by"s and "join"s, the job can be easily accomplished using SQL. Here I use Apriori algorithm to gener…[ More ]
Apriori algorithm -Find 2 of combination
Apriori algorithm -Find 2 of combinationI have an Order table like this:  ORDER_ID PRODUCT_ID  11230112311123221231220003123033567and a Product table:  PRODUCT_ID NAME  1230  A  1231  B  1232  CMy first question, how to get combination of 2 Product Table, then how my new …[ More ]
Pivot Example in SQL Server
Pivot Example in SQL ServerPlz. Give me a Pivot Example of Multiple Rows & some Explanation about Pivot& Syntax. sql-server-pivot-and-unpivot-table-examples pivot-tables-in-sql-server-a-simple-sample getting-started-with-pivot-queries-in-sql-server-20052008hi, pivot rotates a table-valued expression…[ More ]
Journey to SQL Authority with Pinal Dave
SQL SERVER – CASE Statement/Expression Examples and Explanation CASE expressions can be used in SQL anywhere an expression can be used. Example of where CASE expressions can be used include in the SELECT list, WHERE clauses, HAVING clauses, IN lists, DELETE and UPDATE statements, and in…[ More ]
How to Query the DB for your form data
How to Query the DB for your form dataNew in version 1.8, it will give you the pivot query. But you have to turn on the option in “Database Options” “Show the query used to display results”. Then go to the “Database” page and show your form. The query will be at the bottom of the p…[ More ]
Using PIVOT and UNPIVOT
Using PIVOT and UNPIVOT SQL Server 2008 R2 Other Versions SQL Server 2008 SQL Server 2005 You can use the PIVOT and UNPIVOT relational operators to change a table-valued expression into another table. PIVOT rotates a table-valued expression by turning the unique va…[ More ]
i am using package smslib for sending and receiving sms by a modem, i want help regarding the parameters of serial modem gateway
i am using package smslib for sending and receiving sms by a modem, i want help regarding the parameters of serial modem gateway//code for sending messages// i have imported smslibpackage examples.modem;import org.smslib.AGateway;import org.smslib.IOutboundMessageNotification;import org.smslib.Libra…[ More ]
Oracle « Duh! Microsoft did it again
Oracle services disappear from Windows Services panel after upgraded to Windows 8.1 Posted by windows7bugs on October 31, 2013 Just a week back we upgraded two of our development laptops to Windows 8.1 64bit PRO, which were having Oracle 10g 10.2.0.3.0 locally installed. Once after the upgr…[ More ]
Secure Password Storing
Secure Password StoringZend\Crypt\Password stores a user’s password in a secure way using dedicated adapters like the bcrypt algorithm.The example below shows how to use the bcrypt algorithm to store a user’s password:use Zend\Crypt\Password\Bcrypt;$bcrypt = new Bcrypt();$securePass = $bcrypt->c…[ More ]
How can I add external jars in android project??
How can I add external jars in android project?? Nikhil S. Teamcenter professional working with Siemens PLM Japan. at Geometric Ltd. I have created an android project, for some of my requirement I need to add some of external jars. I tried importing these files from configure bui…[ More ]
SQLite Basic commands:
SQLite Basic commands: 1.  Create table CREATE TABLE abctable (id integer primary key, name text); 2.  Insert into table INSERT INTO "abctable" VALUES(1,'Kuldeep'); 3.  Create a view CREATE VIEW abctable AS select * from testtable; 4.  Add index CREATE INDEX abctable …[ More ]
php-excel-reader
php-excel-reader This PHP library expands on the great work done in the PHP Excel Reader project on SourceForge. It reads the binary format of XLS files directly and can return values and formats from any cell. Download http://code.google.com/p/php-excel-reader/downloads/list Example Mic…[ More ]
RSA Encrypting and Decrypting data with Zend_Crypt_Rsa Library
RSA Encrypting and Decrypting data with Zend_Crypt_Rsa LibraryPublic/private key based encryption is very popular because of the strength it sets in encryption, specially above 1024 bits. Now there are external library to encrypt data using RSA encryption like RSA in phpclasses.org – the fun is we…[ More ]
public zendframework / Component_ZendCrypt forked from weierophinney/Component_ZendCrypt
public zendframework / Component_ZendCrypt forked from weierophinney/Component_ZendCrypt

/**

* Zend Framework (http://framework.zend.com/)

*

* @link  http://github.com/zendframework/zf2 for the canonical source repository

* @copyright Copyright (c) 2005-2014…[ More ]

Simple Control Array A easy implementation of a VB 6.0 style control array
Simple Control Array A easy implementation of a VB 6.0 style control arrayFor those of you who used VB 6.0 you would remember Control Arrays. For those that did not, it allowed a simple way of creating a control like a text box and then you could use a loop go through all the items to read or write …[ More ]
Show client validation message for input file upload size limit using jquery?
Show client validation message for input file upload size limit using jquery?I am trying validate upload file limit to 2.5 mb max. I need to show validation message on  when focus lost from the field. right now I am validating at client side like this.  [ More ]