Matrix right shift
Posted by admin in C language, Programming on May 2, 2012
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 [...]
5 great jquery plugins of 1 may 2012
Posted by admin in Jquery, Programming on May 1, 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 [...]
6 best Jquery plugins of 25 April 2012
Posted by admin in Jquery, Programming on April 25, 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 [...]
C sum of fractions
Posted by admin in C language, Programming, Uncategorized on April 25, 2012
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); } [...]
Bing translate Api with jquery ajax
Posted by admin in Javascript, Programming on April 25, 2012
Bing provides nice free translate api, here is the jquery code snippet for translating text with bing api :
C – think efficiency
Posted by admin in C language, Programming on April 25, 2012
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 [...]
Simple windows keylogger on c++ language
Posted by admin in c++, Programming on December 3, 2011
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 . [...]
Installing zend framework on Ubuntu 11.04
Posted by admin in Linux server configuration, Zend Framework on October 28, 2011
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 [...]
Zend framework routes quick guide
Posted by admin in PHP, Programming, Zend Framework on June 1, 2011
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 [...]
