13%
30.05.2021
ensure => installed,
10 before => File[$config_file],
11 }
12 file { $config_file:
13 ensure => file,
14 content => template('apache/httpd.conf'),
15 notify => Service[$service_name],
16 }
17
13%
22.12.2017
$keyfile /etc/ssh
08 chmod 644 /etc/ssh/$filename
09 done
10 if [ -f .ssh/config ]; then
11 cat .ssh/config >> /etc/ssh/ssh_config
12 sed -i 's|~/.ssh|/etc/ssh|g' /etc/ssh/ssh_config
13
13%
04.04.2023
_type = "simple-zonal"
03 }
04 provider "google" {
05 ...
06 }
07 data "google_client_config" "default" {}
08 provider "kubernetes" {
09 ...
10 }
11 /*******************************************
12
13%
04.08.2020
// (c) 2020 by Federico Lucifredi
04
05 #include
06 #include
07 #include
08 #include
09 #include
10 #include
11 #include
12
13
13%
06.10.2019
PeerAddr => ' ThisDomain.com',
06 PeerPort => '2000',
07 Proto => 'tcp',
08 Type = 'SOCK_STREAM'
09 ) or die "Could not Open Port.\n";
Now I'll write to the server from the client
13%
09.01.2013
-e-mnpsy5bpzk-stack-AWSEBCloudwatchAlarmHigh-198IBXQXHBDPH
2013-05-08 20:09:25 INFO Application available at
DanApp-env-ceqwdhduep.elasticbeanstalk.com.
2013-05-08 20:09:25 INFO Successfully launched
13%
21.03.2017
# ===================
09 #
10 if __name__ == '__main__':
11
12 f = h5py.File("mytestfile.hdf5", "w")
13
14 dset = f.create_dataset("mydataset", (100,), dtype='i')
15
16 dset[...] = np.arange(100)
17
13%
06.10.2019
# The only valid categories are: 'registries.search', 'registries.insecure',
09 # and 'registries.block'.
10
11 [registries.search]
12 registries = ['docker.io', 'registry.fedoraproject.org', 'quay
13%
04.08.2020
# Names of all persons:
11 gremlin> g.V().hasLabel('person').values('name')
12 ==>marko
13 ==>vadas
14 ==>josh
15 ==>peter
16
17 # Name of person with ID 1
18 gremlin> g.V(1).values('name')
19 ==>marko
20
13%
02.02.2021
$this->name = $n;
10 $this->$birthday = $g;
11 }
12 }
13
14 // ---- in PHP 8 --------
15 class Address
16 {
17 public function __construct(
18 public string $name,
19 public Date