I might have missed something, but I haven't found any simple way to change my admin password (with emailing not active) in gogs. It was quite easy to find the hash location, but as I didn't know how it was generated... Luckily I eventually found the parameters used, so here it is for you if you need them embedded in a script : var pbkdf2 = require('pbkdf2-sha256'); var key = 'YourChosenPasword'; var salt = 'AnyRandomValue'; var hash = pbkdf2(key, salt, 10000, 50); console.log(hash.toString('hex')); All I had to do was then to update the table user , setting passwd to the generated value (and updating salt with the value used in the script).
Original article published my new blog blog.assad.fr If I have no definitive answer on this, the Business Insider has some insights: HackerRank polled 116000 developers about their salaries and got interesting results: Perl is associated with an average global salary of $84,025.50 (54.2% higher than the global average salary) Scala is associated with an average global salary of $77,159.60 Go is associated with an average global salary of $72,691.30 Python is associated with an average global salary of $56,670.90 JavaScript is associated with an average global salary of $55,690 Without more information about the polled panel it's hard to state this results as “Truth” but they seems to confirm personal beliefs: The salary is more linked to the scarsity of resources than to the trendyness of the associated technology. Perl resources are less and less available. You know what ? It's good to be a Perl programmer :-)
Original article published my new blog blog.assad.fr “Nobody use it. It's a dead language. It's a technology of the past…” Are the kind of statement you'll be likely to hear about Perl nowadays. Nonetheless, I've landed one of the most exciting mission I've ever had because of Perl. I've met great people, because of Perl. I've solved issues in no time, because of Perl. So, there's no chance I'll drop Perl any time soon. That doesn't mean I'll stop exploring new languages (like Kotlin) or even loving other ones (like Golang). But you know, when I love it's forever… WHAT PERL IN 2020? For me it will be maintaining and improving an impressive code base used by thousands of people in a great University. Improving Net::Whois::RIPE, as some people are still using it. (by the way, a new release is out!) Probably more testing (setting up a CPAN smoker?) and always some more tools… AND THEN? It will probably be like th
Commentaires