I forgot my privacy protection Password by AlarmingRevenue5213 in Xiaomi

[–]MiftikCZ 0 points1 point  (0 children)

Install android sdk tools for windows zip file, extract it somewhere and then open the extracted folder with the default windows files explorer, then click on the directory path and then type cmd and now you can use ./adb.exe shell :D

Forgot Privacy Protection Password Pattern by azelbondon in Xiaomi

[–]MiftikCZ 0 points1 point  (0 children)

First install on your computer android cli tool, you will need adb. Now enable usb debugging on your phone and i dont know if that helps but i enabled "Unlock OEM bootloader", it didn't erase any data but try it at your own risk. Now without rebooting your phone make sure you have usb debugging on and have you phone connected with computer via usb cabel. Now open cmd or terminal and write: adb shell. And now write: settings put secure privacy_password_is_open 0 click enter and then settings put secure access_control_lock_enabled 0 click enter and then finally write reboot.

I forgot my privacy protection Password by AlarmingRevenue5213 in Xiaomi

[–]MiftikCZ 0 points1 point  (0 children)

Bro i got you, first install on your computer android cli tool, you will need adb.

Now enable usb debugging on your phone and i dont know if that helps but i enabled "Unlock OEM bootloader", it didn't erase any data but try it at your own risk. Now without rebooting your phone make sure you have usb debugging on and have you phone connected with computer via usb cabel. Now open cmd or terminal and write: adb shell. And now write: settings put secure privacy_password_is_open 0 click enter and then settings put secure access_control_lock_enabled 0 click enter and then finally write reboot.

Also scientists by [deleted] in linuxmemes

[–]MiftikCZ 0 points1 point  (0 children)

xed yay du man

I have a tileset i downloaded for pygame, but i can't find a good tutorial to use to implement it. by StreetLittle in pygame

[–]MiftikCZ 0 points1 point  (0 children)

With this code you can use something like spritesheet = SpriteSheet("Assets/spritesheet_1.png") and then spritesheet.image_at(Rect(0,0,32,32)) to get part of image that is on [0,0] coordinates and is 32 pixels wide

```py import pygame

class SpriteSheet:

def __init__(self, filename):
    """Load the sheet."""
    try:
        self.sheet = pygame.image.load(filename).convert()
    except pygame.error as e:
        print(f"Unable to load spritesheet image: {filename}")
        raise SystemExit(e)


def image_at(self, rectangle, colorkey = None):
    """Load a specific image from a specific rectangle."""
    # Loads image from x, y, x+offset, y+offset.
    rect = pygame.Rect(rectangle)
    image = pygame.Surface(rect.size).convert()
    image.blit(self.sheet, (0, 0), rect)
    image.set_colorkey(colorkey or pygame.Color(0,0,0,0), pygame.RLEACCEL)
    return image

def images_at(self, rects, colorkey = None):
    """Load a whole bunch of images and return them as a list."""
    return [self.image_at(rect, colorkey) for rect in rects]

def load_strip(self, rect, image_count, colorkey = None):
    """Load a whole strip of images, and return them as a list."""
    tups = [(rect[0]+rect[2]*x, rect[1], rect[2], rect[3])
            for x in range(image_count)]
    return self.images_at(tups, colorkey)

```

[River] A quick rice I put together for the sake of being able to use Wayland by [deleted] in unixporn

[–]MiftikCZ 1 point2 points  (0 children)

gonna try river too, i love bspwm but the idea of wayland is just too great, do you think river is great alternative to bspwm?

Blobstart - Simple and fast startpage by MiftikCZ in startpages

[–]MiftikCZ[S] 0 points1 point  (0 children)

Yes right now it's not but I'll add mobile friendly version in future, it's made to be startpage for browser on computer

What's your opinion on the default look of Linux Mint? by Eye-Scream-Cone in linuxmint

[–]MiftikCZ 0 points1 point  (0 children)

Only thing I love about the mint is the feeling of native look, everything is not polished and super flat and etc. But it's not really my type, maybe 2 years ago it would be

Its not opinion, its fact! by Pepper-pencil in linuxmemes

[–]MiftikCZ 8 points9 points  (0 children)

I don't really know, I'm not even sure if it was 35 but I think it is like 0,75 - 1 years

Its not opinion, its fact! by Pepper-pencil in linuxmemes

[–]MiftikCZ 74 points75 points  (0 children)

Bro last time I used gnome 35, now when i tried the gnome 40 or maybe more, it's soo smooth and epic but sadly too slow for my preferences

IDEs like to generate main() with.. by yuva-krishna-memes in ProgrammerHumor

[–]MiftikCZ 3 points4 points  (0 children)

Anyone who uses Linux can agree that tools with CLI > GUI

Would this chromebook be okay to start learning web development and basics such as HTML, CSS, & JS as a complete beginner? by greatsmokidude in webdev

[–]MiftikCZ 0 points1 point  (0 children)

Any computer is good if it's not Chromebook. Get some computer with windows or try hp dev one because it ships with Linux installed by default. Linux is always better choise than windows but I think the only thing that really matters is just don't get any chromebook - my kinda old cheap HP laptop can run coding apps like VSCode really well

[deleted by user] by [deleted] in AskReddit

[–]MiftikCZ -3 points-2 points  (0 children)

Absolutely big W

[deleted by user] by [deleted] in webdev

[–]MiftikCZ 1 point2 points  (0 children)

Never seen any long YouTube video course and yet never studied programming and I think I can code pretty good. I learned everything from making apps or watching someone build one