Skip to content

Instantly share code, notes, and snippets.

R3DDY97

View GitHub Profile
@R3DDY97
R3DDY97 / openpgp.txt
Created Jan 11, 2019
OpenKeychain Linked Identity
View openpgp.txt
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:1581b492f2bc39f44f4103d25327367cefafde62]
View Indiaiptv.m3u
#EXTINF:0, group-title="English",& Flix
http://z5ams.akamaized.net/andflix/tracks-v1a1/index.m3u8
#EXTINF:0, group-title="Hindi",& Pictures
#EXTINF:0, group-title="Hindi",& Pictures HD
http://z5ams.akamaized.net/andpicshd/tracks-v1a1/index.m3u8
#EXTINF:0, group-title="Punjabi",5aab TV
http://158.69.124.9:1935/5aabtv/5aabtv/playlist.m3u8
#EXTINF:0, group-title="Tamil",??
http://mhms9.airtel.tv/wh7f454c46tw4163224253_611767333/PLTV/88888888/224/3221226313/index.m3u8
#EXTINF:0, group-title="Telugu",10 TV
View iptv.m3u8
#EXTM3U
#EXTINF:-1 tvg-id="Ecmin" tvg-logo="https://gg.gg/ecmin", ♥♥♥ List By deathemperor
https://gg.gg/ecmin
#EXTINF:-1 tvg-id="Ecmin" tvg-logo="https://gg.gg/thvl-1" group-title="THVL", Vĩnh Long 1
http://live.cdn.mobifonetv.vn/motv/mythvl1_hls.smil/chunklist.m3u8
#EXTINF:-1 tvg-id="Ecmin" tvg-logo="https://gg.gg/thvl-2" group-title="THVL", Vĩnh Long 2
http://live.cdn.mobifonetv.vn/motv/mythvl2_hls.smil/chunklist.m3u8
#EXTINF:-1 tvg-id="Ecmin" tvg-logo="https://gg.gg/vtv-1" group-title="VTV", VTV1 HD S1
https://cdn-livestream-live.vtvgiaitri.vn/vtv1.smil/chunklist_b2000000.m3u8
#EXTINF:-1 tvg-id="Ecmin" tvg-logo="https://gg.gg/vtv-1" group-title="VTV", VTV1 HD S2
@R3DDY97
R3DDY97 / state_list.json
Created May 26, 2018
States list of India and its Codes
View state_list.json
{"India":{"StateList":[{"SCode":"AN","SName":"Andaman and Nicobar"},
{"SCode":"AP","SName":"Andhra Pradesh"},
{"SCode":"AR","SName":"Arunachal Pradesh"},
{"SCode":"AS","SName":"Assam"},
{"SCode":"BR","SName":"Bihar"},
{"SCode":"CG","SName":"Chhattisgarh"},
{"SCode":"CH","SName":"Chandigarh"},
{"SCode":"DD","SName":"Daman and Diu"},
{"SCode":"DL","SName":"Delhi"},
{"SCode":"DN","SName":"Dadra and Nagar Haveli"},
@R3DDY97
R3DDY97 / haversian_distance.py
Last active Apr 29, 2018
Calculates distance between two points on earth using their latitudes and longitudes
View haversian_distance.py
#!/usr/bin/env python3
'''Calculates Haversian distance between two points on earth'''
from math import (sqrt, radians, sin, cos, atan2)
def haversian_dist(loc1, loc2):
'''Calculates Haversian distance between two points on earth
loc1 and loc2 are (lat, long) of two points'''
radius = 6373.0 # approx earth radius in km
View keybase.md

Keybase proof

I hereby claim:

  • I am R3DDY97 on github.
  • I am r3ddy97 (https://keybase.io/r3ddy97) on keybase.
  • I have a public key whose fingerprint is 1581 B492 F2BC 39F4 4F41 03D2 5327 367C EFAF DE62

To claim this, I am signing this object:

@R3DDY97
R3DDY97 / install_nextcloud.sh
Created Jan 5, 2018
Installs Nextcloud in Raspberrypi 3
View install_nextcloud.sh
#!/bin/bash
echo "Updating system packages "
echo
sudo apt update && sudo apt upgrade -y; sudo apt full-upgrade -y; sudo apt autoremove -y ;
sudo apt install apache2 sqlite php7.0 php7.0-gd sqlite php7.0-sqlite3 php7.0-curl php7.0-zip php7.0-xml php7.0-mbstring -y;
sudo service apache2 restart
@R3DDY97
R3DDY97 / pdf-dl.py
Last active Dec 4, 2017
Downloads all pdfs from webpage
View pdf-dl.py
#!/usr/bin/env python3
def Usage():
print(
"""
Usage:-
Downloads all the pdf links from a given webpage
python pdf-dl.py url <path/to/directory>
@R3DDY97
R3DDY97 / r_ubuntu_17_10.sh
Last active Nov 3, 2017 — forked from pachamaltese/r_ubuntu_17_10.sh
Install R on Ubuntu 17.10
View r_ubuntu_17_10.sh
#!/bin/bash
# Install R
sudo apt-get update
sudo apt-get install libxml2-dev libssl-dev libcurl4-openssl-dev libopenblas-dev r-base -y
# create local library folder and update path
mkdir -p ~/R/x86_64-pc-linux-gnu-library/3.4
echo ".libPaths("~/R/x86_64-pc-linux-gnu-library/3.4")" > ~/.Rprofile
You can’t perform that action at this time.