This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Format the link to navigate to the artists genius webpage | |
genius_urls <- paste0("https://genius.com/artists/",top_artists$Artist) | |
#Initialize a tibble to store the results | |
artist_lyrics <- tibble() | |
# Outer loop to get the song links for each artist | |
for (i in 1:10) { | |
genius_page <- read_html(genius_urls[i]) | |
song_links <- html_nodes(genius_page, ".mini_card_grid-song a") %>% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# Script to download/clone all of your Github repos | |
# | |
# Copyright Nicholas Humfrey, 22nd August 2017 | |
# | |
# License: http://unlicense.org | |
# | |
use JSON; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open direct messages window, paste this into console. | |
function deleteNextConversation() | |
{ | |
if (!(dm = document.getElementsByClassName("DMInbox-conversationItem")[0])) { | |
clearInterval(tmr) | |
return; | |
} | |
dm.firstChild.click(); | |
setTimeout('document.getElementsByClassName("js-actionDeleteConversation")[0].click()', 1000); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.