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
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
fi | |
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH |
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
const YOUTUBE_API = "https://youtube.googleapis.com/youtube/v3" | |
const API_KEY = "YOUR_API_KEY_HERE" | |
const channelIdArray = [ | |
"UCT6iAerLNE-0J1S_E97UAuQ", // YongYea | |
"UC9PBzalIcEQCsiIkq36PyUA", // Digital Foundry | |
"UCNvzD7Z-g64bPXxGzaQaa4g", // gameranx | |
"UCcGL_0yoZTskvlgAixaEjEg", // whatoplay | |
"UCawsJGDMV6IOm6z9yiOyIsQ", // Cronosfera | |
"UC-zfTtp6tir7yJIrpsgS0dA", // Intoxi Anime | |
"UCBJycsmduvYEL83R_U4JriQ", // Marques Brownlee |
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
const STEAM_STORE_URL = "https://store.steampowered.com" | |
const steamId = args.widgetParameter ?? "76561198008818777" | |
try { | |
const wishListGames = await fetchWishListById(steamId) | |
const widget = await createWidget(wishListGames) | |
renderWidget(widget) | |
} catch(error) { | |
const widget = await createErrorWidget(error) | |
renderWidget(widget) | |
} |