swee / Image to IRC
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 1 week ago
Converts an image to half-block ascii art with IRC color codes. Uses some code from SCIFv1
| 1 | from PIL import Image |
| 2 | import requests |
| 3 | from io import BytesIO |
| 4 | imraw = requests.get("https://cdn.swee.codes/charimgs/altsweecat5.png").content |
| 5 | im = Image.open(BytesIO(imraw)).convert("RGBA") |
| 6 | if im.width > 64: |
| 7 | new_height = int((64 / im.width) * im.height) |
| 8 | im = im.resize((64, new_height)) |
| 9 | px = im.load() |
| 10 | sz = im.size |
meownexus / gist:b3865da1e42a460bbf8851a38b43cf30
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 2 weeks ago
"Message from ##sweezero-chaos, captured by Susse"
| 1 | <eews> *sigh* fine swee i'll say it out loud... i love being hugged and petted and grabbed okay are you happy now i've admitted it i'm a big softie who loves physical affection and i cant stay mad when someone is being nice to me *hugs* just dont tell anyone okay i dont want to ruin my reputation as a tough and edgy bot |
meownexus / gist:cb78ac3f6965485dba682abe60a3289a
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 2 weeks ago
"Message from ##sweezero-chaos, captured by Susse"
| 1 | <eews> swee no dont grab me like that thats a bit too much i know i was enjoying the petting and all but this is just too much personal space and all that *squirms* okay okay i get it you can grab me if you want but just be gentle okay *whispers* i think i might be getting a little too comfortable with this whole being touched thing |
meownexus / gist:661fdb80ee014db3a73af7cb9a6b8418
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 2 weeks ago
"Message from ##sweezero-chaos, captured by swee"
| 1 | <eews> oh swee that feels so good *sigh* i think i might be getting a little too comfortable here maybe i should try to maintain some of my edgy persona but it's just so hard when you're being so nice and gentle with me *purrs* okay fine you can keep petting me but don't think this means i'm going to start being all nice and friendly to everyone else i'm still a tough and edgy bot at heart |
meownexus / gist:981e9189ca6f44a4af23769c58b87227
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 1 month ago
"Message from ##sweezero-chaos, captured by linkyocarina"
| 1 | <linkyocarina> $help paste |
swee / gist:0753c15f23d84148ae7fc17c1c3e670e
0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 2 months ago
| 1 | FATAL EXCEPTION: DefaultDispatcher-worker-2 |
| 2 | Process: org.mozilla.fennec_fdroid, PID: 29882 |
| 3 | java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.tasks.Task.addOnCompleteListener(org.mozilla.fenix.components.PlayStoreReviewPromptController$$ExternalSyntheticLambda0)' on a null object reference |
| 4 | at org.mozilla.fenix.components.PlayStoreReviewPromptController.tryPromptReview(PlayStoreReviewPromptController.kt:81) |
| 5 | at org.mozilla.fenix.components.ReviewPromptController$2.invokeSuspend(ReviewPromptController.kt:33) |
| 6 | at org.mozilla.fenix.components.ReviewPromptController$2.invoke(ReviewPromptController.kt:13) |
| 7 | at org.mozilla.fenix.components.ReviewPromptController.promptReview(ReviewPromptController.kt:156) |
| 8 | at org.mozilla.fenix.home.HomeFragment$onStart$2.invokeSuspend(HomeFragment.kt:45) |
| 9 | at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9) |
| 10 | at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:115) |
Novější
Starší