Author Archives: rahul23134654

About rahul23134654

Hi, I am Rahul Meha , B.E. in (I.T.)

grunt watch live reload file

gruntfile.js   module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON(“package.json”), jshint: { files: [“Gruntfile.js”, “src/*.js”], options: { globals: { jQuery: true, console: true, module: true } } }, concat: { options: { stripBanners: true, banner: “/*! <%= %> – v<%= … Continue reading

Posted in UI Js | Leave a comment

simple crud on codeigniter

sql: CREATE TABLE IF NOT EXISTS `tbl_person` (   `id` bigint(20) NOT NULL AUTO_INCREMENT,   `name` varchar(50) DEFAULT NULL,   `gender` char(1) DEFAULT NULL,   `dob` date DEFAULT NULL,   PRIMARY KEY (`id`) ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ; INSERT … Continue reading

Posted in PHP | Tagged | 2 Comments

setting virutal host on wamp apache codigniter

<VirtualHost *:80>     ServerAdmin rahul@localhost     ServerName mysite.lo     DocumentRoot “C:/wamp1/www/ci/CodeIgniter_2.1.3” <Directory “C:/wamp1/www/ci/CodeIgniter_2.1.3”>         Options Indexes FollowSymLinks Includes ExecCGI         AllowOverride All         Order allow,deny         Allow from all     </Directory> </VirtualHost> Ref:

Posted in Apache | Leave a comment

Coding a CSS3 & HTML5 One-Page Website Template

.html file <!DOCTYPE html> <!– The new doctype –> <html>    <head>       <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />       <title>Coding A CSS3 &amp; HTML5 One Page Template | Tutorialzine demo</title>       <link rel=”stylesheet” type=”text/css” href=”styles.css” />       <!– Internet Explorer … Continue reading

Posted in CSS, HTML | Leave a comment

android reading inbox and sent box sms and reading call details for sent sms : private static final int TYPE_INCOMING_MESSAGE = 2; for recieved sms : private static final int TYPE_INCOMING_MESSAGE = 1; package com.example.inboxlistproject; import java.lang.ref.WeakReference; import java.util.ArrayList; import; import; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.database.Cursor; import … Continue reading

Posted in android app | 1 Comment

allen carr book

thanks to allen..   The Worst Nicotine Addict I Have Yet to Meet There are only two reasons for failure with my method: 1 FAILURE TO CARRY OUT INSTRUCTIONS 2 FAILURE TO UNDERSTAND Fear in quitting:   Of Intermediate period … Continue reading

Posted in smoking | Leave a comment

my first app in android package com.example.myfirstapp; import android.os.Bundle; import; import; import; import android.content.DialogInterface; import android.view.Menu; import android.view.View; import android.widget.Toast; import android.util.Log; import; import android.content.Intent; public class MainActivity extends Activity {     String tag = “Lifecycle”;     CharSequence[] items = … Continue reading

Posted in android app | Leave a comment

cooking dal, rice ,pao bhai, malai kofta , kabuli ,khichdi

Recipes   Dal 0.5 katori =2member Wash the dal 2.5 katori pani Tomato dalo ? Salt 0.5 spoon, haldi 0.25 spoon, mirchi 0.25 spoon Dhaniya 0.5 spoon (jyada to kathi) Boil (thodi dal he to jyada sithi) 6 siti Math … Continue reading

Posted in cooking | Leave a comment

reading of soap xml response by xpath

xml response: <?xml version=”1.0″ encoding=”UTF-8″?> <SOAP-ENV:Envelope xmlns:SOAP-ENV=”; xmlns:xsd=”; xmlns:xsi=”; xmlns:SOAP-ENC=””&gt; <SOAP-ENV:Body SOAP-ENC:encodingStyle=””&gt; <NS1:IsWorkingResponse xmlns:NS1=”urn:MobileCommIntf-IMobileComm”> <return xsi:type=”xsd:boolean”>true</return> </NS1:IsWorkingResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> php code : $xml = simplexml_load_string($output); $xml->registerXPathNamespace(‘SOAP-ENV’, ‘;); $xml->registerXPathNamespace(‘NS’, ‘urn:MobileCommIntf-IMobileComm’); $nodes = $xml->xpath(‘//SOAP-ENV:Envelope/SOAP-ENV:Body/NS:IsWorkingResponse/return’); print_r($nodes[0]->asXML());  

Posted in PHP | 2 Comments

brahma kumaris lectures

Thanks to brahma kumaris Self Management I am the creator of my thought and my feelings. It is my first responsibility to keep my self happy . After every hour make rest and feel happy One Minute. Self Respect Koi … Continue reading

Posted in Meditation | 2 Comments