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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
[
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          391,
          232,
          1101,
          232,
          1101,
          1295,
          391,
          1295
        ],
        "anno_id": 5,
        "text": "```\nBeispiel:\np {    font-family: Verdana,Arial,sans-serif;\n       font-size: 9px;\n       font-weight: bold;\n       line-height: 1.5;\n       text-indent: 20px;\n       margin-bottom: 5px;\n       color: green;\n       background-color: #CCCCC;\n}\nimg {  width: 200px;\n       height: 150px;\n       float: right;\n       margin: 10px;\n}\ndiv {  background-image: url(./images/bg.jpg);\n       border: 1px solid black;\n       padding: 5px;\n}\na {   font-style: italic;\n      font-decoration: none;\n}\nMerke:\nErläuterung der CSS-Eigenschaften\nfont-family        =Wahl der Schriftart,\nfont-size          =Schriftgröße\nfont-weight        =Schriftstärke\nline-height        =Zeilenabstand\ntext-indent        =Erstzeileneinzug\nmargin-bottom      =Abstand am unteren Rand (des Absatzes)\ncolor              =Schriftfarbe\nbackground-color   =Hintergrundfarbe\nwidth              =Breite (hier: des Bildes)\nheight             =Höhe\nfloat              =Umfließen des Bildes mit Text (hier: Das Bild soll rechts stehen und links mit Text umflossen werden)\nmargin             =Außenabstand (rings um das Bild)\nbackground-image   =Hintergrundbild\nborder             =Rahmen (hier: eine 1px breite, durchgezogene schwarze Linie)\npadding            =Innenabstand (d. h. Abstand des im Rahmen stehenden Textes zum Rahmen selbst)\nfont-style         =Schriftform\nfont-decoration    =weitere Schriftauszeichnung (hier: keine Unterstreichung)\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "de"
      },
      "image_path": "de_9c5867c66d2948d6083854441afc4e08_160_76.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          272,
          257,
          1009,
          257,
          1009,
          1401,
          272,
          1401
        ],
        "anno_id": 0,
        "text": "```\nDeskripsi\nwrite( \"Masukkan sebuah angka (maks 4 digit) \" );\nread ( angka );\n{ memisahkan digit angka dalam urutan d4 d3 d3 d1 }\nd4 ← angka \\ 1000;\nsisa ← angka % 1000;\nd3 ← sisa \\ 100;\nsisa ← sisa % 100;\nd2 ← sisa \\ 10;\nsisa ← sisa % 10;\nd1 ← sisa;\n{ menterjemahkan digit }\nif ( d4 > 1 )\nthen angka4 ← digit ( d4 ) + \"ribu\";\nelse if ( d4 = 1 )\nthen angka4 ←\"seribu\";\nelse angka4←' \";\nendif.\nendif.\n\nif ( d3 > 1 )\nthen angka3 ← digit ( d3 ) + \"ratus\";\nelse if ( d3 = 1 )\nthen angka3←\"seratus\";\nelse angka3←' ';\nendif.\nendif.\n\nif ( d2 > 1 )\nthen angka2  digit ( d2 ) + \"puluh\";\nif ( d1 = 0 )\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "id"
      },
      "image_path": "id_44cb017c564d7e168b2686eccc201ce0_134_128.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          147,
          267,
          502,
          267,
          502,
          647,
          147,
          647
        ],
        "anno_id": 1,
        "text": "```\n #define LED BLUE_LED\n\n unsigned int compteur;\n unsigned int compteurR;\n unsigned int compteurV;\n unsigned int compteurB;\n \n void setup() {\n   pinMode (LED, OUTPUT);\n }\n \n void loop() {\n   digitalWrite (LED, HIGH);\n   delay (200);\n   digitalWrite (LED, LOW);\n   delay (200);\n   compteur++;\n   compteurB++;\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          533,
          764,
          937,
          764,
          937,
          1046,
          533,
          1046
        ],
        "anno_id": 9,
        "text": "```\n #define LED RED_LED\n\n void setupRouge(){\n   pinMode(LED, OUTPUT);\n }\n \n void loopRouge(){\n    digitalWrite (LED, HIGH);\n    delay(201);\n    digitalWrite (LED, LOW);\n    delay(201);\n    compteur++;\n    compteurR++;\n  }\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "fr"
      },
      "image_path": "fr_c8abe6a8a877f8b3382104690be09c77_100_9.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          854,
          255,
          1311,
          255,
          1311,
          481,
          854,
          481
        ],
        "anno_id": 14,
        "text": "```\n/* buffer.c */\n#include <stdio.h>\n#include <string.h>\nint main(int argc, char *argv[])\n{\n  char buffer[5];\n  if (argc < 2)\n  {\n    fprintf(stderr, \"ZASTOSOWANIE: %s string\\n\", argv[0]);\n    return 1;\n  }\n  strcpy(buffer, argv[1]);\n  return 0;\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          861,
          641,
          1414,
          641,
          1414,
          878,
          861,
          878
        ],
        "anno_id": 18,
        "text": "```\n/* Improved.c */\n#include <stdio.h>\n#include <string.h>\nint main(int argc, char *argv[])\n{\n  char buffer[5];\n  if (argc < 2)\n  {\n    fprintf(stderr, \"USAGE: %s string\\n\", argv[0]);\n    return 1;\n  }\n  strcpy(buffer, argv[1], sizeof(buffer));\n  buffer[sizeof(buffer) - 1] = '\\0'; /* kończmy łańcuch znakiem null */\n  return 0;\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pl"
      },
      "image_path": "pl_5d7b63e46f3024941e25dae7e3f2972a_120_78.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          53,
          167,
          832,
          167,
          832,
          570,
          53,
          570
        ],
        "anno_id": 2,
        "text": "```\n{\n\"filename\": \"NDA3Nzl5Mjkuemlw\",\n\"filename_decoded\": \"40772929.zip\",\n\"filesize\": 15768715,\n\"md5\": \"90496c4c4acbcb8fdf32ac0c323ef3f5\",\n\"header_md5\": \"34b75cbcedb3796423ee6f0b51a15fac\",\n\"sha1\": \"5d28148f9fb5666554f7a29b8773c4c0ccdaec6e\",\n\"sha256\": \"36fb59617ee2997aa15e1a64f972e6701c212bb3847c859cb4ccd28fb23c5b25\",\n\"crc32\": 3368094478,\n\"zip_password\":\"\",\n\"uncompressed_size\": 23465913,\n\"pdg_dir_name\":\"Vespro della Beata Vergine Bassus generalis_40772929\",\n\"pdg_main_pages_found\": 88,\n\"pdg_main_pages_max\": 88,\n\"total pages\": 90,\n\"total_pixels\": 978783288,\n\"pdf_generation_missing_pages\": false\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "it"
      },
      "image_path": "it_aacid__duxiu_files__20240613T200727Z__k5h6bmcswjJTaAF4yyF2uZ_91_91.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          163,
          193,
          633,
          193,
          633,
          1462,
          163,
          1462
        ],
        "anno_id": 1,
        "text": "```\nif (!isStageSolved) {\n   if (_isSelectionOutOfBounds(_index2)) {\n     select(0, 1);\n     resetIndexes();\n   } else {\n     select(_index1, _index2);\n    }\n   log(\"index1: $_index1 e index2 $_index2\");\n   notifyListeners();\n  }\n}\n\nvoid _unselect(int index1, int index2) {\n  draggableList[index1] = SortableItem(\n    title: draggableList[index1].title,\n    color: Colors.white,\n    key: draggableList[index1].key);\n  draggableList[index2] = SortableItem(\n    title: draggableList[index2].title,\n    color: Colors.white,\n    key: draggableList[index2].key);\n}\n\nvoid _incrementIndexes() {\n  _index1++;\n  _index2++;\n  if (_isListFullyOrdered()) {\n    isStageSolved = true;\n    log('Stage solved!');\n    notifyListeners();\n  }\n}\n\nvoid select(int index1, int index2) {\n  draggableList[index1] = SortableItem(\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pt"
      },
      "image_path": "pt_f3a5482e30719a33a9c467191f1e2e90_180_85.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          242,
          1286,
          908,
          1286,
          908,
          1422,
          242,
          1422
        ],
        "anno_id": 8,
        "text": "```\nSQL> SELECT c.name \"Customer Name\", c.region_id \"Region_ID\",\n2>   r.name \"Region Name\"\n3>   FROM s_customer c, s_region r\n4>   WHERE c.region_id = r.id;\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_1d3824a9d5d5602c9655fd96f3c5c88b_118_56.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          156,
          507,
          918,
          507,
          918,
          750,
          156,
          750
        ],
        "anno_id": 4,
        "text": "```\ndef make_response_files (source_files)\n  source_files.inject([]) do |result, src|\n    name = \"#{src}.#{Process.pid}.tmp\"\n    File.open(name, 'w') { |file| file << \"cl -c -O2 #{src}\" }\n    at_exit { File.delete name }\n\n    result << name\n  end\nend\n\nresponse_files = make_response_files([ 'hello.cpp', 'world.cpp' ])\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          156,
          977,
          804,
          977,
          804,
          1262,
          156,
          1262
        ],
        "anno_id": 7,
        "text": "```\nrequire 'fox16'\n\ninclude Fox\n\ntheApp = FXApp.new\n\ntheMainWindow = FXMainWindow.new(theApp, \"Hello\")\ntheButton = FXButton.new(theMainWindow, \"Hello, World!\")\ntheButton.connect(SEL_COMMAND) { exit }\n\ntheApp.create\ntheMainWindow.show\ntheApp.run\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_e38fb6eee20491d14bb0ba0a50f4cc82_62_43.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          262,
          172,
          951,
          172,
          951,
          891,
          262,
          891
        ],
        "anno_id": 1,
        "text": "```\nclass Bangun {\n  double panjang;\n  double lebar;\n\n  // method dengan argumen\n  void isiData(double p, double l) {\n      panjang = p;\n      lebar = l;\n  }\n\n  // method yang mengembalikan nilai\n  double hitungLuas() {\n      double luas = panjang * lebar;\n      return luas;\n  }\n}\n\nclass pakaiBangun {\n public static void main(String[] args) {\n    Bangun b;\n\n    // instansiasi obyek\n    b = new Bangun();\n\n    // memanggil method isiData dan mengisi argumennya\n    b.isiData(6,8);\n\n    // memanggil method hitungLuas() untuk objek b\n    System.out.println(\"Luas b=\" + b.hitungLuas());\n  }\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "id"
      },
      "image_path": "id_1e973f4c3959be1d57893caa25f11e5d_183_81.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          158,
          151,
          882,
          151,
          882,
          693,
          158,
          693
        ],
        "anno_id": 2,
        "text": "```\n main()\n {  \n int i;\n\n cout << \"Program wyswietla liczby całkowite od 1 do 20.\" << endl;\n \n for (i = 1; i <= 20; i++)\n {\n if (i < 20)\n {\n  cout << i << \".\": \n }   \n else\n {\n  cout << i << \".\";\n }\n }\n \n getch() : // czeka na nacisniecie dowolnego klawisza\n }\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          185,
          814,
          884,
          814,
          884,
          890,
          185,
          890
        ],
        "anno_id": 4,
        "text": "```\nProgram wyswietla liczby całkowite od 1 do 20. \n1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20.\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          164,
          1158,
          882,
          1158,
          882,
          1483,
          164,
          1483
        ],
        "anno_id": 10,
        "text": "```\n#include <iostream.h> // Zadanie 3.5\n#include <conio.h>\n\nmain()\n{\nint i=1;// ustalenie wartosci poczatkowej\n\ncout <<\"Program wyswietla liczby całkowite od 1 do 20.\" << endl;\n\ndo\n{\n if (i < 20)\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pl"
      },
      "image_path": "pl_bf8637b6b2af50c43b2a3e463665f808_122_35.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          71,
          430,
          427,
          430,
          427,
          463,
          71,
          463
        ],
        "anno_id": 6,
        "text": "```\ncurl X GET http://10.210.1.24:8888/api/rtc H\nAPI KEY:078725375deee4f719049ad98f9b36a3\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          75,
          543,
          386,
          543,
          386,
          656,
          75,
          656
        ],
        "anno_id": 8,
        "text": "```\n{\n   \"resultOfLastCommand\":\"OK\",\n   \"rtcB\":\"19111303113826\",\n   \"rtc\":\"19112407172510\",\n   \"rtcAtBoot\":\"Wed 2019-11-13 11:38:26\",\n   \"rtcNow\":\"Sun 2019-11-24 17:25:10\"\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          568,
          344,
          777,
          344,
          777,
          410,
          568,
          410
        ],
        "anno_id": 18,
        "text": "```\n{\n\"resultOfLastCommand\":\"OK\",\n\"softwareVersion\":\"0.7.155\"\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_2d465782d595a445426f77f6bca01d3f_100_24.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          138,
          209,
          590,
          209,
          590,
          240,
          138,
          240
        ],
        "anno_id": 1,
        "text": "```\nhabitacion.add_pared(pared_izq)\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          135,
          291,
          898,
          291,
          898,
          544,
          135,
          544
        ],
        "anno_id": 2,
        "text": "```\nPHP:\n$habitacion = new Habitacion($piso, $cielo_raso);\n$habitacion->save();\n\n$pared_izq = new Pared();\n$pared_izq->habitacion = $habitacion->habitacion_id;\n$pared_izq->save();\n\n$habitacion->add_pared($pared_izq);\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          136,
          1101,
          771,
          1101,
          771,
          1325,
          136,
          1325
        ],
        "anno_id": 5,
        "text": "```\nPython:\nlaja = Laja()\nlaja.color = 'beige'\nlaja.save()\n\npared = Pared()\npared.habitacion = habitacion.habitacion_id\npared.save()\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "es"
      },
      "image_path": "es_c91f0f9335c859c4acc76e8ba5730852_163_117.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          144,
          195,
          984,
          195,
          984,
          754,
          144,
          754
        ],
        "anno_id": 1,
        "text": "```\n 6 public class UserStorage{\n 7\n 8     public UserStorage(){\n 9         data = new Hashtable<AuthorizeInfo, UserInfo>();\n10         data.put(new AuthorizeInfo(\"1\", \"11\"),\n11                 new UserInfo(\"Novak E.A.\", \"novak@serv.com\", \"Stavropol\"));\n12         data.put(new AuthorizeInfo(\"2\", \"22\"),\n13                 new UserInfo(\"Storzev E.P.\", \"storzev@serv.com\", \"Moskow\"));\n14         data.put(new AuthorizeInfo(\"3\", \"33\"),\n15                 new UserInfo(\"Gumin T.S.\", \"gumin@serv.com\", \"New York\"));\n16         data.put(new AuthorizeInfo(\"4\", \"44\"),\n17                 new UserInfo(\"Shildin F.A.\", \"shildin@serv.com\", \"Paris\"));\n18         data.put(new AuthorizeInfo(\"5\", \"55\"),\n19                 new UserInfo(\"Skripin T.T.\", \"skripin@serv.com\", \"Krasnodar\"));\n20         data.put(new AuthorizeInfo(\"6\", \"66\"),\n21                 new UserInfo(\"Gunin F.F.\", \"gunin@serv.com\", \"Georgievsk\"));\n22     }\n23\n24     private Hashtable<AuthorizeInfo, UserInfo> data;\n25\n26     public UserInfo getUser(AuthorizeInfo ob){\n27         if(data.containsKey(ob))\n28            return data.get(ob);\n29         else return null;\n30     }\n31 }\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          207,
          938,
          953,
          938,
          953,
          1405,
          207,
          1405
        ],
        "anno_id": 4,
        "text": "```\n 5 public class LogoExample {\n 6\n 7     public static void main(String[] args) {\n 8         UserStorage task = new UserStorage();\n 9         Scanner sc = new Scanner (System.in);\n10         System.out.print(\"Введите логин > \");\n11         String login = sc.next();\n12         System.out.print(\"Введите пароль > \");\n13         String pwd = sc.next();\n14         UserInfo user = task.getUser(new AuthorizeInfo(login, pwd));\n15         if(user != null)\n16         {\n17             System.out.println(user.fio);\n18             System.out.println(user.city);\n19             System.out.println(user.mail);\n20         }\n21         else\n22             System.out.println(\"нет такого пользователя!\");\n23\n24    }\n25   }\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_26387f6f44d4ad6a550dbbb23aff9e0b_183_112.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          222,
          151,
          963,
          151,
          963,
          184,
          222,
          184
        ],
        "anno_id": 0,
        "text": "```\nCall MPI_COMM_RANK(MPI_COMM_WORLD, Rank, Ierr)\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          159,
          215,
          952,
          215,
          952,
          1363,
          159,
          1363
        ],
        "anno_id": 1,
        "text": "```\nC «0»-процесс засекает время\n    If (Rank.eq.0) time1 = MPI_WTime()\n\nC Каждый процесс определяет свои пределы интегрирования\nC и число интервалов разбиения\n    Al = A+(B-A)*Rank/Size\n    Bl = Al+(B-A)/Size\n    N = 1000000\n\nC Каждый процесс определяет свою частичную сумму ...\n    Sum = 0\n    Do I = 1,N\n    X = AI+(BI-A)*(I-0.5d0)/N\n    Sum = Sum + F(X)\n    End Do\n\nC «0»-процесс получает частичные суммы и определяет\nC результат\n    If (Rank.eq.0) Then\n    GSum = Sum\n    Do I=1,Size-1\n     Call MPI_RECV(ISum, 1, MPI_DOUBLE_PRECISION,\n $                 i, 0, MPI_COMM_WORLD, Status, Ierr)\n     GSum = GSum + ISum\n    End Do\n\n    time2 = MPI_WTime()\n    GSum = GSum/(N*Size)\n    Write (6,\\*) 'Result=',GSum,'Error=',1-GSum,\n $                              'Time=',time2 - time1\n   else\n      Call MPI_SEND(Sum, 1, MPI_DOUBLE_PRECISION, 0,\n $                  0, MPI_COMM_WORLD, Ierr)\n   End If\n   Call MPI_FINALIZE(Ierr)\n Stop\n End\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_de6f448d41597a55a68e961501b7e4c2_198_60.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          182,
          202,
          1002,
          202,
          1002,
          561,
          182,
          561
        ],
        "anno_id": 1,
        "text": "```\nvar p:^integer;\n    a:string;\nbegin\n...\np^:=p^*2;        //обращение к значению, на которое ссылается\n                 //указатель (разыменовывание)\nif p=nil then...   //использование адреса\np:=nil;            //использование адреса\n...\nend.\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_43529919083f93e8a6343c7699484373_154_7.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          320,
          708,
          706,
          708,
          706,
          925,
          320,
          925
        ],
        "anno_id": 7,
        "text": "```\n===================== RESTART: C:/\ninserire la base:10\ninserire l'altezza:5\nIl rettangolo con:\n- la base : 10\n- l'altezza: 5\n-> la misura dell'area : 50\n-> il perimetro misura : 30\n>>>| \n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "it"
      },
      "image_path": "it_552cd0778f1df65f4e5a9075a5403e30_114_33.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          82,
          154,
          788,
          154,
          788,
          565,
          82,
          565
        ],
        "anno_id": 1,
        "text": "```\n<script language=\"javascript\">\nreponse=prompt(\"Javascript est un langage: A.non typé B.Faiblement\ntypé C.Typé\", \"Saisissez ici la lettre correspondant à votre réponse\");\nswitch (reponse)\n{\ncase \"A\":\nalert(\"Pas tout-à-fait, ré-essayez\");\nbreak;\ncase \"B\":\nalert(\"Bravo! C'est exact\");\nbreak;\ncase \"C\":\nalert(\"Pas tout-à-fait, ré-essayez\");\nbreak;\ndefault:\nalert(\"Votre réponse ne correspond pas aux propositions\");\nbreak;\n}\n</script>\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "fr"
      },
      "image_path": "fr_955b62e7b2e3eab0cac60bf2050eec87_189_49.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          153,
          191,
          894,
          191,
          894,
          665,
          153,
          665
        ],
        "anno_id": 1,
        "text": "```\nprogram znaki;\nvar\n   c : char;\n\nbegin\n   write ('Podaj znak: ');\n   readln (c);\n   if c = ' '\n      then writeln ('Spacja')\n      else if (c >= '0') and (c <= '9')\n         then writeln ('Cyfra')\n         else if ((c >= 'A') and (c <= 'Z')) or ((c >= 'a')\n                 and (c <= 'z'))\n         then writeln ('Litera')\n         else if ord (c) < 32\n            then writeln ('Znak sterujacy')\n            else writeln ('Symbol');\nend.\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          153,
          831,
          825,
          831,
          825,
          1306,
          153,
          1306
        ],
        "anno_id": 4,
        "text": "```\nprogram wykres1;\nvar\n   liczby : array [1..10] of real;\n   licznik, gwiazdki : integer;\n\nbegin\n   for licznik := 1 to 10 do\n   begin\n     write ('Podaj liczbę ', licznik, ' ');\n     read (liczby[licznik]);\n   end;\n   for licznik := 1 to 10 do\n   begin\n      for gwiazdki := 1 to round (liczby[licznik]) do\n         write ('*');\n      writeln (' ', liczby[licznik]:0:2);\n   end;\nend.\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pl"
      },
      "image_path": "pl_d60773f20f145720b1736faef421dfe8_195_169.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          115,
          118,
          474,
          118,
          474,
          349,
          115,
          349
        ],
        "anno_id": 0,
        "text": "```\n    cp \"$1\" default/\nfi\n\nif [ \"$?\" = \"0\" ]\nthen\n    echo \"Skopiowano\"\nelse\n    echo \"Nie skopiowano\"\nfi\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          115,
          1027,
          661,
          1027,
          661,
          1408,
          115,
          1408
        ],
        "anno_id": 4,
        "text": "```\n#!/bin/bash\n\nilosc_arg=\"$#\"\n\nif [ $ilosc_arg = \"0\" ]\nthen \n     echo \"Nie podales argumentow\"\nelif [ $ilosc_arg = \"1\" ]\nthen \n     echo \"Podales jeden argument: $1\"\nelif [ $ilosc_arg = \"2\" ]\nthen \n     echo \"Podales dwa argumenty: $1 $2\"\nelif [ $ilosc_arg = \"3\" ]\nthen\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pl"
      },
      "image_path": "pl_27b73e67762c46a7421b56797d82dab6_71_24.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          218,
          159,
          887,
          159,
          887,
          609,
          218,
          609
        ],
        "anno_id": 2,
        "text": "```\n         pValueStream);\n   wprintf(L\"callback() cbStreamSize: %ul\\n \",\n           cbStreamSize);\n   if (BluetoothSdpGetElementData(pValueStream,\n                                  cbStreamSize,\n                                  &sdpElementData)\n       != ERROR_SUCCESS) {\n         //...\n         return FALSE;\n   }\n   else {\n        //...\n        return TRUE;\n   }\n}\n//------------------------------------------------\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          219,
          1057,
          779,
          1057,
          779,
          1228,
          219,
          1228
        ],
        "anno_id": 8,
        "text": "```\n DWORD BluetoothSdpGetAttributeValue(  \n   __in   LPBYTE pRecordStream,  \n   __in   ULONG cbRecordLength,  \n   __in   USHORT usAttributeId,  \n   __out  PSDP_ELEMENT_DATA pAttributeData  \n);\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pl"
      },
      "image_path": "pl_359037ddc256584fde4d7d8300b1000e_156_65.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          198,
          198,
          578,
          198,
          578,
          687,
          198,
          687
        ],
        "anno_id": 1,
        "text": "```\nint i, *pEntero;\n/* Llenamos el vector con los números 1, 2, 3, 4 y 5 */\nfor(i=0;i<5;i++)\n{\n    vector[i]=i+1;\n}\n/* Hacemos que el puntero apunte al array */\npEntero = vector;\nprintf(\"%i\\n\", *pEntero);\npEntero++; /* Equivale a pEntero = pEntero +1 */\n  printf(\"%i\\n\", *pEntero);\npEntero++;\nprintf(\"%i\\n\", *pEntero);\npEntero++;\nprintf(\"%i n\", *pEntero);\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          202,
          1213,
          591,
          1213,
          591,
          1430,
          202,
          1430
        ],
        "anno_id": 6,
        "text": "```\n/*\n * Programa: ej03b.c\n *\n * Descripción:\n *   Muestra el uso de los operadores incremento y decremento\n *   con un puntero, así como las peculiaridades de cada tipo\n *   de puntero.\n *\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          622,
          196,
          1020,
          196,
          1020,
          1449,
          622,
          1449
        ],
        "anno_id": 8,
        "text": "```\n * Compilación:\n *   gcc ej03b.c -o ej03b\n *\n */\n#include<stdio.h>\nmain()\n{\n  /* Declaramos las variables necesarias */\n  int vectorE[5];\n  int i, *pEntero;\n  char vectorC[5], *pCaracter;\n  float vectorR[5], *pReal;\n  /* Llenamos los vectores con datos*/\n  for(i=0;i<5;i++)\n  {\n      vectorE[i]=i+1;\n      vectorC[i]=i+40;\n      vectorR[i]=(float)i*0.1;\n  }\n  /*Hacemos que el puntero apunte al array*/\n  pEntero = vectorE;\n  pCaracter = vectorC;\n  pReal = vectorR;\n  printf(\"\\n Los puntero se incrementaran es:\");\n  printf(\"\\n pEntero:  %i bytes\", sizeof(int));\n  printf(\"\\n pCaracter: %i bytes\", sizeof(char));\n  printf(\"\\n pReal:  %i bytes\", sizeof(float));\n  printf(\"\\n Cada vez que pongamos pountero+\\n\");\n  printf(\"%i,%c,%f\\n\", *pEntero, *pCaracter, *pReal);\n  pEntero++;  /* Equivale a pEntero=pEntero+1*/\n  pCaracter++;  /* Equivale a pCaracter-pCaracter+I*/\n  pReal++;    /* Equivale a pReal=pReal+I*/\n  printf(\"%i, %c, %f\\n\", *pEntero, *pCaracter, *pReal);\n  pEntero++;\n  pCaracter++;\n  pReal++;\n  printf(\"%i, %c, %f\\n\", *pEntero, *pCaracter, *pReal);\n  pEntero++;\n  pCaracter++;\n  pReal++;\n  printf(\"%i, %c, %f\\n\", *pEntero, *pCaracter, *pReal);\n  pEntero++;\n  pCaracter++;\n  pReal++;\n  printf(\"%i, %c, %f\\n\", *pEntero, *pCaracter, *pReal);\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "es"
      },
      "image_path": "es_4a62197621b2275999bcbd4d900ecd99_68_24.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          86,
          160,
          389,
          160,
          389,
          729,
          86,
          729
        ],
        "anno_id": 2,
        "text": "```\n   height: 80%;\n   float: left;\n   background-color: darkgray;\n}\n#tresc {\n   width: 60%;\n   height: 80%;\n   float: left;\n   background-color: silver;\n}\n#menuprawe {\n   width: 20%;\n   height: 80%;\n   float: right;\n   background-color: darkgray;\n}\n#stopka {\n   background-color: gray;\n   clear: both;\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pl"
      },
      "image_path": "pl_bd256b6111e2773662c376c5f21df105_140_81.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          175,
          152,
          697,
          152,
          697,
          1430,
          175,
          1430
        ],
        "anno_id": 0,
        "text": "```\n  var bytes = convertToByteArray(strArray[i]);\n \n // アンマネージドメモリーへのコピー\n  var strPtr = Marshal.AllocHGlobal(bytes.Length);\n  Marshal.Copy(bytes, 0, strPtr, bytes.Length);\n\n  ptrs[i] = strPtr;\n}\n\n//関数呼び出し.\nNativeMethods.sampleFunc(ptrs, ptrs.Length);\n\n//書き換えられた文字列を取得・復元.\nfor (int i=0;i<ptrs.Length;++i)\n{\n  //バイト列から文字列への復元処理.\n  var str = convertIntPtrToString(ptrs[i]);\n  strArray[i]=str;\n\n  //アンマネージドメモリーを解放.\n  Marshal.FreeHGlobal(ptrs[i]);\n  ptrs[i]= IntPtr.Zero;\n}\n\n//文字列からバイト配列化:convertToByteArray\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ja"
      },
      "image_path": "ja_e516301e8ccfbf8a23e4e902b79c9c66_166_112.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          247,
          156,
          980,
          156,
          980,
          642,
          247,
          642
        ],
        "anno_id": 2,
        "text": "```\nif(isset($_POST['submit'])){\n   $collection->updateOne(\n     ['_id' => new MongoDB\\BSON\\ObjectID($_GET['id']))],\n     ['$set' => [\n      'NIP' => $_POST['NIP'],\n      'Nama' => $_POST['Nama'],\n      'Phone' => $_POST['Phone'],\n      'Alamat' => $_POST['Alamat'],\n      'Bagian' => $_POST['Bagian'],\n      'Cabang' => $_POST['Cabang'],\n   ]\n]\n);\n  $_SESSION['success'] = \"Data Mahasiswa berhasil diubah\n  header(\"Location: index.php\");\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          249,
          839,
          1075,
          839,
          1075,
          1029,
          249,
          1029
        ],
        "anno_id": 6,
        "text": "```\nif(isset($_POST['submit'])){\n  require 'config.php';\n  $collection->deleteOne(['_id' => new MongoDB\\BSON\\ObjectID($_)\n  $_SESSION['success'] = \"Data Mahasiswa Berhasil dihapus\";\n  header(\"Location:index.php\");\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "id"
      },
      "image_path": "id_acf19ec2274103a15989b52104b3d70f_130_93.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          155,
          570,
          986,
          570,
          986,
          1478,
          155,
          1478
        ],
        "anno_id": 3,
        "text": "```\n#define SLA_MAX5821L 0b01110000\nvoid put_DAC_max5821 (unsigned int value, char ch) {\n    i2c_start();\n    i2c_SLA_W(SLA_MAX5821L);\n    i2c_write((value>>6) | (ch<<4));\n    i2c_write(value<<2);\n    i2c_stop();\n} //************************\nint main() {\n  static unsigned int val;\n  DDRB = 0xff; DDRC = 0xff; DDRD = 0xff;\n  ADMUX=(1<<REFS0);//AVCC+c(AREF), channel=0\n  ADCSRA=(1<<ADEN)|(1<<ADPS2)|(1<<ADPS1);//fadc=fclk/64=125KГц, 8*14=112\n  init_i2c_Master();\n    i2c_start();\n    i2c_SLA_W(SLA_MAX5821L);\n    i2c_write(0xf0);\n    i2c_write(0x0c);\n    i2c_stop();\n  while (1) {\n    val = read_adc(1);//>=112us\n    put_DAC_max5821(val, 0);//=87us\n  };\n} //***************************\n<i2c.c>\n#include <avr/io.h>\n#include \"i2c.h\"\n\nvoid error_i2c(void) { PORTC |= (1<<6); }\n//-----------------------------------------------------\nvoid init_i2c_Master(void){// 2 Wire Bus initialization\n  //PORTC |=((1<<0)|(1<<1));//Pull-Up\n  TWCR=(1<<TWEN);//TWEA-Enable ACKn\n  TWBR=TWBR_SET;\n//-----------------------------------------------------\nvoid i2c_start(void) {\n  TWCR=(1<<TWINT)|(1<<TWSTA)|(1<<TWEN);//Send START condition\n  while (!(TWCR & (1<<TWINT)));//Wa it for TWINT flag set\n  if((TWSR & 0xF8)!= START) error_i2c();\n}//----------------------------------------------------\nvoid i2c_stop(void) {\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_faaf58a59f64e9c42c3976265dcaa01c_193_160.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          161,
          679,
          846,
          679,
          846,
          1190,
          161,
          1190
        ],
        "anno_id": 5,
        "text": "```\n  MODULE;\n    SYSTEM;\n      OVERFLOW : UEBL ;/* UEBL UND ENDF */\n      EOF : ENDF;     /* SEIEN SYSTEMNAMEN */\n      ...\n    PROBLEM;\n      SPC (OVERFLOW, EOF) SIGNAL;\n    ...\n  MODEND;\n \nDie allgemeine Form der Spezifikation von Signalen lautet:\n  Signal-Spezifikation ::=\n      {SPECIFY | SPC} Bezeichner-Angabe [()] SIGNAL\n      [Global-Attribut];\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "de"
      },
      "image_path": "de_f6d649a5bb5ba5f91e1b99492f14c539_197_160.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          53,
          60,
          837,
          60,
          837,
          1378,
          53,
          1378
        ],
        "anno_id": 0,
        "text": "```\n * - формирует усредненную картинку меньшего разрешения\n *   с буферизацией растровых строк\n *\n * После вывода очередной картинки ждет нажатия любой клавиши\n *\n * Виды масок:\n *    0:1 1    1: 1 1 1   2: 1 1 1   3: 1 2 1\n *      1 1       1 1 1      1 2 1      2 4 2\n *                1 1 1      1 1 1      1 1 1\n *\n *   4: 1 1 1 1   5: 1 2  3  4  3 2 1\n *      1 1 1 1      2 4  6  8  6 4 2\n *      1 1 1 1      3 6  9 12  9 6 5\n *      1 1 1 1      4 8 12 16 12 8 4\n *                   3 6  9 12  9 6 5\n *                   2 4  6  8  6 4 2\n *                   1 2  3  4  3 2 1\n */\n\n#include \"V_VECTOR.C\"\n#include \"VGA_256.C\"\n#include \"V_FILTR.C\"\n\n#include <conio.h>\n#include <graphics.h>\n#include <stdio.h>\n\n#define VECTOR 0 /* 0/1 - фикс вектор/ввод координат */\n\n/*------------------------------------------------------------- Grid\n * Строит сетку 10*10\n */\n\nvoid Grid (void)\n{  int Xn,Yn,Xk,Yk;\n   setcolor (170);\n   Xn= 0; Xk= getmaxx();\n   Yn= 0; Yk= getmaxy();\n   while (Xn <= Xk) {line (Xn,Yn,Xn,Yk); Xn+= 10;}\n   Xn= 0;\n   while (Yn <= Yk) {line (Xn,Yn,Xk,Yn); Yn+= 10;}\n} /* Grid */\n\n/*------------------------------------------ main Filtr */\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_7c442bb096918f2acccf3bd1b717ea84_197_131.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          185,
          114,
          798,
          114,
          798,
          1442,
          185,
          1442
        ],
        "anno_id": 0,
        "text": "```\nLEER) SIND ERLAUBT!\"\n 240 PRINT\n 250 FOR i=1 TO 16\n 260 INPUT (\"Zeile \";i);a$(i)\n 270 PRINT TAB 8; a$(i)\n 280 NEXT i\n 300 REM Zeichen definieren\n 310 FOR b=144 T0 159 STEP 4\n 320 FOR i=O TO 7\n 330 POKE USR CHR$ (b)+i,FN c(a$\n(i+1,TO 8))\n 340 POKE USR CHR$ (b+1)+i,FN c(\na&(i+1,9 TO ) )\n 350 POKE USR CHR$ (b+2)+i,FN c (\na&(i+9,TO 8))\n 360 POKE USR CHR$ (b+3)+i,FN c (\na&(i+9,9 TO ) )\n 370 NEXT i\n 380 REM Zeichen drehen\n 390 FOR i=1 TO 16\n 400 FOR j=1 TO 16\n 410 LET b$(i,j)=a$(j,17-i)\n 420 NEXT j\n 430 NEXT i\n 440 REM ins ursprvengliche Feld\n Uebernehmen\n 450 FOR i=1 TO 16\n 460 LET a$(i)=b(i)\n 470 NEXT i\n 480 NEXT b\n 500 REM Zeichen ausgeben\n 510 PRINT \"Sie koennen anfangen\n\"\n 520 BEEP ,5,2:CLS\n 530 LET ro=10:LET co=15\n 540 PRINT AT ro,co;CHR$ 144;CHR\n$ 145\n 550 PRINT AT ro+1,co;CHR$ 146;\nHR$ 147\n 560 LET t$=INKEY$\n 570 LET rj=10*(t$=\"5\")+20+(t$=\"\n6\")+30*([t$=\"7\")+40+(t$=\"8\")\n 580 IF rj=0 THEN GO TO 560\n 590 GO SUB 690+rj\n 600 PRINT AT ro,co;CHR$ ch;CHR$\n (ch+1)\n 610 PRINT AT ro+1,co;CHR$(ch+2\n);CHR$ (ch+3)\n 620 GO TO 560\n 700 LET ch=148: LET co=co-2+(co\n>2): RETURN\n 710 LET ch=152: LET ro=ro+2+(ro\n<19): RETURN\n 720 LET ch=144: LET ro=ro-2+(ro\n>2): RETURN\n 730 LET ch=156: LET co=co+2+(co\n<29): RETURN\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "de"
      },
      "image_path": "de_b3d2a919673cac8c8ba828ba5dd9a6aa_123_52.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          156,
          553,
          949,
          553,
          949,
          1189,
          156,
          1189
        ],
        "anno_id": 2,
        "text": "```\n#include \"stdafx.h\"\n#include <iostream>\n#include <stdlib.h>\nusing namespace std;\n\nint main (int argc, _TCHAR* argv[])\n{\n    int i,size;\n    printf(\"\\n Size=\");\n    scanf(\"%d\",&size);\n    int * pz=(int *) malloc(size * sizeof(int));\n    for(i=0;i<size;i++){\n        printf(\"pz[%d]=\",i);\n        scanf(\"%d\",&pz[i]);\n    }\n    int sum=0;\n    for(i=0;i<size;i++) sum+=pz[i];\n    printf(\"summa=%d\\n\",sum);\n    free (pz); // освобождаем память\n    return 0;\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          158,
          1368,
          741,
          1368,
          741,
          1459,
          158,
          1459
        ],
        "anno_id": 5,
        "text": "```\n// Двумерный динамический массив n*m\ndouble **a;\nint n, m;\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_45cfa1e7c3e4c5d98d2055d05f09621d_142_76.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          131,
          1131,
          805,
          1131,
          805,
          1445,
          131,
          1445
        ],
        "anno_id": 9,
        "text": "```\nСоответствующая структура данных может выглядеть так:\n/* Описание структуры данных \"Студент\" */\nstruct\n{\n  char Family[50]; // Фамилия\n  char Imy[50];  // Имя\n  char Otcestvo[50];  // Отчество\n  char NGr[7];// Номер группы\n  int GodR;  // Год рождения\n  float SrBall;// Средний балл\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_74f453272145c3c94afa083d324640e4_164_111.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          195,
          380,
          759,
          380,
          759,
          480,
          195,
          480
        ],
        "anno_id": 4,
        "text": "```\n1 grant {\n2     // zezwalamy na wszystko\n3     permission java . security . AllPermission ;\n4 };\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          156,
          551,
          837,
          551,
          837,
          716,
          156,
          716
        ],
        "anno_id": 6,
        "text": "```\n— dla serwera\n  server$ javac *.java\n  server$ java -Djava.security.policy=pol2   HelloServer\n— dla klienta\n  klient$ javac *.java\n  klient$ java HelloCli\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          166,
          898,
          963,
          898,
          963,
          1449,
          166,
          1449
        ],
        "anno_id": 9,
        "text": "```\n 1 public class HelloImpl implements Hello {\n2\n3     public HelloImpl() throws RemoteException {\n4         super();\n5     }\n6\n7     public String sayHello (String name)\n8                              throws RemoteException {\n9         return name+\"_\"+(new Date ().toString ());\n10     }\n11\n12 }\n13\n14 public class HelloServer {\n15\n16   public static void main(String args[]){\n17\n18     if (System.getSecurityManager() == null) {\n19         System.setSecurityManager(new RMISecurityManager ())\n20     }\n21\n22     try {\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pl"
      },
      "image_path": "pl_13449a10d6979a29795b713986d0825f_149_71.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          143,
          398,
          517,
          398,
          517,
          476,
          143,
          476
        ],
        "anno_id": 3,
        "text": "```\nboss = Sprite (\"./assets/boss.png\")\nmostrar_boss = False\nvida_boss = 40\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          145,
          829,
          892,
          829,
          892,
          1306,
          145,
          1306
        ],
        "anno_id": 7,
        "text": "```\ndef criar_inimigo (tempo):\n    global tempo_inimigos, mostrar_boss\n    tempo_ogara = pygame.time.get_ticks()\n    if ((tempo_ogara - tempo) >= 2000 and total_inimigos[nivel-1]>0):\n        tempo_inimigos = pygame.time.get_ticks()\n        total_inimigos[nivel-1]==1\n        aleatorio = random.randint(1,3)\n        if (aleatorio == 1):\n            inimigo = Sprite(\"./assets/enemy1.png\")\n        elif (aleatorio ==2):\n            inimigo = Sprite('./assets/enemy2.png')\n        elif (aleatorio == 3):\n            inimigo = Sprite ('./assets/enemy3.png')\n        inimigo.set_position (random.randint(45,283), -50)\n        inimigos.append ([inimigo,0,[]])\n    if nivel == 3 and not mostrar_boss:\n        mostrar_boss = True\n        boss.set_position (random.randint(45,283),-50)\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pt"
      },
      "image_path": "pt_6f0fa5f9ab797eb34079dc2f9ce5d457_142_127.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          189,
          573,
          657,
          573,
          657,
          1512,
          189,
          1512
        ],
        "anno_id": 6,
        "text": "```\nПример про pаммы на языке паскаль.\nvar a:array[1..60] of record\n                              name:string;\n                              sum:real;\n                              end;\n    c:char;\n    i, j, N, K:integer;\n    m, s :real;\nbegin\n    readln(N); {считано количество учеников}\n    for i:=1 to N do\nbegin\n    a[i].name:=\"\";\n    repeat\n        read(c);\n        a[i].name:=a[i].name+c\n    until c=' \"; {считана фамилия ученика}\n    repeat\n        read(c);\n        a[i].name:=a[i].name+c\n    until c=' \"; {считано имя ученика}\n    a[i].sum:=0;\n    for j:=1 to 2 do\n    begin\n        read(m);\n        a[i].sum:=a[i].sum+m\n    end; {подсчитана сумма баллов}\n    readln;\nend;\n    s:= a[1].sum;\nfor i:=2 to N do\n    if a[i].sum > s then s:= a[i].sum;\nK := 0\nfor i:=1 to N do\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_b5a2fec9aa1ad7f92e4de3666b09a954_113_77.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          129,
          136,
          776,
          136,
          776,
          877,
          129,
          877
        ],
        "anno_id": 0,
        "text": "```\naddr.sin_addr.s_addr = INADDR_ANY;\nif(-1 == bind(ls, &addr, sizeof(addr))\n    { /* ... ошибка ... */ }\nfor(;;) {\n   socklen_t slen = sizeof(addr);\n   int cls = accept(ls, &addr, &slen);\n   if(fork() == 0) { /* дочерний процесс */\n       close(ls);\n       /* ...\n          работает с клиентом через сокет cls\n          Клиент пришел с адреса хранящегося\n          теперь в структуре addr\n          ...\n         */\n        exit(0);\n    }\n    /* родительский процесс */\n    close(cls);\n    /* проверить, не завершились ли какие-либо\n       дочерние процессы (убрать зомби) */\n    while(wait4(-1, NULL, WNOHANG,NULL)>0);\n       /* тело цикла пустое */\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_8d1b4a390beb5bb187cf84577c63614c_193_136.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          150,
          654,
          656,
          654,
          656,
          941,
          150,
          941
        ],
        "anno_id": 3,
        "text": "```\npublic override bool Equals(Object obj)\n{\n   if (obj is Curso)\n   {\n      Curso c = obj as Curso;\n      return this.Nome.Equals(c.Nome);\n   }\n   return false;\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pt"
      },
      "image_path": "pt_ce660d2706231b9b7609d772691e8e57_139_62.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          169,
          154,
          694,
          154,
          694,
          1316,
          169,
          1316
        ],
        "anno_id": 0,
        "text": "```\n   n=n+1;\n   xc = xa - (((xb-xa)/(fb-fa))*fa);\n   fc = f(xc);\n   if (fa*fc < 0.0)\n      xb = xc;\n      fb = fc;\n   else\n     xa = xc;\n     fa = fc;\n  end;\nfprintf('%i %f %f\\n',n,xc,fc);\nfprintf(fid,'%i %f %f\\n',n,xc,fc);\nend\nfclose(fid);\nload regula.txt;\nx=regula(:,1);\ny=regula(:,2);\nplot(x,y,'LineWidth',3.5)\nxlabel('i');\nylabel ('y');\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "id"
      },
      "image_path": "id_9d4f122183d5d49311fe5f2ee70d2d67_148_100.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          132,
          301,
          586,
          301,
          586,
          494,
          132,
          494
        ],
        "anno_id": 4,
        "text": "```\nПример 4.1 ✤ c74-web-workers/index.html\n<html>\n  <head>\n    <title>Shared Memory Hello World</title>\n    <script src=\"main.js\"></script>\n  </head>\n</html>\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          129,
          603,
          752,
          603,
          752,
          1061,
          129,
          1061
        ],
        "anno_id": 6,
        "text": "```\nПример 4.2 ✤ ch4-web-workers/main.js\nif (!crossOriginIsolated) { ➊\n  throw new Error('Невозможно использовать SharedArrayBuffer');\n}\n\nconst worker = new Worker('worker.js');\n\nconst buffer = new SharedArrayBuffer(1024); ➋\nconst view = new Uint8Array(buffer); ➌\n\nconsole.log('сейчас', view[0]);\n\nworker.postMessage(buffer);\n\nsetTimeout(() => {\n  console.log('позже', view[0]);\n  console.log('prop', buffer.foo); ➍\n}, 500);\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_d8c3cf01434b54f898ebc88665948408_190_84.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          121,
          129,
          902,
          129,
          902,
          529,
          121,
          529
        ],
        "anno_id": 1,
        "text": "```\n 0006 | andreastaulany | Andre Taulany | null | null\n\n(6 rows)\ncqlsh:db_selebriti> UPDATE tb_selebriti SET twitter=null WHERE id='0001';\ncqlsh:db_selebriti> SELECT * FROM tb_selebriti;\n\n id | instagram | nama | twitter | youtube\n------+-----------------+-----------------+------------------------\n 0005 | mastercorbuzier | Deddy Corbuzier | corbuzier | corbuzier\n 0003 | baimwong | Baim Wong | null | null\n 0004 | null | Raffi Ahmad | raffi1234 | null\n 0002 | awkarin | Karin Novilda | awkarin | KarinNovilda97\n 0001 | attahalilintar | Atta Halilintar | null | AttaHalilintar\n 0006 | andreastaulany | Andre Taulany | null | null\n\n(6 rows)\ncqlsh:db_selebriti> UPDATE tb_selebriti SET nama=null WHERE twitter='corbuzier';\nInvalidRequest: Error from server: code=220 [Invalid query] message=\"Some_partition\n\ncqlsh:db_selebriti>\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "id"
      },
      "image_path": "id_acf19ec2274103a15989b52104b3d70f_130_60.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          349,
          114,
          717,
          114,
          717,
          183,
          349,
          183
        ],
        "anno_id": 0,
        "text": "```\nSQL> Select Last_name, title,salary Ann_sal\n2    From S_emp\n3    Where Last_name = 'Dancs';\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          341,
          345,
          817,
          345,
          817,
          443,
          341,
          443
        ],
        "anno_id": 2,
        "text": "```\nSQL> Select *;\n2    From S_emp\n3    Where Salary*12==9600;\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_1d3824a9d5d5602c9655fd96f3c5c88b_118_101.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          95,
          151,
          907,
          151,
          907,
          1025,
          95,
          1025
        ],
        "anno_id": 2,
        "text": "```\na=4;        % амплитуда шума\nnoise=zeros(size,nnoise);    % начальная инициализация матрицы\n% формирование матрицы пакетов,\n% образованной векторами суммы\nfor i=1:nnoise\n  noise(:,i)=2*a*rand(100,1)+da\nend\n% накопление пакетов\nresult=zeros(size,nnoise); % начальная инициализация\nresult(:,1)=noise(:,1);\n% непосредственно цикл суммирования зашумлённых пакетов\n% для наглядности фильтрации пакеты суммируются в матрицу,\n% каждый последующий вектор матрицы\n% образован большим числом пакетов\nfor i=2:nnoise\n  result(:,i)=result(:,i-1)+nci\nend\n% нормирование значений\nfor i=2:nnoise\n  result(:,i)=result(:,i)/i;\nend\n% визуализация результата\n% результат в 3D\nfigure;\nsurf(result);\n% выборочные результаты 2D\nfigure;\nsubplot(2,2,1); plot(result(:,1));\ntitle('Пакет (сигнал + шум)');\nsubplot(2,2,4); plot(result(:,2));\ntitle('Усреднение по сумме 2 пакетов');\nsubplot(2,2,2); plot(result(:,10));\ntitle('Усреднение по сумме 10 пакетов');\nsubplot(2,2,3); plot(result(:,500));\ntitle('Усреднение по сумме 500 пакетов');\n%===================================================================\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_7d08cb5c7346d41e5bfa1f3ad2e38610_191_67.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          272,
          165,
          915,
          165,
          915,
          368,
          272,
          368
        ],
        "anno_id": 0,
        "text": "```\n short Sonar_iniciar (unsigned short timestamp_n, char num){\n  temp = timestamp_n - sonartstamp_ch[(short)num];\n  if ( temp > 68) {\n i2c_writebyte (sonaraddr_ch[(short)num],0,81);// modo distancia cm\n   sonartstamp_ch[(short)num] = timestamp_n;// nuevo timestamp\n }\n return 0;\n\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "es"
      },
      "image_path": "es_cf6da11596b1cdc681124904512daebc_137_120.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          139,
          111,
          769,
          111,
          769,
          1194,
          139,
          1194
        ],
        "anno_id": 0,
        "text": "```\n   public static $browsers = array(\n     array(\n       'name'  => 'Safari (system Mac OS X)',\n       'browser' => '*safari',\n       'host'  => 'mac.testbox',\n       'port'  => 4444,\n       'timeout' => 30000\n  ),\narray(\n      'name'  => 'Firefox (system Windows)',\n      'browser' => '*firefox',\n      'host'  => 'windows.testbox',\n      'port'  => 4444,\n      'timeout' => 30000\n     ),\n     array(\n      'name'  => 'Chrome (system Windows XP)',\n      'browser' => '*googlechrome',\n      'host'  => 'windows.testbox',\n      'port'  => 4444,\n      'timeout' => 30000\n     ),\n     array(\n      'name'  => 'Internet Explorer (system Windows XP)',\n      'browser' => '*iexplore',\n      'host'  => 'windows.testbox',\n      'port'  => 4444,\n      'timeout' => 30000\n    )\n   );\n \n   protected function setUp()\n   {\n       $this->setBrowserUrl('http://www.przyklad.com/');\n   }\n\n   public function testSeleniumFile()\n   {\n       $this->open('http://www.przyklad.com/');\n       $this->runSelenese('seleneseTest.html');\n   }\n\n}\n?>\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pl"
      },
      "image_path": "pl_8080d45fa7f8a16117c0ea11c6b43372_164_59.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          168,
          150,
          751,
          150,
          751,
          1441,
          168,
          1441
        ],
        "anno_id": 0,
        "text": "```\nimport androidx.activity.viewModels\nimport androidx.compose.foundation.layout.Column\nimport androidx.compose.material.Button\nimport androidx.compose Material.Text\nimport androidx.compose.runtime.Composable\nimport androidx.compose.runtime.getValue\n\nclass MainActivity: ComponentActivity() {\n  private val viewModel: CountViewModel by viewModels()\n\n  override fun onCreate(savedInstanceState: Bundle?) {\n    super.onCreate(savedInstanceState)\n    setContentView {\n      CountUp(viewModel = viewModel)\n    }\n  }\n}\n\n/**\n * カウントアップボタンと現在のカウントの回数を\n * 表示するComposable関数\n *\n * カウントアップボタンが押下されるたびに、ViewModelで\n * 保持されるカウントの回数を1つ増やし、表示を更新する。\n */\n@Composable\nfun CountUp(viewModel: CountViewModel) {\n  val count: Int by viewModel.count\n\n  Column {\n    Text(\n      text = \"$count\"\n    )\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ja"
      },
      "image_path": "ja_71c4d25273269b7a9789a3b95a818dcf_127_72.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          397,
          536,
          727,
          536,
          727,
          650,
          397,
          650
        ],
        "anno_id": 9,
        "text": "```\ndiv{ width: 600px;\n     padding: 10px;\n     border: 1px solid black;\n     margin: 20px; }\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "de"
      },
      "image_path": "de_9c5867c66d2948d6083854441afc4e08_160_82.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          251,
          185,
          876,
          185,
          876,
          1421,
          251,
          1421
        ],
        "anno_id": 1,
        "text": "```\n      matr[i, 3] = node.z\n   return np.linalg.det(matr) /6\n\n# Определение числа граней, выходящих\n# на поверхность тела.\ndef get_surface_node_indices(self):\n  surface_edges = self.neighbours.count(-1)\n  if surface_edges > 1:\n     for i in range(4):\n        yield i\n  elif surface_edges == 1:\n     edge_idx = self.neighbours.index(-1)\n     for i in range(3):\n        yield (edge_idx + i) % 4\n\n# Вычисление матрицы формы элемента\ndef get_shape_matrix(self):\n   x1 = self.nodes_coords[0].x\n   y1 = self nodes_coords[0].y\n   z1 = self.nodes_coords[0].z\n   x2 = self.nodes_coords[1].x\n   y2 = self.nodes_coords[1].y\n   z2 = self.nodes_coords[1].z\n   x3 = self.nodes_coords[2].x\n   y3 = self.nodes_coords[2].y\n   z3 = self.nodes_coords[2].z\n   x4 = self.nodes_coords[3].x\n   y4 = self.nodes_coords[3].y\n   z4 = self.nodes_coords[3].z\n   v = self.get_volume()\n   mbeta1 = np.array([[1,y2,z2], [1,y3,z3], [1,y4,z4]])\n   mbeta2 = np.array([[1,y1,z1], [1,y3,z3], [1,y4,z4]])\n   mbeta3 = np.array([[1,y1,z1], [1,y2,z2], [1,y4,z4]])\n   mbeta4 = np.array([[1,y1,z1], [1,y2,z2], [1,y3,z3]])\n   mgamma1 = np.array([[1,x2,z2], [1,x3,z3], [1,x4,z4]])\n   mgamma2 = np.array([[1,x1,z1], [1,x3,z3], [1,x4,z4]])\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_ab66a436165cf5fab98ad2731fd5ea22_87_61.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          114,
          156,
          949,
          156,
          949,
          1340,
          114,
          1340
        ],
        "anno_id": 0,
        "text": "```\n  string user = returnData;\n  Console.WriteLine(\"Welcome \" + user + \" to the server\");\n  //обмен сообщениями сервер с клиентом\n  while (true) {\n      returnData = reader.ReadLine();\n      if (returnData.IndexOf(\"QUIT\") > -1) {\n          Console.WriteLine(\"Bye \" + user);\n          break;\n      }\n      Console.WriteLine(user + \": \" + returnData);\n      returnData += \"\\r\\n\";\n      byte[] dataWrite = Encoding.ASCII.GetBytes(returnData);\n      writer.Write(dataWrite, 0, dataWrite.Length);\n    }\n    clientSocket.Close();          // закрытие сокета на сервере\n  }\n}\nclass Program {\n  public static int nClients = 0;    //кол-во клиентов\n  static void Main(string[] args) {\n    try{\n       // создание сервера по порту 10000\n       TcpListener newListener = new TcpListener(10000);\n       newListener.Start();\n       Console.WriteLine(\"Waiting for connection...\");\n       while(true) {\n            // прослушивание порта в ожидание запросов от клиентов\n            TcpClient client = newListener.AcceptTcpClient();\n            // создание потока для работы с клиентом\n            ClientHandler cHandler = new ClientHandler();\n            cHandler.clientSocket=client;\n            Thread clientThread =\n            new Thread(new ThreadStart(cHandler.RunClient));\n            clientThread.Start();\n        }\n        newListener.Stop();        //остановка сервера\n    }\n    catch(Exception exp) {   Console.WriteLine(\"Exception:\" + exp);  }\n  }\n}\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_02d99aa7ad26e8d34f46dd914f93048b_112_29.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          100,
          762,
          689,
          762,
          689,
          1196,
          100,
          1196
        ],
        "anno_id": 11,
        "text": "```\n// LoopFor.cpp\n// Ilustra o uso do\n// loop for.\n#include <iostream.h>\nint main()\n{\n    int contador = 0;\n    cout << \"\\n*** Usando while ***\";\n    while(contador < 10)\n    {\n         contador++;\n         cout << \"\\nContador = \"\n                 << contador;\n     } // Fim de while.\n     cout << \"\\n\\n*** Usando for ***\";\n     for(contador = 0; contador <= 10; contador++)\n             cout << \"\\nContador = \"\n                     << contador;\n     return 0;\n} // Fim de main()\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pt"
      },
      "image_path": "pt_f4ae8c29e4f94e2e8900cf002b95f5bb_193_61.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          104,
          1082,
          1104,
          1082,
          1104,
          1532,
          104,
          1532
        ],
        "anno_id": 6,
        "text": "```\n 1 #include \"vtkPolyDataMapper.h\"\n 2 ...\n 3\n 4 int main()\n 5 {\n 6\n 7 vtkStructuredPointsReader *reader = vtkStructuredPointsReader::New();\n 8  reader -> SetFileName (\"T.vtk\");\n 9  reader -> Update();\n10\n11 vtkDataSetMapper *mapper = vtkDataSetMapper::New();\n12  mapper -> SetInputConnection(reader -> GetOutputPort());\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "ru"
      },
      "image_path": "ru_3ee8d3772d6fd6d4d67ef851f6aaef89_175_74.jpg"
    },
    "extra": {}
  },
  {
    "layout_dets": [
      {
        "category_type": "text_block",
        "poly": [
          99,
          169,
          566,
          169,
          566,
          617,
          99,
          617
        ],
        "anno_id": 1,
        "text": "```\n// Destrutor.\nCliente::~Cliente()\n{\n        cout << \"\\nDestruindo cliente...\";\n} // Fim de Cliente::~Cliente()\nint Cliente:acessaNumCliente()\n{\n        return numCliente;\n} // Fim de Cliente: :acassaNumCliente()\nfloat Cliente:acassaSaldo()\n{\n        return saldo;\n} // Fim de Cliente: acassaSaldo()\nvoid Cliente:exibe()\n{\n        cout << \"\\nCliente = \"\n                << acessaNumCliente()\n                << \", Saldo = \"\n                << acessaSaldo()\n                << \"\\n\";\n} // Fim de Cliente: exibe ()\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      },
      {
        "category_type": "text_block",
        "poly": [
          101,
          1099,
          514,
          1099,
          514,
          1400,
          101,
          1400
        ],
        "anno_id": 9,
        "text": "```\n// ConstMt.cpp\n// Ilustra o uso\n// de métodos const.\n#include <iostream.h>\n// Define uma classe.\nclass Cliente\n{\n        // Por default, estes membros\n        // são\n        //private:\n        int numCliente;\n        float saldo;\n        // Estes métodos\n        // são private e const.\n```",
        "attribute": {
          "text_background": "white",
          "text_rotate": "normal"
        }
      }
    ],
    "page_info": {
      "page_attribute": {
        "language": "pt"
      },
      "image_path": "pt_f4ae8c29e4f94e2e8900cf002b95f5bb_193_124.jpg"
    },
    "extra": {}
  }
]