Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
PK ! lҗ repeat.pynu ȯ #! /usr/bin/python2.7
"""repeat
This simple program repeatedly (at 1-second intervals) executes the
shell command given on the command line and displays the output (or as
much of it as fits on the screen). It uses curses to paint each new
output on top of the old output, so that if nothing changes, the
screen doesn't change. This is handy to watch for changes in e.g. a
directory or process listing.
To end, hit Control-C.
"""
# Author: Guido van Rossum
# Disclaimer: there's a Linux program named 'watch' that does the same
# thing. Honestly, I didn't know of its existence when I wrote this!
# To do: add features until it has the same functionality as watch(1);
# then compare code size and development time.
import os
import sys
import time
import curses
def main():
if not sys.argv[1:]:
print __doc__
sys.exit(0)
cmd = " ".join(sys.argv[1:])
p = os.popen(cmd, "r")
text = p.read()
sts = p.close()
if sts:
print >>sys.stderr, "Exit code:", sts
sys.exit(sts)
w = curses.initscr()
try:
while True:
w.erase()
try:
w.addstr(text)
except curses.error:
pass
w.refresh()
time.sleep(1)
p = os.popen(cmd, "r")
text = p.read()
sts = p.close()
if sts:
print >>sys.stderr, "Exit code:", sts
sys.exit(sts)
finally:
curses.endwin()
main()
PK ! cQ ncurses.pycnu [
Afc @ sx d d l Z d d l m Z d d Z d Z d Z d Z d Z d Z d Z d
Z
e j e
d S( iN( t panelc C s | d k r t } n | j S( N( t Nonet stdscrt getch( t win( ( s+ /usr/lib64/python2.7/Demo/curses/ncurses.pyt wGetchar s c C s t d S( N( R ( ( ( s+ /usr/lib64/python2.7/Demo/curses/ncurses.pyt Getchar s c C s' t d k r t n
t j t d S( Ni ( t nap_msecR t cursest napms( ( ( s+ /usr/lib64/python2.7/Demo/curses/ncurses.pyt wait_a_while s
c C s2 t j t j d d t j t j | d S( Ni i ( R t moveR t LINESt clrtoeolt addstr( t text( ( s+ /usr/lib64/python2.7/Demo/curses/ncurses.pyt saywhat s
c C s t j | | | | } t j | } t j r | t j k rN t j } n t j } | } t j | | | | j t
d t j | n | j t
d t j | S( Nt (
R t newwinR t new_panelt
has_colorst
COLOR_BLUEt COLOR_WHITEt COLOR_BLACKt init_pairt bkgdsett ordt
color_pairt A_BOLD( t colort rowst colst tlyt tlxR t pant fgt bg( ( s+ /usr/lib64/python2.7/Demo/curses/ncurses.pyt mkpanel s "c C s t j t j d S( N( R t
update_panelsR t doupdate( ( ( s+ /usr/lib64/python2.7/Demo/curses/ncurses.pyt pflush0 s
c C s | j } | j d } | j d d | j d | | j | j | j \ } } xV t d | d D]A } x8 t d | d D]# } | j | | | j | q Wqw Wd S( Ni s -pan%c-i ( t windowt userptrR R R
t boxt getmaxyxt ranget addch( R" R t numt maxyt maxxt yt x( ( s+ /usr/lib64/python2.7/Demo/curses/ncurses.pyt
fill_panel4 s
c C s6 | a d a d d d d d d g a t j xT t d t j d D]<