15%
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
15%
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
15%
09.04.2019
>
09 3>3>`;
10
11 class AnotTitle extends AnotElement {
12 constructor() {
13 super();
14 this.shadowRoot.appendChild(anotTitle.content.cloneNode(true));
15 }
16
15%
30.11.2025
clear
03 while true
04 do
05 echo "New record"
06 maxrecord=`ls -1 *.dat | sort | tail -1 | cut -d. -f 1`
07 newrecord=$(echo $maxrecord + 1 | bc )
08 width=`echo $newrecord | wc -c`
09
10 ...
11
12
14%
20.02.2012
, Failed
2012-01-09 20:49:17, 8108, 414.12, 4, 0.78, 19.58, 0.01, 15.18, 8175, 72
2012-01-09 20:49:30, 68, 2.38, 0, 0.45, 28
14%
30.11.2025
=~ s/%([0-9a-fA-F][0-9a-fA-F])/pack("U",hex($1))/eg;
11 # test for each group squid sent in its request
12 foreach $group (@groups) {
13 $group =~ s/%([0-9a-fA-F][0-9a-fA-F])/pack("U",hex($1))/eg
14%
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
14%
11.06.2014
_auth;
04
05 group server => "hercules", "sugar";
06
07 desc "Get the uptime of all servers";
08
09 task "uptime", group => "server", sub {
10 my $output = run "uptime";
11 say $output;
12 }
You might
14%
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
14%
10.06.2015
"} )
09
10 # force called programs to english output
11 LANG=C LC_ALL=C
12
13 function die {
14 echo 1>&2 "$*"
15 exit 10
16 }
17
18 function get_display_resolution {
19 local find_display="$1