Showing posts with label Account. Show all posts
Showing posts with label Account. Show all posts

April 29, 2022

Publish and Consume NPM Packages using GitHub Package Manager

 Hi folks,

We are used to publishing the npm packages on npmjs.com. Today, I will show how we can publish the npm packages to GitHub and the steps to use those packages.

1. Publishing Packages

Prerequisites

We need to have an account with GitHub

JavaScript native/framework based project with package.json

Add the .npmrc file to your project with the following syntax. Change the OWNER value to your GitHub account or organization name.

@OWNER:registry=https://npm.pkg.github.com

Publishing Process to GitHub

Create personal access token using the following steps

  • Login to GitHub
  • Go to Settings
  • Navigate to "Developer Settings" -> "personal access tokens"
  • Generate token with write:packages access permissions

  • Open terminal in the project folder
  • Execute the command to login
  • npm login --scope=@OWNER --registry=https://npm.pkg.github.com
  • When prompted,
    • Username: GitHub username
    • Password: Personal access token
    • Public e-mail: Your email address
  • Enter the following command to publish the package
  • npm publish

2. Consume/Installing the packages

Prerequisites

We need to have an account with GitHub

Installation

Add the .npmrc file to your project with the following syntax. Change the OWNER value to your GitHub author or organization name.

@OWNER:registry=https://npm.pkg.github.com

Enter the full name @OWNER/package-name-version in dependencies in package.json
Install the dependencies
npm install

Note: If the organization is asking for authorization of personal access token, then you need to authorize from the personal access token section against the token for the respective organization.

Hope you will make use of GitHub for publishing the packages and consuming them with ease.

Request you to send your feedback and comments to psrdotcom@gmail.com

February 20, 2017

Consolidate / Merge all your PF accounts

Hi friends,

Today, I have come across one useful website which consolidates all your PF accounts under one roof.

Pre-requisite


  1. You should have one active and current PF account
  2. You should have UAN created and activated
  3. You should have your old PF account numbers

Important Information

If you have changed organization, then wait till the previous employer update your "Date of Exit (DoE)"
After that your current employer details should be available
To verify that, please login to your UAN services account
https://unifiedportal-mem.epfindia.gov.in/memberinterface/
Go to "View" -> "Service History"
You should be able to see your present and previous employers
Note: You wait for atleast 3 months, after you exit from your previous organization

Procedure


  1. Visit http://oeoea.epfoservices.com/UANDEDUP/index.jsp site
  2. Enter your registered mobile number
  3. Enter your UAN number
  4. Enter your current active PF account
  5. Once you login, you should be able to view your all registered and linked PF accounts
  6. Consolidate all PF accounts by selecting and further processing


Please send your comments and feedback to psrdotcom@gmail.com

November 24, 2016

Get MMID of your Citi Bank Account

Hi all,

Today, I would like to share how to get MMID of your Citi bank account.

Send SMS to 52484 in the below format from your registered mobile number

MMID XXXX

Note: XXXX is your Citi bank debit card last 4 digits

Ex: MMID 1234 to 52484 where 1234 is your Citi bank debit card last 4 digits

Please send your comments and feedback to psrdotcom@gmail.com

January 06, 2012

Create custom mozilla firefox profile with browser settings customization in Ubuntu and Windows

Hi all,

Today I have customized my mozilla firefox browser with custom settings by creating my own profile in my user account.

Follow these steps in creating the custom profile for firefox in Ubuntu
  1. Open terminal (Keyboard Shortcut Key: Ctrl+Alt+t)
  2. Change the directory to mozilla preferences directory for user
    • $ cd ~/.mozilla/firefox
  3. Create a new directory yourname.default
    • ~/.mozilla/firefox$ mkdir psr.default
  4. Open the existing profiles.ini file
    • ~/.mozilla/firefox$ gedit profiles.ini &
  5. Replace the Path variable with the following
    • Path=psr.default
  6. Save and close the profiles.ini file
  7. Change the directory to psr.default
    • ~/.mozilla/firefox$ cd psr.default
  8. Create a user.js file
    • ~/.mozilla/firefox/psr.default$ gedit user.js &
  9. Edit the all possible settings by following the references, which are listed down
  10. For Windows Operating System mozilla firefox browser customization, you can follow this link http://www.pcc-services.com/kixtart/firefox-lockdown.html

References:http://www-archive.mozilla.org/unix/customizing.html#prefs
http://thegoldenear.org/toolbox/windows/docs/mozilla-pre-config.html
http://www.pcc-services.com/kixtart/firefox-lockdown.html
http://www.eng.uwaterloo.ca/twiki/bin/view/Linux/FirefoxLockdown

If you have any queries, please write to psrdotcom@gmail.com

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com