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
| public class AnimalLocator { | |
| public static String getAnimalNameById (Integer id) { | |
| String AnimalName = ''; | |
| Http http = new Http(); | |
| HttpRequest request = new HttpRequest(); | |
| request.setEndpoint('https://th-apex-http-callout.herokuapp.com/animals/'+id); | |
| request.setMethod('GET'); | |
| HttpResponse response = http.send(request); | |
| if (response.getStatusCode() == 200) { |
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
| lines with $ are commands | |
| ### install mkvtoolnix: | |
| $ brew install mkvtoolnix | |
| ### list content of the mkv-file: | |
| $ mkvmerge -i mymoviefile.mkv | |
| ### what will give you: |