This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your user as owner | |
I prefer to own all the directories and files (it makes working with everything much easier), so I do: | |
# sudo chown -R my-user:www-data /path/to/your/laravel/root/directory | |
Then I give both myself and the webserver permissions: | |
# sudo find /path/to/your/laravel/root/directory -type f -exec chmod 664 {} \; | |
# sudo find /path/to/your/laravel/root/directory -type d -exec chmod 775 {} \; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This is a Pre-request script for Postman client to remediate OAuth 1.0a issue | |
* where certain request fails if it has a query parameter that includes some special characters. | |
* | |
* NOTE: This Pre-script is only available for "GET" request. | |
* There's a workaround for POST request. | |
* See: https://github.com/twitterdev/postman-twitter-ads-api/issues/2 | |
* | |
* In order to use this Pre-request script, you need to change your "Authorization" type to | |
* "No Auth" only for the target request and do not apply to the top-level object. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Redis extension on your pc | |
Download the CORRECT version the DDL from the following link | |
https://pecl.php.net/package/redis/4.1.0/windows | |
Put the dll in the correct folder | |
Wamp -> C:\wamp\bin\php\php-XXXX\ext | |
Laragon -> C:\laragon\bin\php\php-XXX\ext | |
Edit the php.ini file adding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Previamente crear y configurar tu app desde facebook developers. | |
//insertá este código en tu página y agregá tu APP ID y listo!.. Lee los comentarios para mas detalles. | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Colours | |
git config --global color.status auto | |
git config --global color.branch auto | |
git config --global color.diff auto | |
# Short-hand aliases | |
git config --global alias.st status | |
git config --global alias.ci commit | |
git config --global alias.co checkout | |
git config --global alias.br branch |