Posted on September 05, 2016
Queues and task scheduler in laravel works like a charm. But it can fail in a certain case. In this post, I am going to explain the case where it can fail and how to overcome this. So let’s go step by step 1. We have setup a simple queue that sends an email to […]
Posted on July 29, 2016
Some services run on different ports and to access them in the browser we have to mention the port number also. For ex : SonarQube : 9000 [http://127.0.0.1:9000] Neo4j : 7474 [http://127.0.0.1:7474] Jenkins : 8080 [http://127.0.0.1:8080] It is difficult to remember different server IPs alone and now we have to remember the port number too. 😕 […]
Posted on April 20, 2015
Sometimes you need to strike off a row in ExtJS grids, this can be easily done by CSS code. The CSS code will look like this, .strike-through-row { text-decoration: none; background-image: -webkit-linear-gradient(transparent 7px,#6F6B6B 7px,#6F6B6B 9px,transparent 9px); background-image: -moz-linear-gradient(transparent 7px,#6F6B6B 7px,#6F6B6B 9px,transparent 9px); background-image: -ms-linear-gradient(transparent 7px,#6F6B6B 7px,#6F6B6B 9px,transparent 9px); background-image: -o-linear-gradient(transparent 7px,#6F6B6B 7px,#6F6B6B 9px,transparent 9px); background-image: […]
Posted on April 15, 2015
Sometimes we need to construct a query inside a stored procedure. Lets say we have fields like day1, day2, day3…, and we need to fetch day1, for some other case we need to fetch for day2 and so on. Why write different procedures just write a single SP construct the query by passing the day number and […]
Posted on April 01, 2015
Many times we have requirement where we want to select the first record by default in a combo-box. For this, when the combo-box renders then run this code // function to give the combobox a default value Ext.getStore(‘StoreName’).on(‘load’,function(store) { var combo = Ext.getCmp(‘combo_box_id’); combo.select(combo.getStore().getAt(0)); }); Happy Coding. 🙂
When you are working on a laravel project there is some basic setup that needs to be done for each install of the project. Like Permissions for ...
In this blog, we are going to take a look into Laravel Queues. Queues allow you to defer the processing of a time-consuming task, such as sending a...
PARTIALS Let’s say we have a structure like the following : data = { students : [{ name : ‘ABC’, roll : 1 }, { name : ‘DEF&...
PHP 8 has been officially released in November 2020! This new major update brings many optimizations and powerful features to the language. This...
ProxySQL is a high-performance SQL proxy. ProxySQL runs as a daemon watched by a monitoring process. The process monitors the daemon and restarts i...
Time is important. We should not waste it doing trivial things. Automate things wherever possible.