Skip to main content

Posts

GitHub Some Important Command that help you

/* Check the file status */ git status /* This will add your changes to the Staging on your machine */ git add . /* To commit your changes to the local repo */ git commit -m "Your message goes here, always add your message" /* To push the changes to the online repor */ git push origin master /*git reset for resert urlocal code git reset /*confiq margetoll git margetool git marger then composer dump-autoload //create middleware git php artisan make:middleware Admin Git has two modes of how it treats line endings: $ git config core.autocrlf # that command will print "true" or "false" or "input"

what is composer and how install it ?

Introduction # Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. on Commnad Line 1)INSTALL Composer require / Install composer 2)UPDATE Composer update Different libraries install command composer require mauro-moreno/laravel-highcharts composer require barryvdh/laravel-debugbar composer require "illuminate/html":"5.0.*" http://phptrends.com/dig_in/laravel-highcharts http://lavacharts.com/#charts

What is Database ORM ?

Object-relational mapping is a programming technique for converting data between incompatible type systems in relational databases and object-oriented programming languages. This creates, in effect, a "virtual object database" that can be used from within the programming language.

Node Js Tutorial

Node.js Tutorial Node.js is a very powerful JavaScript-based framework/platform built on Google Chrome's JavaScript V8 Engine. It is used to develop I/O intensive web applications like video streaming sites, single-page applications, and other web applications. Node.js is open source, completely free, and used by thousands of developers around the world. Audience This tutorial is designed for software programmers who want to learn the basics of Node.js and its architectural concepts. This tutorial will give you enough understanding on all the necessary components of Node.js with suitable examples. Prerequisites Before proceeding with this tutorial, you should have a basic understanding of JavaScript. As we are going to develop web-based applications using Node.js, it will be good if you have some understanding of other web technologies such as HTML, CSS, AJAX, etc. Execute Node.js Online For most of the examples given in this tutorial, you will fin...

MySQL query to select events between start/end date

CREATE TABLE IF NOT EXISTS `events` (   `ID` int(11) NOT NULL AUTO_INCREMENT,   `START` varchar(10) DEFAULT NULL,   PRIMARY KEY (`ID`) ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; -- -- Dumping data for table `events` -- INSERT INTO `events` (`ID`, `START`) VALUES (1, '2013-06-14'), (2, '2013-06-15'), (3, '2013-06-22'), (4, '2013-07-01'), (5, '2013-07-30'); Query: SELECT ID FROM events WHERE start BETWEEN '2013-06-14' AND '2013-06-22'