Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
dist-packages /
screenlayout /
[ HOME SHELL ]
Name
Size
Permission
Action
data
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
__init__.pyc
144
B
-rw-r--r--
auxiliary.py
4.46
KB
-rw-r--r--
auxiliary.pyc
9.07
KB
-rw-r--r--
demo.py
1.32
KB
-rw-r--r--
demo.pyc
1.31
KB
-rw-r--r--
gui.py
11.75
KB
-rw-r--r--
gui.pyc
13.03
KB
-rw-r--r--
meta.py
5.09
KB
-rw-r--r--
meta.pyc
3.45
KB
-rw-r--r--
metacity.py
12.12
KB
-rw-r--r--
metacity.pyc
13.03
KB
-rw-r--r--
snap.py
1.76
KB
-rw-r--r--
snap.pyc
1.46
KB
-rw-r--r--
widget.py
20.46
KB
-rw-r--r--
widget.pyc
19.5
KB
-rw-r--r--
xrandr.py
14.43
KB
-rw-r--r--
xrandr.pyc
14.59
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : snap.py
# ARandR -- Another XRandR GUI # Copyright (C) 2008 -- 2011 chrysn <chrysn@fsfe.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. from .auxiliary import Position class Snap(object): """Snap-to-edges manager""" def __init__(self, size, tolerance, list): self.tolerance = tolerance self.horizontal = set() self.vertical = set() for i in list: self.vertical.add(i[0].left) self.vertical.add(i[0].left+i[1].width) self.horizontal.add(i[0].top) self.horizontal.add(i[0].top+i[1].height) self.vertical.add(i[0].left-size.width) self.vertical.add(i[0].left+i[1].width-size.width) self.horizontal.add(i[0].top-size.height) self.horizontal.add(i[0].top+i[1].height-size.height) def suggest(self, position): vertical = [x for x in self.vertical if abs(x-position[0])<self.tolerance] horizontal = [y for y in self.horizontal if abs(y-position[1])<self.tolerance] if vertical: position = Position((vertical[0], position[1])) if horizontal: position = Position((position[0], horizontal[0])) return position
Close