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
(function() { | |
let _shadowRoot; | |
let _id; | |
let _password; | |
let tmpl = document.createElement("template"); | |
tmpl.innerHTML = ` | |
<style> | |
</style> | |
<div id="ui5_content" name="ui5_content"> |
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 Exercise1 { | |
public static void main(Striing[] args) { | |
int[] numbers = { 6, 1, 7, 3, 4, 8 }; | |
// vypis nejmensi cislo | |
// vypis nejvetsi cislo | |
// vypis prumernou hodnotu |
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
// size of dvd box | |
int dvdW = 80; | |
int dvdH = 50; | |
// positive value = moving towards right | |
// negative value = moving towards left | |
int xspeed = 1; | |
// coordinates of dvd box | |
// remember the x coordinate is the leftmost side |
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
#! /usr/bin/env bash | |
for if_name in $(ifconfig -l); do | |
if ! [[ "${if_name}" =~ ^en[0-9]+$ ]]; then | |
break | |
fi | |
for if_ip in $(ifconfig "${if_name}" | grep 'inet' | awk '{ print $2 }'); do | |
nslookup "${if_ip}" | grep 'name = ' | awk '{ print $4 }' | |
done |