nathan

joined 1 month ago
[–] [email protected] 6 points 3 hours ago

We just keep making it easier for perry the platypus

[–] [email protected] 2 points 8 hours ago

I have actually tried to get rid of a Twitter embed by clicking on the "X"

[–] [email protected] 3 points 8 hours ago

Honestly, AI websites that do sound like they're talking about the right topic are worse. You'll get halfway through the steps and realize it's bullshit and wasted your fucking time

[–] [email protected] 4 points 2 days ago

This in combination with the recent sudo privilege escalation could make some nice jail broken radios

[–] [email protected] 6 points 3 days ago

Close enough, welcome back Mr. Ed

[–] [email protected] 1 points 3 days ago* (last edited 3 days ago) (1 children)

More info here

Note that consumer GeForce cards are not said to have GSP on by default

[–] [email protected] 4 points 4 days ago

I love how they champion Community Notes like it didn't exist as Birdwatch before he bought it

[–] [email protected] 56 points 5 days ago

Well, not with that attitude!

[–] [email protected] 3 points 1 week ago

I wrote this one ages ago to throw shopgoodwill.com items in my calendar because the times are in PDT and they don't have any built in notification (that works)

Also made it work with govdeals but I haven't tested that in ages so YMMV

Writes it to a Google calendar URL. I had it write to an ICS file at one point but I don't have version control on this one file

javascript: (
    () => {
        function createItem(productTitle, date) {
            console.log(productTitle, date);
             window.open(`https://calendar.google.com/calendar/render?action=TEMPLATE&text=%24%7BproductTitle%7D&details=%24%7BproductTitle%7D @ Goodwill ${window.location}&dates=${date}/${date}`);
        }
        if (window.location.href.toString().includes("https://shopgoodwill.com/item/")) {
            try {
                let title = document.querySelectorAll(".mb-4.d-none.d-md-block.ng-star-inserted")[0].innerText;
                let headers = document.querySelectorAll("th.font-weight-bold.text-nowrap");
                let time;
                if (headers[4].innerHTML == " Handling Price: ") {
                    time = headers[5] }
                else {
                    time = headers[4]
                }
                time = time.parentElement.children[1].innerHTML.substring(0, 25) + "DT";
                console.log(headers);
                createItem(title, new Date(time).toISOString().split(".")[0].replace(/-/gi, "").replace(/:/gi, "") + "Z");
            } catch (e) {
                alert("An error occurred, check the console for full details: " + e);
                console.log(e); 
            }
        } else if (window.location.href.toString().includes("https://www.govdeals.com/index.cfm")) {
            try {
                createItem(document.querySelectorAll("#asset_short_desc_id")[0].innerText, new Date(document.querySelectorAll("tr > td[align='right'][nowrap='nowrap'] > b")[0].innerText.replace("ET", "EDT")).toISOString().split(".")[0].replace(/-/gi, "").replace(/:/gi, "") + "Z");
            } catch (e) {
                alert("An error occurred, check the console for full details: " + e);
                console.log(e);
            }
        } else {
            alert("This is not a goodwill or govdeals item page.");
        }
    })();
[–] [email protected] 107 points 1 week ago (7 children)

This isn't YAML, this is just sparkling JSON

[–] [email protected] 9 points 1 week ago

I've tried and it's returned to my bank account just fine. Their purchase disputes are pretty easy too

[–] [email protected] 32 points 1 week ago (2 children)

Back in my day we crafted racist videos by hand

view more: next ›