17%
10.04.2015
for changed files from the command line).
Listing 1
Configuration File
01 {
02 "version": "3.0.0",
03 "watched": [
04 {
05 "path": "/opt/repos",
06 "triggers": []
07 }
08
17%
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
17%
14.08.2017
.
Listing 3
contacts.rb
01 require 'rubygems'
02 require 'sinatra'
03 require 'sinatra/json'
04 require 'uri'
05 require 'active_record'
06
07 ActiveRecord::Base.establish_connection(
08 :adapter
17%
22.12.2017
with Gluster containers …
Figure 2: … or an external storage cluster, in which the individual Gluster nodes run [3].
A new service in Gluster 3.1.3
17%
01.08.2019
, and alerts are then sent by MQTT and stored in a SQLite database. The front end is a lightweight Flask app [3].
Figure 2: The honeyBot project flowchart
17%
03.02.2022
class BlazeDemoV1 extends Simulation {
08
09 var qualifiedhost = "http://blazedemo.com"
10 var proxyport = 0
11 var proxyhost = "not set"
12
13 // headers for HTTP call
14 val headers = Map(
15
17%
06.10.2019
illustrates the differences.
Listing 1
Two Ways to Indent Code
01 if (x == y) then
02 {
03 do something;
04 }
05
06 while ( x < y) {
07 x = x+1;
08 }
The indentation depth
17%
07.11.2011
compute(istart, iend):
06 isum = 0
07 for i in xrange(istart, iend+1):
08 isum += i**3 + 123456789*i**10 + i*23456789
09
10 return isum
11
12 if '__main__' == __name__:
13
14
17%
01.08.2019
whoami
ls -al /usr/share/nginx
root
total 12
drwxr-xr-x 3 root root 4096 Feb 6 08:11 .
drwxr-xr-x 1 root root 4096 Feb 18 13
17%
14.03.2013
well. Of the available clients, PJSUA [3] turns out to be the best choice. PJSUA is the PJSIP reference implementation, and it comprises a function library for SIP, RTP, STUN, and some other Vo