Mysql Introduction

Mysql is a RDMBS ie Relational Database Management System. It is the most popular RDMS used with php. Mysql uses various storage engine .Some of them are MyISAM,MEMORY,HEAP,MERGE,InnoDB etc .The defalut storage engine is MyISAM. Below are the some operations which are frequently used . Insert Syntax : insert into tablename(column1,columan2…..) values (values1,values2…….). alternate  syntax insert into tablename values (values1,values2…….). Eg :  Insert into user (name,age,sex) values (‘Manish’,’23′,’Male’) Here table name is user, the order…

"Mysql Introduction"

C ++ → Recursive XOR

I used to deal with cryptography some time ago and thought of my own algorithm. A part of this I will introduce to you. I call it recursive XOR. The reason behind this is that you encode an entire byte with only one bit. I will show you the simple principle, which is behind it in a brief example: We take a byte we want to encrypt (01001110) and a bit (1). We apply XOR…

"C ++ → Recursive XOR"

Decorating Django views that require Google Authorization with python decorators

In a project that I am currently involved, we needed to authenticate with Google Analytics in order to query statistics. As you may know currently Google supports three authentication mechanisms to allow other applications to authenticate on someone’s behalf. ClientLogin: You give your username, password and the application does the rest for you. I don’t think there are still people out there who can give away their passwords to applications to be used on their…

"Decorating Django views that require Google Authorization with python decorators"

The default PackageResolver for gwtoolbox has changed?

I spent the last 4 hours to understand why gwtoolbox is not injecting dependencies. It was a painful process; there was not any log, just a NullPointerException since there is nothing to inject in the container. Anyway the problem occurred after upgrading gwtoolbox to 2.0-SNAPSHOT from 0.7. Finally I figured out that they changed default PackageResolver strategy in the new version. Before I wasn’t specifying any PackageResolver, meaning; I was relying on the default package…

"The default PackageResolver for gwtoolbox has changed?"