How to add symlinks windows 7

Symlinks via Command Prompt 1. First of all run your command prompt as administrator. 2. type mklink and press enter. and you can see the options. 3. if we choose /D (means directory) then use below command C:\Windows\system32>mklink /D C:\xampp\htdocs\videorepo “C:\ Program Files\Adobe\Adobe Media Server 5\webroot\live_recorded” For Referer link: Click Here

CakePHP cake bake command

step 1: set path to environment variable. like: C:\xampp\php;C:\xampp\htdocs\yourproject\lib\cake\console\; step 2: open command prompt and type cd C:\xampp\htdocs\yourproject\app  and press enter. step 3: now type cake bake now you can see the options there. you can continue accordingly.

Manipulating datastore data after loading

[php]var restaurantsStore = this.getStore(); var avg_rating; restaurantsStore.clearFilter(); if ( restaurantsStore !== undefined ) { restaurantsStore.load({ callback: function(records, operation, success) { var proxy = restaurantsStore.getProxy(), message = proxy.getReader().rawData.message; if( success === false ){ Ext.Msg.alert(‘Operation Failed’, message); } else{ var vendor = records[0].get(‘vendor’); Ext.getCmp(‘poweredByContainer’).setVendor( vendor ); if( vendor === ‘O’ ){ for ( var index = 0; … Read more

install mongodb on redhat centos or fedora linux

install mongo on linux/ubuntu: 1. sudo apt-get install mongodb 2. sudo pecl install mongo 3. echo “extension=mongo.so” >> /etc/php5/apache2/php.ini 4. restart apache 5. restart mongodb ( sudo service mongodb restart/start ) install on centos centos 6.3 1. http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/ 2. Install php-pecl-mongo rpm package: yum install php-pecl-mongo 3. echo “extension=mongo.so” >> /etc/php.ini 4. service httpd restart … Read more