Latest Post

How to revoke 'git add' before 'git commit' ?

Sometimes you need to undo your git file before you git comment command. Because you made a some misteck or wrong code and you did git add using "git add ." command then you think how to undo your code before git commit command. But you can do that using git reset command, if you need to undo all file Or you may need to undo just one then you can do using git reset command, you can see bellow command. <strong>Example:</strong> <pre> // For Spesific file git reset <filename> // For all files git reset </pre>

By Hardik Savani | February 28, 2016 | | 944 Viewer | Category : Git
READ MORE

How to create laravel 5 widgets ?

In this post you can learn how to create your own widgets in laravel 5.2, First thing why we are create widgets, So we can use widget because when we can create re-usable code, for example you have manu items and comes from database like home, items, products, aboutus, contact us etc. you require to display in top header, in sidebar and in footer. But in top you have to just display home and aboutus, and in sidebar products and items same that way in footer. So, basically you have to display in three place in your site page. widgets through you can make one function or view and call just one w.....

By Hardik Savani | February 27, 2016 | | 9385 Viewer | Category : Laravel Pingpong
READ MORE

How to get ckeditor value with tags on ajax-submit ?

If you are use ckeditor for textarea and you need to fore ajax submit or form js submit, but you can't find ckeditor value in your controller or php file. So, first you have to update field using CKEDITOR.instances. so you can try to following code. <pre class="language-javascript"> for ( instance in CKEDITOR.instances ) CKEDITOR.instances[instance].updateElement(); </pre>

By Hardik Savani | February 26, 2016 | | 1946 Viewer | Category : PHP Javascript jQuery
READ MORE

How to get max attribute value in jquery?

Sometimes, you have a many tag with same class and attribute with value, but you need to find maximal value of attribute from that comman class, In bellow you have same html tag: <pre class="code language-html"> <ul> <li class="test" data-id="3">hi</li> <li class="test" data-id="5">hey</li> <li class="test" data-id="1">hello</li> </ul> </pre> Now, you require to get max value, i mean you need to 5, because that is big value from other, so you can get maximal value from this way: <pre class="language-javascript"> var max = 0; $('.test').each(fu.....

By Hardik Savani | February 23, 2016 | | 905 Viewer | Category : Javascript HTML jQuery
READ MORE

Codeigniter Angularjs http post not working

Sometimes, you face problem you can't get post data using $this->input->post(), when you fire $http.post() using AngularJS or Jquery. I also face this issue, i can't receive post value when i fire $http.post in AngularJS, But i found how to receive post data or json data in Codeigniter controller. in following example through you can solve your problem: <pre class="language-php"> public function store() { $this->load->database(); $_POST = json_decode(file_get_contents('php://input'), true); $posts = $this->input->post(); $this->db->insert('posts', $posts); } </pre>

By Hardik Savani | February 22, 2016 | | 2573 Viewer | Category : PHP jQuery AngularJS Codeigniter
READ MORE


GuzzleHttp Send Migration php artisan serve Current Page csv apache2 Interface SUBSTRING_INDEX() Controller Paging array_map User Agent hasColumn RSS Feed chmod 404 error page public_path Environment MSSQL bootstrap tagsinput Website Setup COUNT() Particular getQueryLog tagsinput.js Zoho mail Library Server IP Fullcalendar JS Modular Namespace DATE_SUB Log Payment Gateway Bootstrap Confirmation js plugin Laravel Resource bootstrap-progressbar.js scrollTop Multi Auth Animation json() refs SEO Notification Client side validation league/flysystem-dropbox Instagram API React JS Calculate characters Multiple LIKE Query KCFinder glob Amazon S3 Request Phonegap validator.js Grayscale Image Repo INTERVAL Laravel Passport Local Laravel 5.3 Source Code Opencart AngularJS TrustAsHTML Filter Terminal Codeigniter 3 clearbit API Billing Form JS Plugin Tooltip Fetch Ajax Request Composer Date Format popupMultiSelect plugin Trigger Sublime text 3 csrf_token Object to Array Import Admin Bootstrap Theme Month Paypal Payment Gateway Character Eloquent-Sluggable Package Package Add enableQueryLog Mail Ip Address Sublime text 2 Inserted Id Specific Behance API npm roumen/feed package Percentage bootstrap-growl Lavacharts Paypal Integration orderBy ixudra/curl composer package filter Email Verification Authentication Application Chosen JS Technology Artisan Command Homepage Jquery Dialog Box Controluser parse Parsleyjs Database Data Toggle Loop Link Undefined ACL Custom Command Typeahead JS Empty jquery.lazyload.js XML Gravatar Image Sublime Snippet Middleware Botdetect Captcha Command laravel-elixir Key nl2br Base URL Components & Slots Twitter API Foreach DB 500 error page whitespace Dropzone.js setInterval()