Skip to content

Instantly share code, notes, and snippets.

View Yash089610's full-sized avatar
🎯
Focusing

Yash Agarwal Yash089610

🎯
Focusing
View GitHub Profile
http://dl.sitemovie.ir/movie/
http://79.127.126.110/Movie/
http://79.127.126.110/Movie/
http://s1.tinydl.info/Movies2
http://dl.dlb3d.xyz/
http://dl3.heyserver.in/film/ => replace dl1-9
http://cdn.par30dl.com/2017/Animations/03-March/
http://dl5.dlb3d.xyz/M/ (dl1... dl5)
http://dl.galaxymovie.biz/Movie/
#include <bits/stdc++.h>
using namespace std;
/* TYPES */
typedef long long ll;
typedef unsigned long long ull;
typedef vector<ll> vl;
typedef vector<int> vi;
typedef vector<char> vc;
typedef vector<string> vs;
@Yash089610
Yash089610 / Shell_ContextMenu_GitHub.reg
Created August 22, 2020 15:48 — forked from cshaa/Shell_ContextMenu_GitHub.reg
Create neat sub-menus for Windows Explorer directory right-click, one for the Command Line, one for PowerShell and one for Git
Windows Registry Editor Version 5.00
; GitHub Desktop
[HKEY_CLASSES_ROOT\Directory\ContextMenus\MenuGit\shell\github]
; "Icon"=(REG_EXPAND_SZ)"%LocalAppData%\\GitHubDesktop\\GitHubDesktop.exe"
"Icon"=hex(2):25,00,4c,00,6f,00,63,00,61,00,6c,00,41,00,70,00,70,00,44,00,61,\
00,74,00,61,00,25,00,5c,00,47,00,69,00,74,00,48,00,75,00,62,00,44,00,65,00,\
73,00,6b,00,74,00,6f,00,70,00,5c,00,47,00,69,00,74,00,48,00,75,00,62,00,44,\
00,65,00,73,00,6b,00,74,00,6f,00,70,00,2e,00,65,00,78,00,65,00,00,00
@Yash089610
Yash089610 / dolphin.sh
Last active April 7, 2019 15:03
Use to Enable dolphin to run as root... Remember to restart PC
#!/usr/bin/env bash
sudo pacman -Sy --needed --noconfirm phonon-qt5 qt5-webkit qt5-script qt5-svg qt5-tools qt5-x11extras enchant jasper \
openexr libutempter docbook-xsl shared-mime-info giflib libxss upower udisks2 bzr git doxygen perl-json perl-libwww \
perl-xml-parser perl-io-socket-ssl akonadi xorg-server-devel libpwquality fontforge eigen libfakekey qca-qt5 xapian-core \
xsd gperf perl-yaml-syck intltool kdesdk git extra-cmake-modules dialog baloo-widgets-git kactivities-frameworks kio-extras \
knewstuff ktexteditor extra-cmake-modules git kdoctools python axel
echo ""
echo ""
echo ""
@Yash089610
Yash089610 / dolphin.patch
Created March 26, 2019 09:04
Dolphin Run as Sudo patch
From 6e53db77d56c2a7e90d3121a06873e02be513147 Mon Sep 17 00:00:00 2001
From: Yash Agarwal <[email protected]>
Date: Tue, 26 Mar 2019 13:37:10 +0530
Subject: [PATCH] Run as sudo
---
src/main.cpp | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/src/main.cpp b/src/main.cpp

Keybase proof

I hereby claim:

  • I am yash089610 on github.
  • I am yash089610 (https://keybase.io/yash089610) on keybase.
  • I have a public key ASDSqwOw4_7H4JzPu8-r5WBrKGuXySDC9n4eQt_keVkmkgo

To claim this, I am signing this object:

@Yash089610
Yash089610 / Gcloud VM for ARCH
Created February 25, 2019 07:29
A gcould sdk command to create ARCH image
gcloud compute instances create yash089610 \
--image-project=arch-linux-gce --image-family=arch --preemptible \
--min-cpu-platform="Intel Skylake" --custom-cpu=8 --custom-memory=16GB \
--boot-disk-device-name=yash089610 --boot-disk-size=512GB --boot-disk-type=pd-standard \
--tags=https-server,http-server --address=34.xx.xxx.xxx --zone=us-east1-c
--preemptible= For preemptible instance
--min-cpu-platform= Minimum CPU instance to be used by the Instance
--custom-cpu= No of vCPU's needed
@Yash089610
Yash089610 / gitcheats.txt
Created February 24, 2019 08:31 — forked from chrismccoy/gitcheats.txt
git cheats
# shortform git commands
alias g='git'
# get a list of all commit messages for a repo
git log --pretty=format:'%s'
# find the nearest parent branch of the current git branch
git show-branch -a | grep '\*' | grep -v `git rev-parse --abbrev-ref HEAD` | head -n1 | sed 's/.*\[\(.*\)\].*/\1/' | sed 's/[\^~].*//'
# push changes to an empty git repository for the first time
@Yash089610
Yash089610 / git_remember_password.md
Created January 9, 2019 17:24 — forked from ankurk91/git_remember_password.md
Git credential cache, why type password again and again

Git tip: Tired of entering password again and again ?

Run this command to remember your password:

git config --global credential.helper 'cache --timeout 28800'

Above command will tell git to cache your password for 8 hours.

@Yash089610
Yash089610 / mullvad-vpn-speedtest-suite.md
Created January 9, 2019 17:02 — forked from msfjarvis/mullvad-vpn-speedtest-suite.md
Collection of bash hackery to determine which Mullvad WireGuard server is the lowest latency from your location
  • Grab all your wireguard configs from Mullvad and dump them in a folder. For this test, this folder is ~/wireguard/.
  • Add the following function to generate a list of all servers you have configs for
lswg ()  { 
    ls ~/wireguard/ | cut -d '-' -f 2 | sed 's/\.conf//'
}
  • Ping each server 10 times to determine latency.
lswg | xargs -I {} ping -c 10 {}-wireguard.mullvad.net | tee mullvadwgstats