Skip to content

Instantly share code, notes, and snippets.

Avatar
🌐
Focusing

NIJO GEORGE PAYYAPPILLY nijogeorgep

🌐
Focusing
View GitHub Profile
@nijogeorgep
nijogeorgep / myscript.sh
Created Oct 15, 2020 — forked from bradtraversy/myscript.sh
Basic Shell Scripting
View myscript.sh
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
View keybase.md

Keybase proof

I hereby claim:

  • I am nijogeorgep on github.
  • I am npayyappilly (https://keybase.io/npayyappilly) on keybase.
  • I have a public key ASB6_92Ys1clfCbl_D_v_qmHusR9cGN8yVZwSJkwLKceUwo

To claim this, I am signing this object:

@nijogeorgep
nijogeorgep / Null Checks and Empty Checks on Objects
Last active Jan 21, 2019
Null Checks and Empty Checks on Objects
View Null Checks and Empty Checks on Objects
class util {
/**
* This method returns true if the collection is null or is empty.
* @param collection
* @return true | false
*/
public static boolean isEmpty( Collection<?> collection ){
if( collection == null || collection.isEmpty() ){
return true;
}
@nijogeorgep
nijogeorgep / Proxy Config for NPM
Created Jan 17, 2019
Configure Proxy for NPM
View Proxy Config for NPM
Usually developers face issues for downloading npm packages while they work behind proxy the below solution can fix their problems if they configure it properly
> npm config set strict-ssl false
> npm config set https-proxy http://<username>:<password>@proxy.[Company Name].com:[Port]
use the above commands to set proxy for NPM
To Verify the proxy settings for NPM
1. open .npmrc file from the users home folder and check whether an entry got created in it.
View MongoDB in Windows.txt
==================================================================================================================
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/#configure-a-windows-service-for-mongodb-community-edition
mkdir c:\data\db
mkdir c:\data\log
----------------------------------------
mongod.cfg (Create At : C:\Program Files\MongoDB\Server\3.6)
----------------------------------------
systemLog: