Monday, May 30, 2022

How to register in PM Cares for Children and details of the scheme

 

The PM CARES for Children Scheme was launched by The Hon'ble Prime Minister of India on 29th May 2021 for the Children. It aims to support children who have lost both the Parents or legal Guardian or Adoptive Parents or Surviving Parent to COVID-19 pandemic during the period starting from 11th March 2020. The objective of the Scheme is to ensure comprehensive care and protection of Children in a sustained manner, and enable their well being through health insurance, empower them through education and equip them for self-sufficient existence with financial support on reaching 23 years of age..

Benefits under the scheme for children-

  • Financial Support - Amount of Rs 10 lakh for all children
  • Support for boarding & Lodging - Rehabilitation of all children
  • Assistance for School Education - Admission in schools
  • Assistance for Higher Education - Educational loans for higher education
  • Health Insurance - Health insurance cover of Rs 5 lakhs
  • Scholarship - Rs 20,000 for all school going children 
To register a child click on the link below

https://pmcaresforchildren.in/registerchild


Monday, April 18, 2022

docker: error during connect: This error may indicate that the docker daemon is not running.: Post “http://docker_engine/v1.24/containers/create”: open //./pipe/docker_engine: The system cannot find the file specified.

If you run into this problem, just follow below steps-


1. Remove Docker from “Add or remove programs”

2. Restart your computer

3. Install Docker as Administrator (by right click on installer and select run as administrator"

you should be able to run docker now

-docker version  

C:\Users\gupta>docker version
Client:
 Cloud integration: v1.0.23
 Version:           20.10.14
 API version:       1.41
 Go version:        go1.16.15
 Git commit:        a224086
 Built:             Thu Mar 24 01:53:11 2022
 OS/Arch:           windows/amd64
 Context:           default
 Experimental:      true
Server: Docker Desktop 4.7.0 (77141)
 Engine:
  Version:          20.10.14
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.15
  Git commit:       87a90dc
  Built:            Thu Mar 24 01:46:14 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.5.11
  GitCommit:        3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc:
  Version:          1.0.3
  GitCommit:        v1.0.3-0-gf46b6ba
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Error: 0x800701bc WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel code example

 

This is the error received during docker startup

Solution:

Download and run msi package https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi



Wednesday, August 26, 2020

Best Practices for data migration


The right tool for the job
✓ #1: Know your data
✓ #2: Migrate VMs with CloudEndure
✓ #3: Migrate databases with DMS
Planning your migration
✓ #4: Understand available bandwidth
✓ #5: Assess operational impact of
migration
✓ #6: Know your data profile
✓ #7: Scale out as needed
✓ #8: Consider the data source
Transferring data
✓ #9: Preserving metadata
✓ #10: Validate your assumptions
✓ Bonus #11: Verify data transfer 


Ref: https://pages.awscloud.com/Top-10-Data-Migration-Best-Practices_2020_0124-STG_OD.html

Sunday, August 23, 2020

Differences between SOA and microservices

 There are many differences between SOA and microservices that determine the use case each is suitable for:

Bibliography:

https://www.talend.com/resources/microservices-vs-soa/

 

Microservices

SOA

Architecture

Designed to host services which can function independently

Designed to share resources across services

Component sharing

Typically does not involve component sharing 

Frequently involves component sharing

Granularity

Fine-grained services

Larger, more modular services

Data storage

Each service can have an independent data storage

Involves sharing data storage between services

Governance

Requires collaboration between teams

Common governance protocols across teams 

Size and scope

Better for smaller and web-based applications

Better for large scale integrations

Communication

Communicates through an API layer

Communicates through an ESB

Coupling and cohesion

Relies on bounded context for coupling

Relies on sharing resources

Remote services

Uses REST and JMS

Uses protocols like SOAP and AMQP

Deployment

Quick and easy deployment

Less flexibility in deployment

Thursday, December 22, 2016

How to setup embedded Apache DS with Spring boot

follow this url
https://spring.io/guides/gs/authenticating-ldap/#scratch


if you are getting error in ldif file not getting loaded
Error is  getting error Caused by: java.lang.RuntimeException: Failed to import LDIF file(s)

.ldapAuthentication().userDnPatterns("uid={0},ou=people").groupSearchBase("ou=groups").
.contextSource().ldif("classpath:test-server.ldif");

try

.ldif("file:test-server.ldif")

Friday, June 26, 2015

Do not install Glossary module in Drupal 7

Glossary Module (https://www.drupal.org/project/glossary)  is still in dev stage for Drupal 7. So , until you know PHP very well and can debug the issue don't install it

Monday, June 8, 2015

How to install new module in Drupal 7


1. Go to http://localhost/drupal7/admin/modules
2. Click on  Install new module
3.  Browse to the Zip location of the downloaded module
4. Click on Install.
5. Click on Enable new module
6. Now check the box infront of the module.
7. Click on "Save Configuraions"

New Module is installed
 

Thursday, June 4, 2015

Jaipur Metro Master Plan - Map


JMRC Ltd
The Jaipur Metro Rail Corporation Ltd., abbreviated to JMRC, is a state-owned company[8] that operates the Jaipur Metro. The Jaipur Metro Rail Corporation Ltd. was created on January 1, 2010 with Nihal Chand Goel serving as the managing director.[9] Among the Rapid Transit systems of India, it has been recorded fastest to conduct of trial run after starting construction, when it commenced trial runs in Jaipur on 18 September 2013 flagged off by Ashok Gehlot, then the Chief Minister of Rajasthan. The trial run of Jaipur Metro on approximately 4 km track that is completed. For the trial run, the Metro train started from Mansarovar station, passed through New Aatish Market, Vivek Vihar and Shyam Nagar (outer) and returned to Mansarovar



 
Source http://en.wikipedia.org/wiki/Jaipur_Metro

Thursday, May 28, 2015

How to add password to PDF using Apache PDFBox


AccessPermission ap = new AccessPermission();
        ap.setCanModify(false);
StandardProtectionPolicy policy = new StandardProtectionPolicy(owners_pwd, users_pwd, ap);
doc.protect(policy);
 

Friday, April 24, 2015

Sukanya Samriddhi Scheme - Merits and Demerits

Benefits -
High Interest currently
• Rate of interest 9.2% Per Annum (w.e.f 1-4-2015),calculated on yearly basis ,Yearly compounded.

• A guardian can open only one account in the name of one girl child and maximum two accounts in the name of two different Girl children.

• Account can be opened up to age of 10 years only from the date of birth. For initial operations of Scheme, one year grace has been given. With the grace, Girl child who is born between 2.12.2003 &1.12.2004 can open account up to1.12.2015.

• Partial withdrawal, maximum up to 50% of balance standing at the end of the preceding financial year can be taken after Account holder’s attaining age of 18 years.
• If account is not closed after maturity, balance will continue to earn interest as specified for the scheme from time to time.

Disadvantages-
1. High interest rate not guaranteed for all years
2. Very long investment ( till child attend 21 years of age)
3. No Partial withdrawal . ( only after girl attend age of 18 )

So you can see how the government supports it in next 2-3 years and then think to invest.

VRL Logistics IPO Information

VRL Logistics IPO Information

Allotment ratio 2:9 (2 applicants likely to get 65 shares out of 9 applicants)

Refund 28-April-2015
Allotment 27-April-2015
Credit Shares 29-April-2015
Listing 30-April-2015

Tuesday, April 21, 2015

Hybris : Default username and passwords

admin/nimda
cmsmanager/1234

hybris Error- Could not reserve enough space for object hea‏p space

1. Go to \bin\platform\tomcat\conf
2. Open wrapper.conf
3. reduce values in –
wrapper.java.additional.1=-Xmx2G
wrapper.java.additional.2=-XX:MaxPermSize=300M

Monday, March 31, 2014

Saturday, February 8, 2014

Narendra Modi - BJP Supremo

Narendra Damodardas Modi , born 17 September 1950) is an Indian politician who has been the 14th Chief Minister of the state of Gujarat since 2001. He is a member of the Bharatiya Janata Party (BJP) and is the prime ministerial candidate of the BJP-led National Democratic Alliance for the upcoming 2014 Indian general elections.
Modi was a key strategist for the BJP in the successful 1995 and 1998 Gujarat state election campaigns, as well as a major campaign figure in the 2009 general elections won by the Indian National Congress.He first became chief minister of Gujarat in October 2001, being promoted to the office upon the resignation of his predecessor, Keshubhai Patel, following the defeat of BJP in by-elections. In July 2007, he became the longest-serving Chief Minister in Gujarat's history when he had been in power for 2,063 days continuously. He is currently in his fourth consecutive term as Chief Minister.
Modi is a member of the Rashtriya Swayamsevak Sangh (RSS) and is described as a Hindu nationalist by media, scholars and himself. He is a controversial figure both within India and internationally.His administration has been severely criticised for the incidents surrounding the 2002 Gujarat violence.He has been praised for his economic policies which are credited with creating the environment for the high rate of economic growth in Gujarat.However, his administration has also been criticised for failing to make a significant positive impact upon the human development of the state.

Src = http://en.wikipedia.org/wiki/Narendra_Modi

Tuesday, February 19, 2013

PPF Public Provident Fund

Returns
Interest 8.5% p.a. (compounded annually), for year 2013-2014 is credited to the PPF account at the end of each financial year.
Investment Limitation
Min Amount :Rs. 500/- and additional investment in multiples of Rs 5/-
Max Amount Rs. 1,00,000/-
Scheme Availability
A PPF account can be opened at anytime during the year. It is open all through the year.
Mode of Operation
Single
Joint (Two or more)
Minor with parent/guardian
An individual cannot invest on behalf of HUF (Hindu Undivided Family) or Association of persons.
.
Tenure of Investment
15 years from the date of initial investment with a block of 5 years there-after upto a max of 30 years incl. 15 years.
Nomination
Nomination can be done at the time of opening the account or during the tenor of the account
 
Maturity
The PPF account matures after 15 years. One can then exercise on option of continuing the account for an additional block of 5 years or close it.
 
Withdrawal
A withdrawl is permissible every year from the 7th financial year of the date of opening of the account, of an amount not exceeding 50% of the balance at the end of the 4th proceeding year or the year immediately proceeding the year of the withdrawal, whichever is lower, less the amount of loan if any.
Tax Benefits
Tax benefits can be availed under sections 88 for the amount invested. Interest accrued is Tax free.
Loans
The first loan can be taken in the 3rd financial year from the date of opening of the account, or upto 25% of the amount at credit at the end of the first financial year. The facility can be availed of any before expiry of 5 years from the end of the year in which the initial subscription was made. The loan is repayable either in lumpsum or in convenient installments numbering not more than 36. The rate of interest charged on loan taken by the subscriber of a PPF account on or after 01.12.2011 shall be 2% p.a. However, the rate of interest of 1% p.a. shall continue to be charged on the loans already taken or taken up to 30.11.2011.
 
 
Terms
Who can open a PPF account ?
A PPF account can be opened by an individual on his own behalf or on behalf of a minor of whom he is the guardian or on behalf of an association of persons or a body of individuals. An individual can open only one account for himself.
Nomination
A subscriber may nominate one or more persons to receive the amount standing to his credit in the event of his death. No nomination can, however, be made in respect of an account opened on behalf of a minor.
In the event of the death of the subscriber, the amount standing to his credit can be repaid to his nominee or legal heir, as the case may be, even before the expiry of fifteen years. Legal hairs can claim the amount upto Rupees One Lakh without production of succession certificate after observing certain formalities.
Transfer
The account can be transferred at the request of the subscriber from one office to another, including from Bank to Post Office and vice- versa all over the country.
 
Payment Default
If the PPF account-holder fails to deposit the minimum Rs 500 in a given financial year, the account is considered as discontinued but the interest will continue to accrue and be paid at the end of the term. Loans and withdrawals are not allowed. This account can be revived on payment of a fee of Rs 50 for each year of default, along with the arrears of subscription of Rs 500 for each such year
Termination of an Account
No PPF account can be terminated before its completion. However, if requests for premature closure of PPF accounts and refund of deposits from the subscribers are genuine in nature, such cases can be dealt with under Rule 13 of the scheme.
Since no withdrawal is permissible before the expiry of four years from the end of the year in which the account was opened vide para 9 (withdrawal) of the scheme, the request for termination or closure of accounts can be considered only after the expiry of the said period.
For example, the request for premature closure of accounts opened in 1988-89 can be considered only after 1.4.1994.
Such requests may, therefore, be forwarded to the Ministry of Finance alongwith the following information -
Name and address of the account holder
Account number
Date on which the account was opened
Loans availed of if any from the account with dates and position regarding repayment
Satisfactory reasons given for the request and evidence in support thereof
Designation and address of the income tax authority under whose jurisdiction the subscriber falls
Any other information relevant to the request.
PPF for NRIs
Non Resident Indians may also open a PPF account out of the funds in the applicant's non-resident account in India in banks subject to the following conditions -
The account is marked as non-resident account
All credits therein or debits thereto are made subject to the same regulations as are applicable to non-resident account.
Free from any Attachment
A PPF account is free from any attachment under any order or decree of a court in respect of any debt or other liability incurred by him

Monday, December 3, 2012

City Union Bank Right Issue Subscription

City Union Bank's Right Issue Hard Copty Form will be sent by Second ( 2nd ) week of december to the mailing address of Shares holder.
Shares holder has been already determined ,( people who held shares on 23 Nov 2012).
We have to fill in and send it back to Karvy.
This has been confirmed by Karvy over email. Their email id is einward.ris@karvy.com

 

Saturday, December 1, 2012

Mobile Specific Routing in IBM WCS

Step 1:-
Crete a sub package com.ibm.commerce.foundation-ext

Step 2:-
Navigate to the WC_eardir/xml/config/com.ibm.commerce.foundation directory and copy the wc-devices.xml file into the extensions directory you created in the preceding step.

Step 3:-Add your devices to the wc-devices.xml extension file
(a) Open the new wc-devices.xml, located in your extensions directory.
(b) Replace the default device mappings with your own mappings
(c) Also add  your new devices

Step 4:-
For testing:-
When we try to test the above things with simulator .It won’t pick the Mobile Browser ID (User-Agent) Strings for the actual device.
It always picking a User-Agent value of that browser, on the browser we have opened a simulator.
For testing with simulator or normal browser we need to make a below entry in wc-devices.xml.
For Google Chrome:-
<_config:device name="Apple WebKit" useragentpattern=".*AppleWebKit/535.11.*">
<_config:device name="Apple WebKit1" useragentpattern="AppleWebKit/535.11">
Now browser will act as mobile device and siumulator will also work
For Internet explorer:-
<_config:device name="MSIE 9.0" useragerntpattern=".*MSIE 9.0.*">
Now internet browser will act as mobile device and simulator will also work
Best approach to print a user agent string for your browser on console and the add userAgentPattern accordingly
.Then same browser works as mobile device. We can use below code for the same
String userAgent= request.getHeader("User-Agent").
If value of userAgent comes  Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) then we can specify
userAgerntPattern=".*MSIE 9.0.*" as above
We can get details about Mobile Browser ID (User-Agent) Strings using below URL
http://www.zytrax.com/tech/web/mobile_ids.html