HN user

HaseebR7

34 karma
Posts2
Comments27
View on HN

I've never learned JS completely, just dangerous half knowledge from stackoverflow answers or blogs.

Should I jump into ES6 directly or learn ES5 and learn ES6 when it is implemented across all browsers ?

That is why you have sitemaps, for new websites with no sitemaps we could start with a default frequency, say, once a day. If it changes more often than that you can increase it to multiple times a day and so on. We can also look for the type of website to determine a starting frequency — for example an e-commerce websites ought to be crawled more frequently because new products, reviews, ratings could be added every few minutes whereas a personal blog may stay the same for weeks altogether.

Emperor Norton 11 years ago

"n 1867, a policeman named Armand Barbier arrested Norton to commit him to involuntary treatment for a mental disorder.[3] The Emperor's arrest outraged the citizens and sparked scathing editorials in the newspapers. Police Chief Patrick Crowley ordered Norton released and issued a formal apology on behalf of the police force.[10] Crowley wrote "that he had shed no blood; robbed no one; and despoiled no country; which is more than can be said of his fellows in that line."[18] Norton magnanimously granted what he considered an Imperial Pardon to the errant policeman. All police officers of San Francisco thereafter saluted Norton as he passed in the street"

:D

Youtube-dl 12 years ago

I've used this one for so many things and it's awesome.

I've downloaded a whole youtube channel, downloaded videos as mp3's and what not.

I have couple of aliases set in my .zshrc too :)

mp3dl() { youtube-dl --extract-audio --audio-format mp3 $1 }

root@haseebr7 ~ mp3dl <youtube_video_url>

and bam i have the mp3 download. I no longer have to visit shitty ad infested websites to do these kind of things.