|
[14:58] <[Ratten]> FrostyX prosimte jak napisu scron ? v bash ? |
|
[14:59] <[Ratten]> mam napsano ze chcu zazipovat slozku a poslat na ftp |
|
[14:59] <[Ratten]> ale nechcu se mi ten program pak vypnul ale opet restartoval v urcitou hodinu |
|
[15:01] <FrostyX> je to "cron" a precti si dokumentaci :) |
|
[15:01] <[Ratten]> a jde to jen tak zato dopsat ? |
|
[15:03] <[Ratten]> aha tak uz vim |
|
[15:05] <[Ratten]> to maj pecka vymyslene |
|
[19:36] <SquirrelCZE> lidi |
|
[19:37] <Chinese_soup> kde? |
|
[19:37] <Chinese_soup> !! |
|
[19:37] <Chinese_soup> :D |
|
[19:37] <Chinese_soup> promin |
|
[19:37] <SquirrelCZE> nevite jak udelat at "vlc" spustene daemonem (pomoci scriptu) se mi aktualne objevi? |
|
[19:38] * SquirrelCZE spousti vlc pomoc phpovskeho command(); a nic, taky zkousel cgi-bin/runVlc.cgi, v kterem spousti vlc ale porad se nic neukazalo |
|
[19:39] <SquirrelCZE> v command(); jsem zkousel ne-gui prikazy a php je v pohode spracoval a vse fungovalo |
|
[19:39] <SquirrelCZE> ovsem jak spustit vlc? |
|
[19:41] <SquirrelCZE> Chinese_soup: ftipky, ftipky ale kdyz clovek neco realneho chce tak to mlci |
|
[19:42] <Chinese_soup> nikdy jsem to nepotreboval, nikdy jsem to nepouzil, jak ti asi tak poradim? rtfm? nebo co ode me chces? :) |
|
[19:42] <SquirrelCZE> hmm |
|
[19:42] * SquirrelCZE si musel do nekoho rypnout :-P |
|
[19:43] <Chinese_soup> ok |
|
[19:43] <SquirrelCZE> druha vec je ze abych to zkousel |
|
[19:43] <SquirrelCZE> tak by bylo idealni abych mohl pracovat jako uzivatel http |
|
[19:43] <SquirrelCZE> to mi ale pomoci "su" zahadnym zpusobem nejde |
|
[19:45] <SquirrelCZE> YEAH |
|
[19:46] <SquirrelCZE> FUCK YEAH |
|
[19:46] <SquirrelCZE> je to tam |
|
[19:46] <SquirrelCZE> xhost +! |
|
[20:03] <FrostyX> SquirrelCZE: Nechci praskat, ale zomb umi ovladat z konzole bezici vlc, vic nepotrebujes ne ? |
|
[20:03] <FrostyX> :-D |
|
[20:18] <SquirrelCZE> jenze jak ho asi zapnu? :D |
|
[20:18] <FrostyX> pri startu systemu |
|
[20:19] <SquirrelCZE> takze A) nastartuju to pri zapnuti OS a necham to zrat vykon pc celou dobu zapnuti |
|
[20:19] <SquirrelCZE> B) nastartuju to pri pousteni filmu a pak to muzu vklidu vypnout |
|
[20:20] <FrostyX> jasne no, ale nicnedelajici vlc ti toho zas tolik nesezere a B) nevis jak udelat :_D |
|
[20:23] <SquirrelCZE> no uz vim :-P |
|
[20:23] <SquirrelCZE> xhost +local:http |
|
[20:23] <SquirrelCZE> a pri exec("vlc"); se mi spusti VLC |
|
[20:23] <SquirrelCZE> :-) |
|
[20:23] <FrostyX> drsne |
|
[20:23] <SquirrelCZE> ted jeste napsat do scriptu overovani localhostu at mi s tim nikdo nedela kokotiny a ... |
|
[21:07] <SquirrelCZE> aaaaa |
|
[21:07] <SquirrelCZE> lidi, jak zabezbecit prenos nazvu souboru pres url? |
|
[21:08] <SquirrelCZE> protoze kdyz mam soubor treba "neco+neco.txt" hodim ho do url ?file='.$file.' tak to do url jde dobre ale $_GET['file'] pak vypise "neco neco.txt" |
|
[21:09] <Falco_> aj POST? |
|
[21:10] <SquirrelCZE> no, POST nevim jak vytvorit kdyz jde o <a href=""> :-) |
|
[21:11] <Falco_> ja tiez nie , len ma to tak napadlo :-) |
|
[21:11] <FrostyX> nemas v url pouzivat vylomeniny jako + :-D |
|
[21:11] <Falco_> a co tak "necoplusneco.txt :-) |
|
[21:11] <SquirrelCZE> hosi |
|
[21:11] <SquirrelCZE> to je dynamicky nazev souboru ;-) |
|
[21:12] <FrostyX> a co to meni ? :-D |
|
[21:12] <SquirrelCZE> takze tam veta "nepouzivej XY nepomuze" |
|
[21:12] <SquirrelCZE> musi to snest jakykoliv legalni nazev souboru |
|
[21:12] <FrostyX> To sou beztak nazvy tech filmu ne ? |
|
[21:12] <FrostyX> nazvy tech souboru filmu* |
|
[21:12] <SquirrelCZE> tohle je konkretne nazev titulku :D |
|
[21:13] <FrostyX> aha, mel jsem napad - ale bohuzel spatny :-D |
|
[21:13] <SquirrelCZE> http://89.102.105.218/ a klikni na cover "Batman begins" |
|
[21:14] <FrostyX> ty to mas komplet resene bez DB ze ? |
|
[21:14] <SquirrelCZE> jj |
|
[21:46] <SquirrelCZE> aaaaa |
|
[21:46] <SquirrelCZE> to vlc je spustene jako http |
|
[21:46] <SquirrelCZE> a nehraje mi zvuk! |
|
[22:23] <Falco_> /quit |
|
|