Skip to content

Instantly share code, notes, and snippets.

View zaratedev's full-sized avatar
😎
Coding...

Jonathan Zarate zaratedev

😎
Coding...
View GitHub Profile
@mauroquinteros
mauroquinteros / styled-components.js
Created October 19, 2020 21:41
Styled Component with tagged template
function component(strings, ...values) {
return function (props) {
let newContent = strings.slice();
values.forEach((value, index) => {
newContent[index] += props[value];
});
return newContent.join("");
};
}
@henryonsoftware
henryonsoftware / xdebug_on_ubuntu.md
Last active February 3, 2024 21:31
Install xdebug on Ubuntu

Install Xdebug on Ubuntu.

Install xdebug

Run php -i and copy the output of the following command and paste it on https://xdebug.org/wizard.php. Follow the instructions there to install xDebug.

Example:

  1. Download xdebug-2.6.0.tgz: wget http://xdebug.org/files/xdebug-2.6.0.tgz

  2. Unpack the downloaded file with tar -xvzf xdebug-2.6.0.tgz