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
#!/bin/sh | |
terminal_wm_class=$1 | |
terminal_exec=$1 | |
# no app started, so start one | |
if [ -z "`wmctrl -lx | grep $1`" ]; then | |
$terminal_exec & | |
else | |
# search for existing terminals on current desktop |
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
<?php | |
if (!($argc > 0 && isset($argv[1]))) { | |
echo "zadej ip jako 1. parametr"; | |
exit; | |
} | |
$ip = $argv[1]; | |
function vytahni_osc($ip) { | |
// dotaz do db a vytazeni osc podle ip |
NewerOlder