This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A | |
| Горе выпил до дна | |
| A | |
| Завтра будет война | |
| Dm | |
| Отпевая весну | |
| A | |
| Сын ушёл на войну | |
| Gm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 3.5 mm: | |
| T | |
| R | |
| S = RX | |
| 2.5 mm: | |
| T | |
| R = TX | |
| S = GND |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.IOException; | |
| import java.net.DatagramPacket; | |
| import java.net.DatagramSocket; | |
| import java.net.InetAddress; | |
| import java.net.SocketException; | |
| import java.net.UnknownHostException; | |
| import java.util.Random; | |
| public class Avgudp { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <sly data-sly-list="${resource.listChildren}"> | |
| <sly data-sly-resource="${item.path}"/> | |
| </sly> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package stepik; | |
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.PriorityQueue; | |
| import java.util.Scanner; | |
| import java.util.function.Function; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Arrays; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import java.util.Scanner; | |
| import java.util.function.Function; | |
| import java.util.stream.Collectors; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Generate list of lists with parents for every category, starts with root category and ends with list of parents | |
| * for initially passed category. | |
| * | |
| * Example: | |
| * For category "c3" with "c2" parent, whose parent is "c1" etc (c3 -> c2 -> c1 -> c0 structure) will return | |
| * list with 4 lists as elements: | |
| * (c0), | |
| * (c0, c1), | |
| * (c0, c1, c2), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package epam; | |
| import java.util.Collection; | |
| import java.util.Map; | |
| public class UrlChecker { | |
| /* | |
| http://example.com/item/1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Map<String, List<String>> stringListMap = stringStringMap.entrySet().stream().collect( | |
| Collectors.toMap( | |
| Map.Entry::getKey, | |
| new Function<Map.Entry<String, String>, List<String>>() { | |
| @Override | |
| public List<String> apply(Map.Entry<String, String> stringStringEntry) { | |
| return new ArrayList<>(Collections.singletonList(stringStringEntry.getValue())); | |
| } | |
| } | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>dr. Hyder</title> | |
| <style> | |
| code { | |
| white-space: pre; | |
| word-break: normal; | |
| word-wrap: normal; |
NewerOlder