Skip to content

Instantly share code, notes, and snippets.

View eunicode's full-sized avatar

Eunice Park eunicode

View GitHub Profile
// @ts-nocheck
import directoriesData from '../data/directoriesData';
import providersData from '../data/providersData';
import { GetStaticPaths } from 'next'; // TypeScript type
import { GetStaticProps } from 'next'; // TypeScript type
import CardList from '../components/provider/CardList';
// import CardList from '../components/provider/CardList/index'
@eunicode
eunicode / srt_to_txt.py
Created July 9, 2021 21:42 — forked from ndunn219/srt_to_txt.py
Simple Python Script for Extracting Text from an SRT File
"""
Creates readable text file from SRT file.
"""
import re, sys
def is_time_stamp(l):
if l[:2].isnumeric() and l[2] == ':':
return True
return False
@eunicode
eunicode / .eslintrc
Created July 27, 2020 18:04 — forked from elijahmanor/.eslintrc
Add Prettier & ESLint to VS Code with a Create React App
{
"extends": ["react-app", "plugin:prettier/recommended"]
}
@eunicode
eunicode / Download and Organize Lynda.com Courses with Authentication.md
Created December 21, 2018 04:21 — forked from bwangila/Download and Organize Lynda.com Courses with Authentication.md
Lynda.com unfortunately does not allow one to easily download course videos even with a premium subscription. Here, I show you how to easily do that with the open source youtube-dl utility.

youtube-dl INSTALLATION

youtube-dl is a handy little command-line utility that, with the right command, automagically downloads videos from Youtube as well as other platforms such as Vimeo, Lynda.com, BBC, CNN etc..(Full list of supported websites)

Kindly proceed to youtube-dl's Github repo for detailed installation instructions for your respective OS

In case of an error, make sure you have Python 2.6, 2.7 or 3.2+ installed as youtube-dl needs it to run.

USAGE

const TYPES = [
{
'Web': 'https://www.google.com/search?q=',
'Images': 'https://www.google.com/search?tbm=isch&q=',
'News': 'https://www.google.com/search?tbm=nws&q=',
'Videos': 'https://www.google.com/search?tbm=vid&q=',
'Maps': 'https://www.google.com/maps/preview?q='
}
]