- Create a config file in home
~/.traefik/traefik.yml
and copy paste the following content there.
global:
checkNewVersion: true
sendAnonymousUsage: false
<?php | |
class Container | |
{ | |
protected $setings = array(); | |
public function set($abstract, $concrete = null) | |
{ | |
if ($concrete === null) { | |
$concrete = $abstract; |
We all get to work with Linux servers at sometime of our development career. Configuring a newly obtained CLI server (such as - linode, digitalocean, vultr etc.) can be confusing for the new comers as well as one who already knows how to configure one. Here I will try to discuss the steps to go along while configuring a fresh server.
If its a new server and you have access to the server as a root user, then you should add a new user which will prevent direct root access.
adduser
L.TileLayer(MAP_URL, { | |
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a>', | |
}, [ | |
{header: 'Authorization', value: ACCESS_TOKEN} | |
], null).addTo(map); |
<?php | |
/** | |
* Delete a file or matching files. | |
* | |
* @example deleteFile('/file-path/some-name-*.*'); | |
* | |
* @param string $filename | |
* @return array | |
*/ |
<?php | |
namespace App\Http\Controllers; | |
use Ratchet\ConnectionInterface; | |
use Ratchet\WebSocket\MessageComponentInterface; | |
use React\EventLoop\LoopInterface; | |
use SplObjectStorage; | |
class CustomWebsocketOneController implements MessageComponentInterface |
<?php | |
[ | |
[ | |
"currency_code" => "AFN", | |
"currency_name" => "Afghani", | |
"country" => "AFGHANISTAN" | |
], | |
[ | |
"currency_code" => "EUR", |
// Datetimepicker format sheet for - | |
// https://eonasdan.github.io/bootstrap-datetimepicker/ | |
// Vanilla datetimepicker | |
$('.datetimepicker').datetimepicker({ | |
format: 'YYYY-MM-DD LT', | |
defaultDate: moment().toISOString() | |
}); | |
// Only datepicker |