13
Darmark
7y

Hey guys! Why don't you share your first code of the year?

(At least a small piece of it)

Comments
  • 4
    console.log('Hello world')
  • 2
    @sudorm-rf You just made my day lol
  • 1
    Because it's mine! 😒
    #closedsourceTeam
  • 1
    @Darmark at least it wasn't sudo rm -rf /
  • 2
    github.com/Zac-Garby/reddis - a Reddit clone using a Redis database 👌
  • 2
    Proprietary :-x
  • 3
    @sudorm-rf name checks out
  • 4
    (sorry)
    This monstrosity:
    (!(navigator.userAgent.indexOf("MSIE")<0)) ? (document.write ("<script src=\"/js/homepage-oldie.js\"></scr"+"ipt>")) : (document.write ("<script async src=\"/js/homepage.js\"></scr"+"ipt>"));

    Had to support fuckin IE 🙄
  • 1
    @hacker I would’ve just cleared the page and wrote: You 🤬 IE user don’t deserve to see this site.
  • 3
    @RedBorg fucking hell, bro :D

    I vowed to myself to never go back to the "support this and that shitty browser" thing (this is the last time, I promise). But this is my personal site and I wanted decent browser support for *those* clients who still use shitty browsers.

    Speaking of promises, IE doesn't support those either 😂
  • 3
    This mess of php from devCredits:

    function userispp($u){
    $apiu = "https://skayo.2ix.at/DevRantStats/...=" . $u;
    $apir = file_get_contents($apiu);
    $uresp = '{"success":false,"reason":"User not found"}';
    if ($apir == $uresp) {
    return false;
    } else {
    return true;
    }
    }
  • 0
    puts "fuck off"
  • 2
    @ewpratten I took that out in the latest PR 😂
  • 1
    I have not written a single line of code this year
  • 0
  • 0
    My ~/.config/fish/config.fish. Added support for Tilix
  • 0
    ping 8.8.8.8
  • 1
    @ShahriyarRulez Starting the new year with a syntax error isn't a great sign.
  • 0
    puts "test"
  • 2
    @stiaanvm alright. I will check it out.
Add Comment