Skip to content

Instantly share code, notes, and snippets.

View Axenide's full-sized avatar
☄️
Determined

Adriano Tisera Axenide

☄️
Determined
View GitHub Profile
@Axenide
Axenide / responsive-whatsapp-web.md
Last active September 30, 2024 08:26
Responsive UI for WhatsApp Web.

Responsive WhatsApp Web

Using Stylus and adding this CSS will get you a responsive UI for WhatsApp Web (which I think is long overdue, come on Meta).

@media (max-width: 747px){
     #app>div>div:last-child>header {
         display: none;
    }
     div:has( > #side):not(:hover) {
         max-width: 80px !important;
 }
@Axenide
Axenide / bulk-suno.md
Created August 2, 2024 07:05
Bulk download your Suno songs and videos!

How to bulk download your Suno library

Today my dad asked me for a way to download all of his Suno songs. (He really loves writing songs, and now he can give them life easily. What a time to be alive!). Luckily, I found this gist and it works great, but my dad also wanted to get the videos generated, so I modified it a little.

copy(
    [...$('[role="grid"]')[Object.keys($('[role="grid"]')).filter(x => x.startsWith('__reactProps'))[0]].children[0].props.values[0][1].collection]
    .reduce((acc, x) => {
        if (x.value.audio_url) acc.push(x.value.audio_url);
        if (x.value.video_url) acc.push(x.value.video_url);
 return acc;