Skip to content

Instantly share code, notes, and snippets.

View g-rohit's full-sized avatar
🎯
Focusing

G Rohit g-rohit

🎯
Focusing
View GitHub Profile
@g-rohit
g-rohit / quotes.json
Created August 30, 2023 03:16
Collections of Random Quotes - can be used a Quotes JSON API
{
"quotes": [
{
"quote":"Life isn’t about getting and having, it’s about giving and being.","author":"Kevin Kruse"},
{
"quote":"Whatever the mind of man can conceive and believe, it can achieve.","author":"Napoleon Hill"},
{
"quote":"Strive not to be a success, but rather to be of value.","author":"Albert Einstein"},
{
@g-rohit
g-rohit / WebUser.json
Last active May 10, 2023 23:36
All Web user book published Dates
// https://www.magzter.com/magazines/listAllIssues/503
// var all = document.querySelectorAll('.jsx-3193871204.mag__resultsListInner')
// all.forEach(eachitem => { console.log(eachitem.innerText) })
{
"December 09, 2020",
"November 25, 2020",
"November 11, 2020",
"October 28, 2020",
"October 14, 2020",
"September 30, 2020",
var sheetName = 'responses'
var scriptProp = PropertiesService.getScriptProperties()
function intialSetup () {
var activeSpreadsheet = SpreadsheetApp.getActiveSpreadsheet()
scriptProp.setProperty('key', activeSpreadsheet.getId())
}
function doPost (e) {
@g-rohit
g-rohit / remove-hindustantimes-ad-block-pop-up.js
Last active December 9, 2020 11:19
remove-hindustantimes-ad-block-pop-up
// ==UserScript==
// @name HT-times-@grohit;
// @version 1.00
// @Date 9th-dec-2020
// @author github.com/g-rohit
// ==/UserScript==
// Desc: Remove ad blocker pop up
setInterval(function () {
if (window.location.href.includes("hindustantimes")) {
@g-rohit
g-rohit / save_instagram_image_and_video.user.js
Last active May 8, 2023 08:53
Add image and video access on right click of the mouse on web instagram
// ==UserScript==
// @name Instagram-@grohit;
// @version 1.00
// @Date 12th Nov 2020
// @author github.com/g-rohit
// ==/UserScript==
// Desc: Add image and video access on right click of the mouse on web instagram
setInterval(function () {
if (window.location.href.includes("instagram")) {
@g-rohit
g-rohit / ig_request_acceptor.js
Last active September 19, 2020 08:43
Accept pending Instagram requests
setInterval(function(){ document.querySelector('div.Igw0E.IwRSH.eGOV_._4EzTm.JI_ht>button.sqdOP.L3NKy.y3zKF').click() }, 3000);
@g-rohit
g-rohit / youtube-dl.md
Last active December 9, 2020 09:56
best video + audio format in Youtube-dl

youtube-dl -f 299+140 "url"

@g-rohit
g-rohit / wget.md
Created January 13, 2020 09:38
wget commands

wget -r -np -k --user-agent="_" "URL Here"

@g-rohit
g-rohit / OpenDirectories on Google.md
Created January 13, 2020 04:55
Manually Searching OpenDirectories on Google

For videos/movies/tvshows :

intext:"Search Term" intitle:"index.of" +(wmv|mpg|avi|mp4|mkv|mov) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)

For Images :

intext:"Search Term" intitle:"index.of./" (bmp|gif|jpg|png|psd|tif|tiff) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)

For Music:

intext:"Search Term" intitle:"index.of./" (ac3|flac|m4a|mp3|ogg|wav|wma) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)

@g-rohit
g-rohit / remove-git-sub-module.md
Created December 27, 2019 19:07
remove git sub module or grayed out folder

This is the solution:

git rm --cached (folderNameHere)