This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
stages: | |
- test | |
- deploy | |
cache: | |
paths: | |
- vendor | |
# test job | |
test: |
<?php namespace App\Http\Controllers; | |
class HomeController extends Controller | |
{ | |
/** | |
* Create a new controller instance. | |
* | |
* @return void | |
*/ | |
public function __construct() |
<?php | |
class Plugin extends PluginBase | |
{ | |
public function boot() | |
{ | |
// Override backend menu | |
Event::listen('backend.menu.extendItems', function($manager) { |
https://www.instagram.com/oauth/authorize/?client_id=CLIENT_ID&redirect_uri=URI&response_type=token&scope=public_scope |
build: | |
environment: | |
php: | |
version: 5.5.25 | |
dependencies: | |
before: | |
- find . -delete | |
- git clone https://github.com/octobercms/october.git . | |
- composer install --no-interaction --prefer-source | |
- mkdir -p ./plugins/vojtasvoboda/cnbrates |
engines: | |
phpmd: | |
enabled: true | |
checks: | |
CleanCode/StaticAccess: | |
enabled: false | |
duplication: | |
enabled: true | |
phpcodesniffer: | |
enabled: true |
<IfModule mod_headers.c> | |
<FilesMatch "\.(mp4|MP4)$"> | |
ForceType video/mp4 | |
Header set Content-Disposition "attachment" | |
Allow from all | |
</FilesMatch> | |
</IfModule> |
https://www.reddit.com/r/apple/comments/aqsh1y/how_i_dealt_with_apples_mouse_acceleration/
Read actuall value
defaults read -g com.apple.mouse.scaling
Write new value (require restart)