19%
25.09.2023
.getenv("REDIS_HOST", "localhost")
07 r = redis.Redis(host=redis_host, port=6379, decode_responses=True)
08
09 @app.route('/')
10 def hello():
11 count = r.incr('counter')
12 return f'Hello, you have visited {count} times.'
13
19%
05.03.2014
:15:01 all 2.08 0.00 0.96 0.02 0.00 96.94
12:25:01 all 1.96 0.00 0.82 0.06 0.00 97.16
12:35:01 PM all 1.22 0
19%
20.03.2014
jcb@hercules:# sar -u -f /var/log/sysstat/sa02 -s 12:00:00 -e 13:00:00
Linux 3.5.0-43-generic (hercules) 02.12.2013 _x86_64_ (2 CPU)
12:05:01 CPU %user %nice %system
19%
17.02.2015
.6.2 on Ubuntu 12.04. Line 1 retrieves the keys for the external repository, and line 2 integrates the key. Line 3 updates the package list. The last two lines install mongodb-org and the current version
19%
05.08.2024
= [size][size]int {{0},{0},}
08
09 for i := 0; i < size; i++ {
10 for j := 0; j < size; j++ {
11 array[i][j]++
12 }
13 }
14
15
19%
11.10.2016
Query team is now focused on further developing jQuery 3. However, the old versions 1.12 and 2.2 still receive bug fixes, so developers can address the migration in peace.
Infos
jQuery: https ... The functions and objects of the jQuery JavaScript library make the work of web developers much easier. Although jQuery 3 remains largely compatible with version 2, some changes might prevent its use. ... New features in jQuery 3 ... New features in jQuery 3
19%
21.08.2014
hv = [ "tiffy.tuxgeek.de", "ernie.tuxgeek.de" ]
07
08 for hv_host in hv:
09
10 uri = "qemu+ssh://virtuser@" + hv_host + "/system"
11 conn = libvirt.openReadOnly(uri)
12
13 hypervisor_name = conn ... 22
19%
13.12.2022
2022/11/05 08:56:22 info unpack layer: sha256:3b38e1016650813dc5e3bb98cabcc9bf6167399caee7806bc1ca9f3df9825f2e
Updating the container's /etc/resolv.conf
uid./gid not synced, run
wwctl
19%
07.06.2019
://misiu.pl:8080/";
04
05 JenkinsLocationConfiguration jlc = JenkinsLocationConfiguration.get()
06
07 jlc.setUrl(newRootURL);
08 jlc.save();
Listing 3 shows two sample YAML files used by JCasC to set up
19%
30.11.2020
== 0:
08 data = { 'key1' : [10,10.1,10+11j],
09 'key2' : ('mpi4py' , 'python'),
10 'key3' : array([1, 2, 3]) }
11 else:
12 data = None
13 # end if
14
15 data = comm