Just set your configuration path. Examples :
- /etc/netplan/50-cloud-init.yaml
- /etc/resolv.conf
Just set your configuration path. Examples :
docker run -d -p 9001:9001 --name portainer_agent --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/docker/volumes:/var/lib/docker/volumes portainer/agent |
import json | |
import sys | |
from urllib import request | |
from pkg_resources import parse_version | |
def versions(pkg_name): | |
url = f'https://pypi.python.org/pypi/{pkg_name}/json' | |
releases = json.loads(request.urlopen(url).read())['releases'] | |
return sorted(releases, key=parse_version, reverse=True) |
from __future__ import absolute_import, division, print_function, unicode_literals | |
import numpy as np | |
import tensorflow as tf | |
import tensorflow_hub as hub | |
import tensorflow_datasets as tfds | |
version = tf.__version__ | |
executing_eagerly = tf.executing_eagerly() |
I hereby claim:
To claim this, I am signing this object:
INSERT INTO `province` (`id`, `name`) VALUES | |
(1, 'آذربايجان شرقي'), | |
(2, 'آذربايجان غربي'), | |
(3, 'اردبيل'), | |
(4, 'اصفهان'), | |
(5, 'ايلام'), | |
(6, 'بوشهر'), | |
(7, 'تهران'), | |
(8, 'چهارمحال بختياري'), | |
(9, 'خراسان جنوبي'), |
{ | |
"meta": { | |
"chronografVersion": "1.7.14", | |
"sources": { | |
"1": { | |
"name": "Influx 1", | |
"link": "/chronograf/v1/sources/1" | |
} | |
} | |
}, |
DB_CONNECTION = mysql | |
DB_HOST = db | |
DB_PORT = 3306 | |
DB_DATABASE = app | |
DB_USERNAME = root | |
DB_PASSWORD = root |
Groups an array into another array by a given $key
function array_group(array $array, $key)
{
$result = [];
foreach ($array as $item) {
$column = $item[$by_column];
unset($item[$by_column]);
$('#banner_link').inputmask("url", { | |
mask: "https://www.*{1,20}[.*{1,20}]", | |
greedy: false, | |
clearMaskOnLostFocus: false, | |
clearIncomplete: false, | |
definitions: { | |
'*': { | |
validator: "[0-9A-Za-z!#$%&'*+/=?^_`{|}~\-]", | |
cardinality: 1, | |
casing: "lower" |