19%
22.08.2011
[inst.id] = inst.state
08 summary[inst.state] += 1
09 state
10 end
11 total = summary.values.inject(0) { |sum, i| sum += i }
12 puts "Found #{total} instances in the following states:"
13 summary
19%
04.11.2011
on enterprise-grade rack hardware, there is no reason one cannot follow along at home with a few beige boxes and an 10Mb hub, as long as the servers are capable of booting from the network with PXE [6]. PXE
19%
04.02.2014
^
08 HINT: There is an entry for table "a", but it cannot be referenced from this part of the query.
09
10
11 # But LATERAL makes this join correct:
12
13
14 SELECT
15 a.id, a.name, t
19%
09.01.2013
OR REPLACE FUNCTION public.deny_alter_table()
02 RETURNS event_trigger
03 LANGUAGE plpgsql
04 AS $function$
05 BEGIN
06
07 RAISE EXCEPTION '% is disabled', TG_TAG;
08
09 END;
10 $function$
11
12
19%
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
19%
20.10.2013
database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ACS-2 (unknown minor revision code: 0x001f)
Local Time is: Sun Oct 13 09:12:15 2013 EDT
SMART support is: Available - device has SMART
19%
02.06.2020
": "83d60b98-5864-45c6-94ad-4d02f5f4216a",
11 "url": "/v2/routes/83d60b98-5864-45c6-94ad-4d02f5f4216a",
12 "created_at": "2019-11-09T10:40:04Z",
13 "updated_at": "2019-11-09T10
19%
18.12.2013
(One-by-One)
1 #include
2
3 /* Our structure */
4 struct rec
5 {
6 int x,y,z;
7 float value;
8 };
9
10 int main()
11 {
12 int counter;
13 struct rec my_record;
14 int counter_limit;
15
19%
09.10.2017
dir=os.path.dirname(path)
07 if dir and not os.path.exists(dir):
08 os.makedirs(dir)
09 if os.path.basename(path):
10 bucket.download_file(path,path)
11
12 bname='prosnapshot'
13
19%
28.11.2021
edit podman.socket
08 mkdir -p /etc/systemd/system/podman.socket.d
09 cat >/etc/systemd/system/podman.socket.d/override.conf
10 [Socket]
11 SocketMode=0660
12 SocketUser=root
13 Socket