Skip to content

Instantly share code, notes, and snippets.

@eliluong
eliluong / vlc-url-protocol.reg
Created November 11, 2023 20:34 — forked from aykxt/vlc-url-protocol.reg
VLC URL protocol handler for "vlc://" links on Windows
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\vlc]
@="URL:VLC Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\vlc\DefaultIcon]
@="C:\\Program Files\\VideoLAN\\VLC\\vlc.exe,0"
[HKEY_CLASSES_ROOT\vlc\shell]
@eliluong
eliluong / mint_trend_scrape.py
Last active November 16, 2021 01:43
Automate scraping table info from Mint in the Trends panel
import time
import requests
import json
import re
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.keys import Keys
import random
import datetime
import calendar
from dateutil.relativedelta import relativedelta
@eliluong
eliluong / index.php
Created August 23, 2021 01:34 — forked from vsoch/index.php
Generate RSS feed for files in a directory folder. Put this file in a folder with files, modify the $allowed_ext variable to customize your extensions, and $feedName, $feedDesc, $feedURL, and $feedBaseURL. Then navigate to the folder on the web to see the xml feed. Done!
<?php
header('Content-type: text/xml');
/*
Runs from a directory containing files to provide an
RSS 2.0 feed that contains the list and modification times for all the
files.
*/
$feedName = "My Audio Feed";
$feedDesc = "Feed for the my audio files in some server folder";