- Assuming that you have already installed php and apache
- Install xDebug php extension
# Ubuntu 16.04, php 7.0
sudo apt-get install php-xdebug
# Ubuntu 14.04, php 5.6
sudo apt-get install php5-xdebug
if ( window.localStorageAvailable ) | |
{ | |
window.localStorage.removeItem( 'FORM URL GOES HERE' ); | |
} |
Search regexp: \barray\(([^\(]*?)\) | |
Replace with: [$1] | |
Search & replace until it´s done. | |
Does not work if ( is in array keys or values. | |
@media (max-width: 600px) { | |
html #wpadminbar{top:-46px} /* wp admin bar fix, due to slide-push menu putting a relative position on the body element */ | |
} |
.dp-cur, .chip dt, .te, .te-t, .te-rev-s, .rb-n, .rb-i, .agenda, .event-title{ | |
white-space:normal !important; | |
} | |
#calendarTitle, | |
.tab-name, | |
img[title="Print my calendar (shows preview)"], | |
.footer img, | |
.details .links a:last-child, | |
.event-links a:last-child |
# Ubuntu 16.04, php 7.0
sudo apt-get install php-xdebug
# Ubuntu 14.04, php 5.6
sudo apt-get install php5-xdebug
<!doctype html> | |
<head> | |
<!-- | |
Šis pasargā no binārlauka negatīvās enerģijas nelabvēlīgās ietekmes. | |
Sīkāk: https://www.facebook.com/CUBESystems/videos/vb.158748300855954/1694637707266998/?type=2&theater | |
& | |
@@@@ | |
@@@@ | |
% @@@@ |
/** | |
* Below are several examples of methods that are difficult to clearly annotate with JSDoc annotations. | |
*/ | |
/** | |
* @param {Object} people An index of people keyed by a person's name | |
* @returns {Object} map An index of zipcodes keyed by a person's name | |
*/ | |
function find(people) { |
This sets up a publically-available domain that loops back to localhost IP address 127.0.0.1
. For example, this address could be localhost.example.com
if we controlled the example.com
domain. This relies on having a public domain name whose DNS records you can control. We can then generate LetsEncrypt certificates for this domain.
Our HTTP server runs on localhost:80
(default HTTP port). This lets us visit http://localhost.example.com
in a web browser and see the server running on localhost:80
.
We then run an HTTPS proxy server on localhost:443
(default HTTPS port) that uses the LetsEncrypt certificates we generated for localhost.example.com
. Visiting https://localhost.example.com
hits the proxy, which returns the correct certificates meaning the browser displays the "Secure" message. The proxy then passes the request through to the HTTP server.
Source: https://medium.com/@Mahmoud_Zalt/eloquent-relationships-cheat-sheet-5155498c209
One to one ( 1-1 ) |
One to many ( 1-n ) |
Poly one to many ( 1x-n ) |
Many to many ( n-n ) |
Poly many to many ( nx-n ) |
|
---|---|---|---|---|---|
Number of models | 2 only | 2 only | 3 and above | 2 only | 3 and above |
Number of tables | 2 (1/model) | 2 (1/model) | 3+ (1/model) | 3 (1/model + pivot) | 4+ (1/model + pivot) |
Pivot table | - | - | - | required |