Skip to content

Instantly share code, notes, and snippets.

🌸
Using Gitlab

Nadya NadyaNayme

🌸
Using Gitlab
Block or report user

Report or block NadyaNayme

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am nadyanayme on github.
  • I am nadya (https://keybase.io/nadya) on keybase.
  • I have a public key ASAaVLY0k72MKTQM1DC5ASbVHjGUBm1gQOozS7d4I6JfPQo

To claim this, I am signing this object:

View Blockstack.txt
Verifying my Blockstack ID is secured with the address 192TdgU2M9rvF4D2YwLR4r5FNVgguRoGfS https://explorer.blockstack.org/address/192TdgU2M9rvF4D2YwLR4r5FNVgguRoGfS
View keybase.md

Keybase proof

I hereby claim:

  • I am kyokou on github.
  • I am nadya (https://keybase.io/nadya) on keybase.
  • I have a public key ASDlT3QlGNZvMtCcuPpgtmM2lGZjO5syMY9D5uEwGocPvQo

To claim this, I am signing this object:

View gist:fd9cda2e659728f487289145ada0e3dc
~~I haven't added proper error handling for if the fwidth or fheight are smaller than the image - but there is some rudimentary error handling for cropping if we have room to move the image. What I mean by that is if we can move down and have no room to grow at the top we'll move the entire image down. If you try to crop a 500x500 square out of a 350x350 image it will behave unexpectedly.~~
My code is here, with comments:
https://github.com/Kyokou/autocrop/blob/master/autocrop/autocrop.py
Changes:
- `-s` or `--size` to pass one number to both width and height
- Crop-to-size instead of resize-to-fit
- Renamed a few variables to make them make more sense for myself
View gist:231b74194fa9130b5c81
1. *>declare it a safe space for everyone*
This is implicit and words are cheap anyways. How many companies say they *truly* care about *each and every* customer? How many actually do? How many customers point to this when complaining to the company? How many companies give a shit after its pointed out to them? (My experience: none)
2. *>explicit about what is and isn't allowed behavior*
You'd die of old age before you finished the list and the list couldn't possibly cover all behavior, especially the social aspect you wish to be covered.
Think your miniskirt will send the wrong message? Don't wear a miniskirt. Problem solved.
You can’t perform that action at this time.