Skip to content

Instantly share code, notes, and snippets.

View AmitPhulera's full-sized avatar

Amit Phulera AmitPhulera

View GitHub Profile
@AmitPhulera
AmitPhulera / es_upgrade_steps.md
Last active September 25, 2023 05:47
Upgrade To ES 5

ES Upgrade Doc For Local Dev Systems

The ES 5 setup on local dev system is a two step process, first one being installing Elasticsearch 5 and then populating the indices with data.

Step 1) - Installing Elasticsearch 5

  • For folks running ES inside docker, installing elasticsearch is a straightforward process.
    ./scripts/docker stop elasticsearch2
    ./scripts/docker up -d elasticsearch5
    
@AmitPhulera
AmitPhulera / bomber.js
Created April 16, 2021 12:31
Message Bomber Script for Whatsapp Web
/*
## Steps to use
1) Open web.whatsapp.com
2) Select the contact whom you want to send these messages
3) Open console and paste this script.
4) You can tweak DELAY, TOTAL_MESSAGES and message as per your need ;)
*/
var DELAY = 1000 // in milliseconds
var TOTAL_MESSAGES = 100