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
import React, { useEffect, useState } from 'react'; | |
function Counter(props) { | |
const [file, setFile] = useState(null); | |
const [xml, setXml] = useState(null); | |
// Loads the provided file and parses the XML content. | |
useEffect(() => { | |
if (file !== null) { | |
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
#!/bin/bash | |
### ARGUMENTS: | |
# $1 : URL to YouTube Video | |
# $2 : (Optional) Folder in $HOME to place .mp3 file | |
## ytaud - This script downloads high quality .mp3 audio from a YouTube URL ($1) and places it in the user's ~/Music/ folder or $HOME/$2 folder. | |
## The quality by default is maximum (320kbps?) and I will likely add support for changing this later. | |
# Color for output |