Skip to content

Instantly share code, notes, and snippets.

View moorthi07's full-sized avatar

PV moorthi07

View GitHub Profile
@moorthi07
moorthi07 / Package installs on mac
Last active May 12, 2021 00:57
Package installs on mac
#Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
1 node
2 npm
3 git clone https://github.com/moorthi07/Chevakan.git
4 git clone https://github.com/moorthi07/Chevakan.git
5 git clone https://github.com/moorthi07/aibot-react-starter-package.git
6 ssh-keygen -f ~/.ssh/jenkins_agent_key
7 /Users/indo-mars/.ssh/jenkins_agent_key
@moorthi07
moorthi07 / gist:02d724f53e16f51bbbb898f361e7d58e
Created September 6, 2021 02:34
Difference between Chrome devtool vs Firefox devetool
Chrome:
d.js:111 GET https://https/ef.com//api/p_search?query=cat net::ERR_NAME_NOT_RESOLVED
get @ sed.js:111
psearch @ sharedLogic-stripped.js:150
onclick @ create:304
create:1 Uncaught (in promise) TypeError: Failed to fetch
Promise.then (async)
get @ ed.js:119
psearch @ d.js:150
onclick @ create:304
/*
* Test Code For Hoverboard with this firmware:
* https://github.com/p-h-a-i-l/hoverboard-firmware-hack
*
* Connect the PPM Receiver Data Pin to Arduino Pin 3
* And set the Amount of channels of the PPM Receiver.
* this code uses the Arduino Hardware serial.
*
*/
@moorthi07
moorthi07 / Harness RepositoryApi access.txt
Last active May 21, 2025 00:13
Harness RepositoryApi access
import { RepositoryApi } from './api/repositoryApi';
import * as fs from 'fs';
import * as path from 'path';
async function pushFolderToRepo(
repoRef: string,
folderPath: string,
basePath: string,
accessToken: string
@moorthi07
moorthi07 / plugsocket scrapper
Created June 15, 2025 18:02
plugsocket scrapper
import os
import requests
from bs4 import BeautifulSoup
def bing_image_scraper(query, download_path='outlet_images', num_images=50):
headers = {"User-Agent": "Mozilla/5.0"}
query = '+'.join(query.split())
url = f"https://www.bing.com/images/search?q={query}&form=HDRSC2"
if not os.path.exists(download_path):