Skip to content

Instantly share code, notes, and snippets.

View chinmay-sh's full-sized avatar
🛰️
Orbiting the sun

Chinmay Sharma chinmay-sh

🛰️
Orbiting the sun
  • Vancouver
View GitHub Profile
@chinmay-sh
chinmay-sh / DNS_Changer.ps1
Last active January 3, 2021 20:44
DNS Changing Script Powershell
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }
Write-Host ""
Write-Host "Change DNS Server Settings for Wi-Fi"
Write-Host ""
Write-Host "Enter your Choice: "
Write-Host "1. AdGuard DNS"
Write-Host "2. AdGuard Family Protection DNS"
Write-Host "3. Reset DNS to default"
Write-Host "0. Exit"
Write-Host ""
@chinmay-sh
chinmay-sh / Custom_pihole_adlist.list
Last active October 21, 2020 11:21
my Pihole adlist
phantomas14.live
api.livechatinc.com
www.movable-type.co.uk
link.searchemoji.global
serve.tercept.com
pricee.com
tsccloud.cloudapp.net
trk.cattle-cattle-possible-aside.xyz
www.installs-ai-techie-online.club
graph.facebook.com
@chinmay-sh
chinmay-sh / docker-compose.yml
Created September 26, 2020 09:03
transmission cloud client docker compose
version: "2.1"
services:
transmission:
image: linuxserver/transmission
container_name: transmission
environment:
- PUID=1000
- PGID=1000
- TRANSMISSION_WEB_HOME=/combustion-release/ #optional
- USER=user
@chinmay-sh
chinmay-sh / Pihole adlists
Created September 10, 2020 04:31
List of my pihole adlists
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://v.firebog.net/hosts/Easylist.txt
https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts
https://adaway.org/hosts.txt
https://v.firebog.net/hosts/AdguardDNS.txt
https://v.firebog.net/hosts/Admiral.txt
https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
@chinmay-sh
chinmay-sh / firebase-deploy-hosting.yml
Last active September 18, 2020 09:12
firebase-deploy-hosting-react
name: PropxFirebase
on:
push:
branches:
- master
jobs:
firebase-deploy:
runs-on: ubuntu-latest
@chinmay-sh
chinmay-sh / docker-compose.yml
Last active August 5, 2020 08:24
docker-compose for cloud torrents
version: "3"
services:
ctorrent:
container_name: clorrent
image: jpillora/cloud-torrent
restart: always
ports:
- "80:3000"
volumes:
- ~/downloads:/downloads
@chinmay-sh
chinmay-sh / flutter-firebase-workflow.yml
Last active July 8, 2020 12:18
Workflow for flutter web deployment on ghpages and firebase
name: Flutter Web Firebase
on:
push:
branches:
- master
jobs:
firebase-deploy:
runs-on: ubuntu-latest
@chinmay-sh
chinmay-sh / Dockerfile
Created July 7, 2020 11:32
Docker container files for streamlit
FROM python:3.8-slim-buster
WORKDIR /app
COPY requirements.txt /
RUN pip install -r /requirements.txt
COPY . /app
RUN mkdir ~/.streamlit
echo ++++++=====+++++=====+++++=====+++++=====++++++
echo ----------- Welcome to SSH Script -------------
echo ++++++=====+++++=====+++++=====+++++=====++++++
echo
echo Select your choice:
echo
echo 1. AWS
echo 2. AZURE
echo 3. GCP
echo 0. Exit