Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.142.55.180
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
pycairo-1.8.10 /
examples /
gtk /
Delete
Unzip
Name
Size
Permission
Date
Action
cairo-demo.py
2.45
KB
-rwxr-xr-x
2009-08-06 12:47
cairo-knockout.py
3.47
KB
-rwxr-xr-x
2009-08-06 12:47
hangman.py
6.54
KB
-rwxr-xr-x
2009-08-06 12:47
lsystem.py
3
KB
-rwxr-xr-x
2009-08-06 12:47
png_view.py
682
B
-rwxr-xr-x
2009-08-06 12:47
text.py
875
B
-rwxr-xr-x
2009-08-06 12:47
Save
Rename
#!/usr/bin/env python """Display a png file """ import sys import cairo import gtk def expose_event(widget, event, surface): ctx = widget.window.cairo_create() ctx.set_source_surface(surface, 0,0) ctx.paint() if len(sys.argv) != 2: raise SystemExit('usage: png_view.py png_file') filename = sys.argv[1] surface = cairo.ImageSurface.create_from_png(filename) Width = surface.get_width() Height = surface.get_height() win = gtk.Window() win.connect('destroy', gtk.main_quit) drawingarea = gtk.DrawingArea() win.add(drawingarea) drawingarea.connect('expose_event', expose_event, surface) drawingarea.set_size_request(Width,Height) win.show_all() gtk.main()