Here is quick post which can help you to get base url or home page url of your laravel application I think many times we need to get site URL for something share or link so you can get that using url helper and URL facade Both way are same you can use that anywhere i mean in controller or view
Time flies, and my blogging frequency is quite low. More frequent would be better, but knowing myself I'll rather not promise anything ;-)
Still, it is appropriate to write some notes about CeBIT, the "Chemnitzer Linuxtage 2016", and future events.
CeBIT
CeBIT was running from March 14 to 18 (Monday till Friday) in Hannover, Germany, and I will leave the general assessment to the various marketing departments as well as to the regular visitors (to which I do not belong).
In order to meet our current customers as well as potential future ones, FromDual had a booth in the "Open Source Forum". We displayed a Galera Cluster, running on three tiny headless single-board Linux machines, and showed how it reacts to node failures and then recovers all by itself, without any administrator intervention. Many of our visitors were fascinated, because a HA solution would be a …
[Read more]
Network Throttling tool provided by Google Chrome Developer
tools
In this video we will be seeing how this tool helps us to test
your application at different network speeds, thus giving us info
and insight as to how users having different speeds of internet
use our application and the challenges they face and how the
performance can be improved and how the application can be made
more usable in such cases.
In this blog, we will examine the differences between GCache and Record-Set Cache in Percona XtraDB Cluster.
In Percona XtraDB Cluster (PXC), there is the concept of GCache and Record-Set cache (which can also be called transaction write-set cache). The use of these two caches is often confusing if you are running long transactions, as both of them result in the creation of disk-level files. Let’s understand what their main differences are.
Record-Set Cache
- When you run a long-running transaction on any particular node, it will try to append a key for each row that it tries to modify (the key is a unique identifier for the row {db,table,pk.columns}). This information is cached in out-write-set, which is then sent to the group for …
In this blog, we’ll discuss how the Percona XtraDB Cluster threading model works.
Percona XtraDB Cluster (PXC) creates a different set of threads to service its operations. These threads are in addition to existing MySQL threads. Let’s understand what these threads are and how they’re used. There are three main groups of threads:
-
Applier thread(s)
- Applier threads are meant to apply write-sets that the
node receives from other nodes (through cluster).
(write-message is directed through
gcv_recv_thread
.) - The number of applier threads is controlled using the
wsrep_slave_thread
configuration. (The default value is 1, so at least one wsrep applier thread …
- Applier threads are meant to apply write-sets that the
node receives from other nodes (through cluster).
(write-message is directed through
We have been many time need to get executed query log or you want to get last executed query or maybe if you want to diaplsy sql query from laravel query builder then you can do it that so i have three example for display executed query in Laravel 5 when you are working on laravel application at t
Whenever you need to get current url segment then you can get using Request facade I give you example one for using Request facade so you can get segment from url and how you can see both examplestrongExamplestrongpre classprettyprint langphpextendslayoutsappsectioncont
Whenever you need to get current route name then you can get using Request or Route facade I give you two example one for using Route facade and another for Request facade so you can get route name both way and how you can see both examplestrongUsing Requeststrongpre classprettyprint
If you are very fresher in jquery and you dont know how to work post ajax request then bellow example can help you i gave you the example of POST ajax request with json you can also easily modify this example you also fire GET ajax request using this example bellow example is a pretty simple to
A few days ago, I was struggling to install python on a Linux machine, in which I had no root permission. That machine was shared with many other users and there was only an old python version already installed on the machine. After a bit of search and trial, I was able to install a newer version of python on this machine to my local directory.
My goal was to run a program developed under python 2.7 on the Linux server which already had python 2.6 installed. As you can see, it was impossible for me to upgrade python on the system because I had no root permission. The only solution was to install the python 2.7 into my local directory and override the necessary environment variables. Even though this blog aims for python 2.7, I believe it should also be the same for python 3.0. The detailed steps are as follows:
- Install python to local directory
Firstly, I create a folder in my home directory, download the …
[Read more]