- Download: https://curl.haxx.se/ca/cacert.pem (Snapshot was added to this gist, could be outdated!)
- Extend php.ini with
curl.cainfo = "[pathtothisfile]\cacert.pem"
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
[xdebug] | |
; For linux | |
zend_extension="/usr/local/opt/php71-xdebug/xdebug.so" | |
; For windows (absolute path also possible) | |
zend_extension=php_xdebug.dll | |
xdebug.remote_autostart=1 | |
xdebug.default_enable=1 | |
xdebug.remote_port=9001 | |
xdebug.remote_host=127.0.0.1 |
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
<?php | |
namespace App\Http\Controllers\Auth; | |
use Carbon\Carbon; | |
use Illuminate\Http\Request; | |
use App\Http\Controllers\Controller; | |
use Illuminate\Http\Response; | |
class TelegramLoginController extends Controller |
Source: https://techjourney.net/disable-or-uninstall-onedrive-completely-in-windows-10/
Press Win + R keyboard accelerator to open Run dialog box. Type GPedit.msc and hit Enter or OK to open Local Group Policy Editor. Navigate to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> OneDrive. In the right pane, double click on policy named Prevent the usage of OneDrive for file storage.
Run the following:
echo "LC_ALL=en_US.UTF-8" | sudo tee -a /etc/environment > /dev/null
echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen > /dev/null
echo "LANG=en_US.UTF-8" | sudo tee /etc/locale.conf > /dev/null
sudo locale-gen en_US.UTF-8
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
#!/usr/bin/env bash | |
# The d | |
# A simple wrapper for the docker-compose command. | |
# https://gist.github.com/okaufmann/64c4273287b618270bf4bf9451393b53 | |
projectName=$(basename "$PWD") | |
# rewrite php artisan shortcut | |
if [ "$1" = "a" ]; then |