Menu

How to change the boarding station- IRCTC ticket

IRCTC portal has recently change their website look and feel. Earlier it was easy to select a different boarding station, if you are booking your ticket from station other than the boarding station. Some people are assuming this feature has been removed from http://irctc.co.in/ portal, but no, this service is still there just the appearance of the option has been changed.
There are two way to change the boarding station or boarding point of your journey.

1. While booking the ticket

When you select your itinerary and reach to fill the passenger information, on that same page right hand side along with journey information we have option to change the boarding station. You have to just click on the red text "Change Boarding Station?" and a new window will popup which will give you option to select your boarding point. Please refer the below screen shots. 
How to change boarding station IRCTC
How to change boarding station
Change Boarding Station option IRCTC
Change Boarding Station option IRCTC
choose your new boarding station IRCTC
choose your new boarding station

2. After ticket booking has been confirmed

After successfully bokking your ticket you may also change your boarding point or boarding station. To do so, go to my account >> my transactions >> booked ticket history select or click on the ticket for which you  wants to change the boarding point. Now click on Change boarding point option at the bottom of the ticket. Below is the screen shot for reference.
Change boarding point for a booked ticket. IRCTC
Change boarding point for a booked ticket.

Getting forbidden response for AEM login page

If  you are facing problem to access the AEM login page; /libs/granite/core/content/login.html and getting HTTPERROR 403, FORBIDDEN and in log you are getting below error message. Its means somehow you have updated the SlingAuthenticator configuration.

*INFO* [0:0:0:0:0:0:0:1 [1402592178132] GET / HTTP/1.1] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials
*INFO* [0:0:0:0:0:0:0:1 [1402592178132] GET / HTTP/1.1] org.apache.sling.auth.core.impl.SlingAuthenticator handleLoginFailure: Unable to authenticate anonymous user: Login Failure: all modules ignored

AEM login page forbidden error, http error 403
AEM login page forbidden

Resolution:


Step 1: Under the configuration "Apache Sling Authentication Serviceverify the entry of login page in property Authentication Requirements (sling.auth.requirements) set with minus symbol [-/libs/granite/core/content/login]. If you found the correct entry then check the second step.

Step 2: We have another property sling.auth.anonymous.user under the same configuration. Somehow this property has been updated hence system is unable to open the login page which should be accessible to anonymous user. 

Explanation of sling.auth.anonymous.user property; it defines which user name to assume for anonymous requests, that is requests not providing credentials supported by any of the registered authentication handlers. If this property is missing or empty, the default is assumed which depends on the resource provider(s). Otherwise anonymous requests are handled with this user name. If the configured user name does not exist or is not allowed to access the resource data, anonymous requests may still be blocked. If anonymous access is not allowed, this property is ignored.



To fix this issue, go to AEM config manager [/system/console/configMgr] and search for "Apache Sling Authentication Service" or go directly using this link in your local AEM instance 
http://localhost:4502/system/console/configMgr/org.apache.sling.engine.impl.auth.SlingAuthenticator

But since, we are unable to login into the AEM, and without login we cant access the felix console(config manager). Hence we will upadte the config from crx-quickstart repository. The same config file we will find in our crx-quickstart folder under directory launchpad
\crx-quickstart\launchpad\config\org\apache\sling\engine\impl\auth
in this file if you see there is some value assign to property sling.auth.anonymous.user then make it empty like sling.auth.anonymous.user=""

Sample SlingAuthenticator.config file



La Ilaha Illallah

Khudi ka sirr-e-nihan la-ilaha-illallah 
Khudi hai tegh fasan la-ilaha-illallah 

ye daur apne barahim ki talash mein hai 
sanam-kada hai jahan la-ilaha-illallah 

kiya hai tu ne mata-e-ghurur ka sauda 
fareb-e-sud-o-ziyan la-ilaha-illallah 

ye mal-o-daulat-e-duniya ye rishta o paiwand 
butan-e-wahm-o-guman la-ilaha-illallah 

Khirad hui hai zaman o makan ki zunnari 
na hai zaman na makan la-ilaha-illallah 

ye naghma fasl-e-gul-o-lala ka nahin paband 
bahaar ho ki Khizan la-ilaha-illallah 

agarche but hain jamaat ki aastinon mein 
mujhe hai hukm-e-azan la-ilaha-illallah 

-----------------------------------------------

ख़ुदी का सिर्र-ए-निहाँ ला-इलाहा-इल्लल्लाह 
ख़ुदी है तेग़ फ़साँ ला-इलाहा-इल्लल्लाह 

ये दौर अपने बराहीम की तलाश में है 
सनम-कदा है जहाँ ला-इलाहा-इल्लल्लाह 

किया है तू ने मता-ए-ग़ुरूर का सौदा 
फ़रेब-ए-सूद-ओ-ज़ियाँ ला-इलाहा-इल्लल्लाह 

ये माल-ओ-दौलत-ए-दुनिया ये रिश्ता ओ पैवंद 
बुतान-ए-वहम-ओ-गुमाँ ला-इलाहा-इल्लल्लाह 

ख़िरद हुई है ज़मान ओ मकाँ की ज़ुन्नारी 
न है ज़माँ न मकाँ ला-इलाहा-इल्लल्लाह 

ये नग़्मा फ़स्ल-ए-गुल-ओ-लाला का नहीं पाबंद 
बहार हो कि ख़िज़ाँ ला-इलाहा-इल्लल्लाह 

अगरचे बुत हैं जमाअत की आस्तीनों में 
मुझे है हुक्म-ए-अज़ाँ ला-इलाहा-इल्लल्लाह 

----------------------------------------------------------

خودی کا سر نہاں لا الہ الا اللہ 
خودی ہے تیغ فساں لا الہ الا اللہ 


یہ دور اپنے براہیم کی تلاش میں ہے 

صنم کدہ ہے جہاں لا الہ الا اللہ 


کیا ہے تو نے متاع غرور کا سودا 

فریب سود و زیاں لا الہ الا اللہ 


یہ مال و دولت دنیا یہ رشتہ و پیوند 

بتان وھم و گماں لا الہ الا اللہ 


خرد ہوئی ہے زمان و مکاں کی زناری 

نہ ہے زماں نہ مکاں لا الہ الا اللہ 


یہ نغمہ فصل گل و لالہ کا نہیں پابند 

بہار ہو کہ خزاں لا الہ الا اللہ 


اگرچہ بت ہیں جماعت کی آستینوں میں 

مجھے ہے حکم اذاں لا الہ الا اللہ 

How to delete commits from a branch in Git?

Checkout the branch. e.g we are working here with development branch
$ git checkout development

Go to the commits list and copy the commit id till where you want to remove the commits from branch. then run git reset --hard to delete the all commits above or after that commit id. e.g. commit id is "c9709eb155e18e2eb12e38bf
$ git reset --hard c9709eb155e18e2eb12e38bf

You will got a success message saying "HEAD is now at <commitid> <commit message>". It means your reset is successful.

Now run the git push to push the commit till this commit id to your branch.
$ git push origin development --force


Related Articles:

How to cherry pick in Git 

Error during replication of ReplicationAction | AEM to Demandware

Error during content replication from Adobe experience manager(AEM) to Demandware. If you are seeing this error logged in AEM error.log file or demandware replication agent log, then it means credential configured in configuration Demandware TransportHandler Plugin for WebDAV to transport the data and content from AEM to Demandware is not valid.

*ERROR* [sling-threadpool-a430ddf1-339b-4140-b796-18d2fc7b5a66-(apache-sling-job-thread-pool)-7-com_day_cq_replication_job_demandware(com/day/cq/replication/job/demandware)] com.day.cq.replication.Agent.demandware Error during replication of ReplicationAction{type=ACTIVATE, path[0]='/content/dam/website/content/january/sample_image_winter.jpg', time=1578013615072, userId='rashidjorvee@jorvee.com', revision='null'}: com.day.cq.replication.ReplicationException: com.github.sardine.impl.SardineException: Unexpected response (401 )
03.01.2020 01:07:56.111 *INFO* [sling-threadpool-a430ddf1-339b-4140-b796-18d2fc7b5a66-(apache-sling-job-thread-pool)-7-com_day_cq_replication_job_demandware(com/day/cq/replication/job/demandware)] com.day.cq.replication.Agent.demandware.queue Job for agent demandware processed in 281ms. Failed.

com.day.cq.replication.ReplicationException: com.github.sardine.impl.SardineException: Unexpected response (401 )

Solution:

This error you seeing because of bad WebDev credential. Check the configured WebDev login credential under AEM config manager (http://localhost:4502/system/console/configMgr)   in configuration Demandware TransportHandler Plugin for WebDAV

Demandware TransportHandler Plugin for WebDAV
Demandware TransportHandler Plugin for WebDAV


If you think your credential in valid then please try login directly on the Demanware instance URL with configured credential to verify the credential is valid and working.

Reference:

Enable less secure app access to your google account

If you are trying to configure SMTP mailing service using gmail.smtp and you are getting following errors "Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
--OR--
ERROR 20952 --- [         task-1] .a.i.SimpleAsyncUncaughtExceptionHandler : Unexpected exception occurred invoking async method: public void jorvee.service.EmailService.sendEmail(org.springframework.mail.SimpleMailMessage)
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8  https://support.google.com/mail/?p=BadCredentials 200sm76430073pfz.121 - gsmtp
--OR--

ERROR 18335 --- [ task-2] .a.i.SimpleAsyncUncaughtExceptionHandler : Unexpected exception occurred invoking async method: public void jobtrees.service.EmailService.sendEmail(org.springframework.mail.SimpleMailMessage)
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbt
534-5.7.14 Learn more at
534-5.7.14 iC05HX07ZqNpOxwZG97A23wm3QihO6_1fPH781vcxEhWSCrdIXgikYN2holt0u2YZ2l2x 534-5.7.14 cX53zAOHNGSHJJAD7TrXgKGpWv_tg8wup1K7B79BdL0ZrQNJLj7SjTi-qZiwLQur> 534-5.7.14 Please log in via your web browser and then try again.
534 5.7.14 https://support.google.com/mail/answer/78754 m20sm22192035qkk.15 - gsmtp

although, your configuration are valid and correct, then, because of following reason you are facing this issue.

Your account is secured, and doesn't allow less secure applications to access.

By default Less secure app access is disabled in the google account. If you will enable this then it will fix your problem.
To enable the less secure app access in your google account, follow the below steps.
Step 1: Login to your google account.

Step 3: Under the section Less secure apps & your Google Account, expand option If "Less secure app access" is off for your account  or directly go to https://myaccount.google.com/lesssecureapps?pli=1

Step 4: Click on the turn it back on, this will redirect you to a new page.
Less secure apps & your Google Account
Less secure apps & your Google Account 

Step 5: See Allow less secure apps: status and; if this is OFF then ON it.
Allow less secure apps: ON
Allow less secure apps: ON
Step 6: Now go to Account access enabled page https://accounts.google.com/b/0/DisplayUnlockCaptcha  and enable this access.

References:



Unconstitutional CAA

Parliament of India has passed the citizenship amendment bill, which talks about give citizenship to immigrants based on religion. Migrants who are following the religions Hindu, Sikh, Christian, Parsi, and Jain will become citizens of India without any application and document.

Billions of people are protesting in the streets in Indian cities and villages against this bill which now became an act after successfully passing the bill in both the houses of parliaments. This act is unconstitutional and against the constitution of India, and a direct violation of Articles 14 and 21 of the Indian constitution.

Citizenship Amendment Act 2019

We the people of India are not against the immigrant and migrants who are getting citizenship in India under Citizenship Amendment Act 2019. We the people of India are against the following and this is why we are protesting:

This act is unconstitutional and directly destroying the fundamental rights of Indian constitution. Article 14 of Indian constitution says; The State shall not deny to any person equality before the law or the equal protection of the laws within the territory of India. Every individual in territory of India is equal.

Changes in existing Citizenship Act under Citizenship Amendment Act 2019.

Amendment of section 2 of Citizenship Act, 1955.
"Provided that any person belonging to Hindu, Sikh, Buddhist, Jain, Parsi or Christian community from Afghanistan, Bangladesh or Pakistan, who entered into India on or before the 31st day of December, 2014 and who has been exempted by the Central Government by or under clause (c) of sub-section (2) of section 3 of the Passport (Entry into India) Act, 1920 or from the application of the provisions of the Foreigners Act, 1946 or any rule or order made thereunder, shall not be treated as illegal migrant for the purposes of this Act;".
Above amendment in section 2 is completely discriminating human based on their faith. Why government of India only approving people belongs to six religions and three states and ignored the people from other than those nations and faiths?

After this act government of India is planning to implement nationwide National Register of Citizens(NRC). What is the intention behind doing NRC in whole India(on 130 million peoples)? If somehow a person who is living in India from hundreds of years unable to prove his/her citizenship then what will happen? Does he/she declared illegal immigrants and government will put them in detention center? 
Let me tell you what will happen, because of new amendment in Citizenship Act , people belong to those six religion(Hindu, Sikh, Buddhist, Jain, Parsi or Christian) will get the citizenship of India without any documentation and proof. But what will happen to people who not belongs to these community? What will happen to a person who believe in Islam or any other religion? Are they all going to detain?
At one side you are saying we have sympathy to migrant people, but don't you have sympathy to civilians of India? If govt of India is responsible to prepare and make the documents for migrants then govt of India should also take the responsibility to prepare the document of those people who are unable to proof their citizenship, but it will not.

We have an example of a small state Assam; where NRC has been implemented seven years ago. 1.9 million people from a small state Assam declared illegal immigrants. among them 14 lakh are Hindus and 5 lakh are Muslims. What govt has achieved till now? 28 death inside the detention centers and hundred death outside due to shock, lakh of people mentally tortured unable to live their life. Thousand of people sold their property to pay the lawyers to appeal their cases in High court to get the citizenship and many more.    

Our demand is to either revoke or scrap this act or include every migrant groups without any discrimination on the basis of origin, faith, color and race. Also we the people of India will not prove our citizenship to a government who was elected by same citizens. These the things are null and invalid, just only to waste the time of people of India so they can't get the time to think on basics and fundamental things, which are expected from government. like development, jobs, infrastructure, peace, inflation, and scams.

#IndiaAgainstCAA_NRC #CAAProtests #IndiaDoesNotSupportCAA

Amendment Act 2019 document: http://egazette.nic.in/WriteReadData/2019/214646.pdf


मुसलमान | देवी प्रसाद मिश्र

कहते हैं वे विपत्ति की तरह आए
कहते हैं वे प्रदूषण की तरह फैले
वे व्याधि थे

ब्राह्मण कहते थे वे मलेच्छ थे

वे मुसलमान थे

उन्होंने अपने घोड़े सिन्धु में उतारे
और पुकारते रहे हिन्दू! हिन्दू!! हिन्दू!!!

बड़ी जाति को उन्होंने बड़ा नाम दिया
नदी का नाम दिया

वे हर गहरी और अविरल नदी को
पार करना चाहते थे

वे मुसलमान थे लेकिन वे भी
यदि कबीर की समझदारी का सहारा लिया जाए तो
हिन्दुओं की तरह पैदा होते थे

उनके पास बड़ी-बड़ी कहानियाँ थीं
चलने की
ठहरने की
पिटने की
और मृत्यु की

प्रतिपक्षी के ख़ून में घुटनों तक
और अपने ख़ून में कन्धों तक
वे डूबे होते थे
उनकी मुट्ठियों में घोड़ों की लगामें
और म्यानों में सभ्यता के
नक्शे होते थे

न! मृत्यु के लिए नहीं
वे मृत्यु के लिए युद्ध नहीं लड़ते थे

वे मुसलमान थे

वे फ़ारस से आए
तूरान से आए
समरकन्द, फ़रग़ना, सीस्तान से आए
तुर्किस्तान से आए

वे बहुत दूर से आए
फिर भी वे पृथ्वी के ही कुछ हिस्सों से आए
वे आए क्योंकि वे आ सकते थे

वे मुसलमान थे

वे मुसलमान थे कि या ख़ुदा उनकी शक्लें
आदमियों से मिलती थीं हूबहू
हूबहू

वे महत्त्वपूर्ण अप्रवासी थे
क्योंकि उनके पास दुख की स्मृतियाँ थीं

वे घोड़ों के साथ सोते थे
और चट्टानों पर वीर्य बिख़ेर देते थे
निर्माण के लिए वे बेचैन थे

वे मुसलमान थे

यदि सच को सच की तरह कहा जा सकता है
तो सच को सच की तरह सुना जाना चाहिए

कि वे प्रायः इस तरह होते थे
कि प्रायः पता ही नहीं लगता था
कि वे मुसलमान थे या नहीं थे

वे मुसलमान थे

वे न होते तो लखनऊ न होता
आधा इलाहाबाद न होता
मेहराबें न होतीं, गुम्बद न होता
आदाब न होता

मीर मक़दूम मोमिन न होते
शबाना न होती

वे न होते तो उपमहाद्वीप के संगीत को सुननेवाला ख़ुसरो न होता
वे न होते तो पूरे देश के गुस्से से बेचैन होनेवाला कबीर न होता
वे न होते तो भारतीय उपमहाद्वीप के दुख को कहनेवाला ग़ालिब न होता

मुसलमान न होते तो अट्ठारह सौ सत्तावन न होता

वे थे तो चचा हसन थे
वे थे तो पतंगों से रंगीन होते आसमान थे
वे मुसलमान थे

वे मुसलमान थे और हिन्दुस्तान में थे
और उनके रिश्तेदार पाकिस्तान में थे

वे सोचते थे कि काश वे एक बार पाकिस्तान जा सकते
वे सोचते थे और सोचकर डरते थे

इमरान ख़ान को देखकर वे ख़ुश होते थे
वे ख़ुश होते थे और ख़ुश होकर डरते थे

वे जितना पी०ए०सी० के सिपाही से डरते थे
उतना ही राम से
वे मुरादाबाद से डरते थे
वे मेरठ से डरते थे
वे भागलपुर से डरते थे
वे अकड़ते थे लेकिन डरते थे

वे पवित्र रंगों से डरते थे
वे अपने मुसलमान होने से डरते थे

वे फ़िलीस्तीनी नहीं थे लेकिन अपने घर को लेकर घर में
देश को लेकर देश में
ख़ुद को लेकर आश्वस्त नहीं थे

वे उखड़ा-उखड़ा राग-द्वेष थे
वे मुसलमान थे

वे कपड़े बुनते थे
वे कपड़े सिलते थे
वे ताले बनाते थे
वे बक्से बनाते थे
उनके श्रम की आवाज़ें
पूरे शहर में गूँजती रहती थीं

वे शहर के बाहर रहते थे

वे मुसलमान थे लेकिन दमिश्क उनका शहर नहीं था
वे मुसलमान थे अरब का पैट्रोल उनका नहीं था
वे दज़ला का नहीं यमुना का पानी पीते थे

वे मुसलमान थे

वे मुसलमान थे इसलिए बचके निकलते थे
वे मुसलमान थे इसलिए कुछ कहते थे तो हिचकते थे
देश के ज़्यादातर अख़बार यह कहते थे
कि मुसलमान के कारण ही कर्फ़्यू लगते हैं
कर्फ़्यू लगते थे और एक के बाद दूसरे हादसे की
ख़बरें आती थीं

उनकी औरतें
बिना दहाड़ मारे पछाड़ें खाती थीं
बच्चे दीवारों से चिपके रहते थे
वे मुसलमान थे

वे मुसलमान थे इसलिए
जंग लगे तालों की तरह वे खुलते नहीं थे

वे अगर पाँच बार नमाज़ पढ़ते थे
तो उससे कई गुना ज़्यादा बार
सिर पटकते थे
वे मुसलमान थे

वे पूछना चाहते थे कि इस लालकिले का हम क्या करें
वे पूछना चाहते थे कि इस हुमायूं के मक़बरे का हम क्या करें
हम क्या करें इस मस्जिद का जिसका नाम
कुव्वत-उल-इस्लाम है
इस्लाम की ताक़त है

अदरक की तरह वे बहुत कड़वे थे
वे मुसलमान थे

वे सोचते थे कि कहीं और चले जाएँ
लेकिन नहीं जा सकते थे
वे सोचते थे यहीं रह जाएँ
तो नहीं रह सकते थे
वे आधा जिबह बकरे की तरह तकलीफ़ के झटके महसूस करते थे

वे मुसलमान थे इसलिए
तूफ़ान में फँसे जहाज़ के मुसाफ़िरों की तरह
एक दूसरे को भींचे रहते थे

कुछ लोगों ने यह बहस चलाई थी कि
उन्हें फेंका जाए तो
किस समुद्र में फेंका जाए
बहस यह थी
कि उन्हें धकेला जाए
तो किस पहाड़ से धकेला जाए

वे मुसलमान थे लेकिन वे चींटियाँ नहीं थे
वे मुसलमान थे वे चूजे नहीं थे

सावधान!
सिन्धु के दक्षिण में
सैंकड़ों सालों की नागरिकता के बाद
मिट्टी के ढेले नहीं थे वे

वे चट्टान और ऊन की तरह सच थे
वे सिन्धु और हिन्दुकुश की तरह सच थे
सच को जिस तरह भी समझा जा सकता हो
उस तरह वे सच थे
वे सभ्यता का अनिवार्य नियम थे
वे मुसलमान थे अफ़वाह नहीं थे

वे मुसलमान थे
वे मुसलमान थे
वे मुसलमान थे

-- देवी प्रसाद मिश्र