#Oh no! this package could not be found aka how to fix oracle linux 7 not having any repos tl;dr run
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum repolist
#Oh no! this package could not be found aka how to fix oracle linux 7 not having any repos tl;dr run
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum repolist
bpj | |
bp6 | |
bqf | |
bq5 | |
bq6 | |
bq8 | |
bq9 | |
bq0 | |
bse | |
bs6 |
async function getSongInfo(user) { | |
const url = `https://ws.audioscrobbler.com/2.0/?method=user.getRecentTracks&user=${user}&api_key=${API_KEY}&limit=1&format=json`; | |
const response = await fetch(url); | |
const json = await response.json(); | |
const track = json.recenttracks.track[0]; | |
return { user: json.recenttracks["@attr"].user, artist: track.artist["#text"], name: track.name, image: track.image[track.image.length - 1]["#text"], playing: ((typeof (track["@attr"]) != "undefined") ? true : false) }; | |
} | |
// example response: |
Follow these steps to enable swap and hibernation on Arch Linux.
First, check your current RAM and swap usage to ensure the swap file is large enough to store the contents of your RAM: