Matrix right shift

The script shifts matrix to the right   /* shift right script */   #include <stdio.h>   #include <conio.h>       #define M 4 // rows   #define N 5 // cols       // define booleans   #define TRUE 1   #define FALSE 0       void shift(int[][N]); // right shift [...]

No Comments

5 great jquery plugins of 1 may 2012

1.TableSorter Handy jquery plugin for the tables sorting. Quite easy to Setup and configure.  2.JQUERY image filter A useful plugin that allows you to position images by category. 3.JRUMBLE jRumble is a jQuery plugin that makes any element you select vibrate, boom, shake and spin. 4.Visual Heap Visual Memory is a Visual Designer for the [...]

No Comments

6 best Jquery plugins of 25 April 2012

1. arctext.js Great text rotating effect jquery plugin that allows you to rotate any text across the image of the given radius. 2. jqGrid Very useful plugin to work with the tables and grids. 3. Cloud Zoom A small  zoom-in plug-in a smooth animation of approximation, with the gallery support, shades of soft focus and [...]

No Comments

C sum of fractions

Sometimes we need to add fractions , here is the c script generating fractions addition. First define struct that contains numerator and denumerator. /* fractions structure */ typedef struct{ int numerator; int denumerator; }Fracture; Gcd implements greatest common divizor int gcd(int n, int d){ if(n == 0) return d; return gcd(d % n, n); } [...]

No Comments

Bing translate Api with jquery ajax

Bing provides nice free translate api, here is the jquery code snippet for translating text with bing api :

No Comments

C – think efficiency

Efficient script is a difference between the good developer and one who takes things as they are, not taking advantage to predict the future going ons. Believe it or not, it’s possible to rewrite 40% of O(n^2) scripts (one for loop in another for example) to the O(n) efficiency. For example the task when you [...]

No Comments

Simple windows keylogger on c++ language

Program fetches all user input from keyboard and stores it as a string in a log file. The function void Stealth() hides the console window and the program coninues to run on a background as a native windows process. The script works normally for windows , tested on windows 7 visual studio. Have fun . [...]

,

No Comments

Installing zend framework on Ubuntu 11.04

Here is the quick guide to install zend framework project on ubuntu natty 11.04 . For this tutorial you will need fresh installed version of Lamp (apache,php and mysql). First download zend framework http://www.zend.com/community/downloads Unpack files to any folder you like : tar -zxvf zendframeworkArchive.tar.gz Download zend framework quickstart project http://framework.zend.com/manual/en/learning.quickstart.intro.html Unpack quickstart project archive [...]

No Comments

Zend framework routes quick guide

Zend framework routes is a great solution in organizing your website sections in terms of modules, controllers and controller actions. I will try to explain what routes are useful for. Let’s say you have following zend framework application folder structure ( just like in your quickstart package ) : application library public scripts tests You [...]

No Comments

Zend framework adding navigaton, breadcrumbs and sitemaps

The navigation part of Zend Framework implemented right is to use the navigation xml format file that is the data file of all parts that related to navigation. It’s easy and the navigation is the part of Zend Framework core modules. First create xml file navigation.xml and save it as application -> configs -> navigation.xml [...]

No Comments