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
#EXTM3U | |
#EXTINF:-1 tvg-id="552002" tvg-name="##### USA NEWS #####" group-title="Filtered Channels",##### USA NEWS ##### | |
http://line.dino.ws:80/play/live.php?mac=00:1A:79:12:4D:08&stream=552002&extension=ts&play_token=Qc8ZdEDtT2 | |
#EXTINF:-1 tvg-id="469294" tvg-name="USA - AL JAZEERA AMERICA HD" group-title="Filtered Channels",USA - AL JAZEERA AMERICA HD | |
http://line.dino.ws:80/play/live.php?mac=00:1A:79:12:4D:08&stream=469294&extension=ts&play_token=x0hE3IkQgq | |
#EXTINF:-1 tvg-id="469293" tvg-name="USA - AL JAZEERA ENGLISH" group-title="Filtered Channels",USA - AL JAZEERA ENGLISH | |
http://line.dino.ws:80/play/live.php?mac=00:1A:79:12:4D:08&stream=469293&extension=ts&play_token=ziinO3wYlr | |
#EXTINF:-1 tvg-id="551775" tvg-name="USA - NEWSMAX TV HD" group-title="Filtered Channels",USA - NEWSMAX TV HD | |
http://line.dino.ws:80/play/live.php?mac=00:1A:79:12:4D:08&stream=551775&extension=ts&play_token=5Q9ElINxdZ | |
#EXTINF:-1 tvg-id="469341" tvg-name="USA - THE BLAZE HD" group-title="Filtered Channels",USA - THE BLAZE HD |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/Pragith.Prakash/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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 os, time, datetime | |
from termcolor import colored | |
from selenium import webdriver | |
from selenium.webdriver.firefox.options import Options | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.support.ui import Select | |
from selenium.webdriver.common.by import By | |
URL = 'https://services3.cic.gc.ca/ecas/authenticate.do' |
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
#%% | |
''' | |
Instructions: | |
1. Configure the game variables - greyLetters, orangeLetters and greenLetters | |
2. Run the script and you'll get all possible answers to the current Wordle round. | |
Example output: | |
Possible Wordle answers are: | |
> month | |
> mount |
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
field_name,field_display_value,field_actual_value,field_type | |
bank_name,HDFC Bank,hdfc,dropdown | |
bank_name,ICICI Bank,icici,dropdown | |
bank_name,Federal Bank,federal,dropdown | |
bank_account_types,Savings Account,savings,radio | |
bank_account_types,Checking Account,checking,radio | |
city,Bangalore,bengaluru,dropdown | |
city,Chennai,chennai,dropdown |
We can't make this file beautiful and searchable because it's too large.
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
timestamp,user_id,event,flyer_id,merchant_id | |
2018-10-01T13:54:59-04:00,9ea672779feb1e088caa593b61ec51440c1d8694e1bf3dfe95554f7c9698c47e,shopping_list_open,, | |
2018-10-01T13:34:04-04:00,01ca5536abc5e0992c8e12ab57e93f567cb6608c6ebc1f403891b78a5fe75459,shopping_list_open,, | |
2018-10-01T13:56:36-04:00,1c1231e7a41a1bee17dd8e8111ebaef941525995f330199844fd9a0293edf9aa,flyer_open,2016315,2268 | |
2018-10-01T13:36:16-04:00,b38f97880ccb69e8f89201eedbccc149a9ea914ca86111340a9b1d9de1788a01,shopping_list_open,, | |
2018-10-01T13:56:10-04:00,b38f97880ccb69e8f89201eedbccc149a9ea914ca86111340a9b1d9de1788a01,shopping_list_open,, | |
2018-10-01T13:36:40-04:00,9ea672779feb1e088caa593b61ec51440c1d8694e1bf3dfe95554f7c9698c47e,shopping_list_open,, | |
2018-10-01T13:34:36-04:00,7c3e5dadd6c0d71702e9c26a9470720db160f6addb88eabde3aa1cdf4b0e4bdd,flyer_open,1993325,2188 | |
2018-10-01T13:31:01-04:00,9ea672779feb1e088caa593b61ec51440c1d8694e1bf3dfe95554f7c9698c47e,flyer_open,2002542,3383 | |
2018-10-01T13:39:00-04:00,4997a2ca5d6f3a8e2181847a9734a864ea097fe3684dcbae |
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
sudo chown -R $(whoami) ~/.npm |
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
from bs4 import BeautifulSoup as bs | |
import argparse, requests, pandas as pd | |
# Get report related arguments from the command line | |
parser = argparse.ArgumentParser() | |
parser.add_argument("-url","--url", help="Enter Lynda course URL", type=str) | |
parser.add_argument("-o","--output_file", help="Enter the output filename", type=str) | |
args = vars(parser.parse_args()) | |
def duration_to_seconds(T): |
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
def download_file(url, output_location): | |
print('URL:',url) | |
# Streaming, so we can iterate over the response. | |
r = requests.get(url, stream=True) | |
# Total size in bytes. | |
total_size = int(r.headers.get('content-length', 0)); | |
block_size = 1024 | |
wrote = 0 | |
with open(output_location, 'wb') as f: |
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
alias matrix='echo -e "\033[0;32m1"; while $t; do for i in `seq 1 30`;do r="$[($RANDOM % 2)]";h="$[($RANDOM % 4)]";if [ $h -eq 1 ]; then v="\033[0;32m0 $r";else v="1 $r";fi;v2="$v2 $v";done;echo -e $v2;v2="";done; |
NewerOlder