17%
10.04.2015
[...]
20 String line = readlineImpl(prompt);
21 if ((line != null) && (addToHist)) {
22 addToHistory(line);
23 }
24 return line;
25 }
26
27 public static void add
17%
10.04.2015
]
20 }
21 ]
22 }
23 ]
24 }
The script that performs the rsync operation, sync.sh, will look like Listing 3. Your script might be more complex (e.g., by adding some sort
17%
09.10.2017
program (e.g., PuTTY), you connect to the server on port 22 with the reserved IP address. The default username is pi
, and the default password is raspberry
(Figure 1). Now enter
sudo nems
17%
02.08.2022
) NOT NULL,
06 master VARCHAR(128) DEFAULT NULL,
07 last_check INT DEFAULT NULL,
08 type VARCHAR(6) NOT NULL,
09 notified_serial INT UNSIGNED DEFAULT
17%
28.11.2022
a Git server as a backup target, you don't need all of these features and are better off with a simple, but agile, Git server like Gitea [6], which handles many databases and runs in containers with low
17%
03.12.2015
.8, the Django formtools
[5] were part of this project and all was well. However, a decision was then made to outsource this part. Although this doesn't necessarily have to be a problem, Fedora 22 no longer
17%
05.12.2019
.multiply_(byref(a), byref(b))
print add.addtwo_(byref(a), byref(b))
The output from the Python code is:
$ python3 testfunc.py
8
6
If you like, you can write a simple Python wrapper function for the shareable objects
17%
05.12.2019
waitpid(-1, 0);
20 } else {
21 close READFROMCHILD;
22 close WRITETOCHILD;
23 $thisdata = ;
24 print "The child process read $thisdata";
25 print WRITETOPARENT "The child process
17%
05.12.2019
Listing 3
fcron Examples
## Execute the echo command at 10:05am on Sundays and on the 31st.
5 10 31 * 7 echo '''
## Run mycommand every day at 5:05, 5:35, 6:05, 6:35, 7:05, and 7:35.
& 05,35 5
17%
22.12.2017
if TLS connections (SSL) are used.
Fortunately, the free Let's Encrypt [6] certification service makes light work of configuring SSL on the web server [7]. Install the Let's Encrypt client on Debian