Skip to content

Instantly share code, notes, and snippets.

View virajkanwade's full-sized avatar

Viraj Kanwade virajkanwade

  • Surrey, British Columbia, Canada
View GitHub Profile
showthread.php/1507523-Bhagya-Dile-Tu-Mala-10th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 10th October 2022 Video Watch Online
showthread.php/1507162-Bhagya-Dile-Tu-Mala-7th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 7th October 2022 Video Watch Online
showthread.php/1506991-Bhagya-Dile-Tu-Mala-6th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 6th October 2022 Video Watch Online
showthread.php/1506806-Bhagya-Dile-Tu-Mala-5th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 5th October 2022 Video Watch Online
showthread.php/1506614-Bhagya-Dile-Tu-Mala-4th-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 4th October 2022 Video Watch Online
showthread.php/1506428-Bhagya-Dile-Tu-Mala-3rd-October-2022-Video-Watch-Online?highlight=bhagya+dile+mala,Bhagya Dile Tu Mala 3rd October 2022 Video Watch Online
showthread.php/1506206-Bhagya-Dile-Tu-Mala-1st-Oct
@virajkanwade
virajkanwade / aws_mfa_creds.sh
Last active August 12, 2020 17:54
AWS CLI with MFA
#!/bin/bash
# source ./aws_mfa_creds.sh <MFA KEY> <ORIG AWS PROFILE NAME - optional, default>
# https://aws.amazon.com/premiumsupport/knowledge-center/authenticate-mfa-cli/
# Works on MacOS. Might need changes to date command params for linux
if [ -n "$AWS_SESSION_TOKEN_EXPIRATION" ]
then
if [ $(date -jf "%Y-%m-%dT%H:%M:%SZ" "$AWS_SESSION_TOKEN_EXPIRATION" +"%s") -gt $(date +"%s") ]
@virajkanwade
virajkanwade / requirements_mac.txt
Created April 18, 2020 23:35
Spyder-ide requirements_mac.txt - Created this gist since spyder is not interested https://github.com/spyder-ide/spyder/pull/12387
# We can not refer to an environment.yml file from another
# So to get performant launches on mybinder.org, we have copied
# the contents of this file to binder/environment.yml. If you
# make changes here, please copy them over there too.
applaunchservices >=0.1.7
atomicwrites >=1.2.0
chardet >=2.0.0
cloudpickle >=0.5.0
diff-match-patch >=20181111
intervaltree
@virajkanwade
virajkanwade / ls_build.sh
Created October 27, 2018 17:48
ls -R Build
#!/bin/bash
pwd
ls -R Build
@virajkanwade
virajkanwade / linuxium-create-android-sdcard-split
Created January 25, 2018 22:27
linuxium-create-android-sdcard-split
#!/bin/bash
# Linuxium's script to create a bootable SD card with Android for RK3188 devices
SDCARD="/dev/sdc"
SOURCE_DIR='~'
WORKING_DIR=`pwd`
ANDROID_DIR=${WORKING_DIR}/Android
IMAGE_DIR=${ANDROID_DIR}/Image
@virajkanwade
virajkanwade / DisplayProfileSwitcher.scpt
Last active October 23, 2016 07:02
Quick display profile switcher for Mac (tested on el capitan)
-- Author: Viraj Kanwade
-- Initial inspiration was iOS 'Night Shift' like feature on Mac
-- Hacked together from various code snippets on forums
-- Tested only on El Capitan for main display
(*
Pre-steps:
Create display profiles
System Preferences > Dispalys > Color
@virajkanwade
virajkanwade / NewsIPTV.m3u
Last active February 5, 2016 16:18
News IPTV
#EXTM3U
#EXTINF:-1,DD News
http://164.100.49.24:8080/hls-live/livepkgr/_definst_/ddnewslive.m3u8
#EXTINF:-1,Zee News
http://zeeapp-lh.akamaihd.net/i/zeenews_1@336222/master.m3u8?hdnea=st=1454688268~exp=1454689768~acl=/*~hmac=ea855053b89176e31b9746d822360e9f39c81a70b8898e14f92520298cb64f7f
@virajkanwade
virajkanwade / mouse_select.tmux.conf
Created August 31, 2015 15:42
Add the lines to .tmux.conf to enable switching windows/ panes with mouse
set -g mode-mouse on
set -g mouse-select-window on
set -g mouse-select-pane on
@virajkanwade
virajkanwade / git_reset_branch.sh
Last active August 31, 2015 15:31
git_reset_branch.sh
# DO NOT MAKE THIS EXECUTABLE
# USER COULD LOSE CODE
# SHOULD ALWAYS BE MANUALLY RUN AS "bash git_reset_branch.sh"
# LICENSE: GPL3
# AUTHOR: Viraj Kanwade
# URL: https://github.com/virajkanwade
set -e
# BRNCH="$(git branch | grep '^\*' | awk '{ print $2 }')"
#EXTM3U
#EXTINF:-1,9x Tashan
rtsp://46.249.213.93/broadcast/9xmtashan-tablet.3gp
#EXTINF:-1,asianet-middle-east-live/
rtmp://$OPT:rtmp-raw=rtmp://50.7.175.251/base2 playpath=asia1.stream swfUrl=http://www.turbotv.in/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf live=1 pageUrl=http://www.turbotv.in//HasBahCa/HasBahCa_IPTV.php
#EXTINF:-1,asianet-movies-live/
rtmp://$OPT:rtmp-raw=rtmp://50.7.175.251/base2 playpath=asia15.stream swfUrl=http://www.turbotv.in/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf live=1 pageUrl=http://www.turbotv.in//HasBahCa/HasBahCa_IPTV.php
#EXTINF:-1,asianet-news-live/
rtmp://$OPT:rtmp-raw=rtmp://50.7.175.251/base2 playpath=asia0.stream swfUrl=http://www.turbotv.in/wp-content/uploads/jw-player-plugin-for-wordpress/player/player.swf live=1 pageUrl=http://www.turbotv.in//HasBahCa/HasBahCa_IPTV.php
#EXTINF:-1,B4U