How to redirect base url addresses to another base URL

Say you have http://abhinav.spsdarj.org/2017/12/how-to-redirect-base-url-addresses-to-another-base-url/ as a url on your old website (abhinav.spsdarj.org) and now you want the link to redirect to new website. Say abhinav.ga but the url following abhinav.ga should stay the same and when typing the old url, should magically redirect with rest of the link intact to the new website.

Here’s what you do. Go to the old site’s folder in your file manager, access the .htaccess and add this:

RewriteEngine on

RewriteCond %{HTTP_HOST} ^abhinav\.spsdarj\.org$ [OR]
RewriteCond %{HTTP_HOST} ^www\.abhinav\.spsdarj\.org$
RewriteRule ^(.*)$ "http\:\/\/blog\.abhinav\.ga\/$1" [R=301,L]

This supports multiple redirects.

Entrepreneur Stuff


9 years after starting my first biz in my mom’s basement, and 4 companies later – these are my biggest takeaways so far… from Entrepreneur

After raising over $360,000 on Indiegogo and creating a 7-figure business in less than 1 year – this is everything I learned about crowdfunding. from Entrepreneur

EMSK: Doors don’t close anywhere near as often as you think. from everymanshouldknow

How do IITians get a package of almost 1 crore?

How do IITians get a package of almost 1 crore? by Aman Goel

Answer by Aman Goel:

They don’t.

  1. The Facebook package you’ve heard of includes 4 years of stocks that are ‘one time’
  2. The base packages are low. In the range of 60–90 lakhs per annum
  3. The purchasing power parity is way different in India. If you are saving all of the money and sending back to India, then the story is different. However, this isn’t generally the case. For instance, a pizza in the US costs around $20. That’d be about Rs. 1,350. With Rs. 500 or so, you will get the best pizza in India. The $20 pizza in US will be just okayish. Typically, the real value of $1 is Rs 30. So, the $20 pizza above will cost Rs. 600 in India.
  4. Tax rates are high. In the US for instance, you need to pay 35% on your salary in California. If you are in San Francisco city, then you got to pay 5% additional city tax.

Some edits based on feedback from comments:

  • 60–90 lakhs IS low. 60–90 lakhs is NOT 60–90 lakhs. It is $100k – $120k. Don’t convert the money to INR when you won’t be spending it in INR.
  • Some have talked about the ‘real’ value of $1 in INR. I have used a value of Rs. 30 for $1. Some have suggested that the value is actually Rs. 15. That in fact makes matters worse because that means, Rs. 500 pizza will not cost $20, but will cost $30+. That’s expensive man!
  • There is a big opportunity cost of staying away from family. This holds particularly for Indians because we Indians tend to have a collectivistic society. This certainly won’t count in the ‘package’, but it does count overall.
  • Definitely the work life and the amount of cutting edge research going on is more in the US. But that won’t mean that nothing is going on in India.

Overall, there are pros and there are cons. An advantage factor for someone might be a disadvantage factor for someone else. Make your own call 🙂

Finally, if it adds credibility to the answer, then I would like to mention that it isn’t the case that grapes are sour for me and that is why I am writing this answer. I am one of those who has a 1+ crore package in my hand. I am writing this just to enlighten people who are obsessed with ‘1 cr’.

How do IITians get a package of almost 1 crore?

What the Hell is Linux?

Alright. Here we go! I’ve done some itty bitty research and will shortly forget what Linux is all about cuz I vaguely remember searching the same info before. So yeah! Let’s Start!

Unix: Initially, it was a AT&T built operating system. Now, It’s a family of operating systems that derive from it, like

  • BSD/Berkeley Software Distribution (386BSD (FreeBSD, NetBSD…), Darwin (macOS, iOS), SunOS))
  • GNU
  • Linux (Android, Chrome OS)
  • QNX (BlackBerry 10)

Based on its design, Unix like operating systems have come to exist. Most Famous: Linux.

Linux releases a new version of their “kernel” every now and then. And due to the flexibility, customizability, free and open-source nature of Linux, it becomes possible to highly tune Linux for a specific purpose or just make a general purpose version. There are different foundations/groups who pick up the kernel release, modify it and package it along with a bunch of mostly free (called GNU stuff) or paid software in a form known as a Linux distribution (or distro for short) for both desktop and server use. You cannot use Linux without a distro since Linux by itself is just a kernel. Read more here.

Linux Distribution timeline 2016
Linux Distribution timeline 2016. Btw, the image is Ctrl + F able.

General purpose Linux distributions: Some of the most popular are Debian, Fedora, Ubuntu (which is itself based on Debian) together with commercial distributions such as Red Hat Enterprise Linux.

Specialized Linux distribution: There are two main methods for creating them: building from scratch (i.e. Pure Linux) or from a general-purpose distribution as a base. Linux distributions built from scratch do not have general-purpose bases; instead, they focus on the JeOS philosophy by including only necessary components and avoiding resource overhead caused by components considered redundant in the distribution’s use cases. Eg of Specialized distros: Kali Linux for digital security (Based on Debian).

Packages: Each distro, while they may be based off of one another need to be “binary compatible” to allow packages (or softwares/apps) from one distro to be used in another. So care for that must be taken.

What rights do I have if I have been arrested by the police in India?

What rights do I have if I have been arrested by the police in India? by Tejasvita Apte

Answer by Tejasvita Apte:

The first thing you need to know is –

Every person who is arrested is supposed to be taken before the nearest magistrate within 24 hours of the arrest. (Time taken to travel to the Magistrate is excluded from the 24 hours)

This is the most important thing you need to know.

You then have the following rights –

1. Right to be silent / Right against self – incrimination

You have the right to remain silent. In fact the police is supposed to tell you that everything you say may be used against you in the court of law.

Regardless of whether they tell you this or not, remember you have the right to remain silent.

2. You have the right to legal aid-

You have the right to call your lawyer. If you ever get a call from a Police station and they ask you to come and answer some questions, even then, first contact your lawyer. Do not walk into the station. You can ask the police officer to summon you in writing.

3. If there is a warrant, you are entitled to see it –

Remember you can be arrested even without a warrant. But if the Police say that they have a warrant, you have a right to see it.

4. Right against Handcuffing and torture

You have a right to not be handcuffed. Only if the police suspect that you are likely to run away, should they handcuff you.
You cannot be subjected to torture and it is a crime.

5. Right to have someone informed

If you are arrested without anyone's knowledge or presence, you have a right to inform someone. The law puts an obligation on the law enforcement agency to inform another person.

6. You cannot be illegally detained –

If you are being detained by the Police and are not produced before the Magistrate within 24 hours, it is illegal. You (you friend / relative) have the right to directly approach the High Court and file the writ of Habeas Corpus.

7. If you are a woman, you cannot be arrested after sundown and before sunrise unless there are extraneous circumstances. If there are, Magistrate's written permission and the presence of a woman police officer is required to make that arrest.

Some other useful important points –

1. After detention, you are the responsibility of the Police. Remember that. If you think that procedure is not followed, be mindful and make mental notes of everything around you. Names and designations of officers, etc.

2. The Police officers cannot do anything they want with you. They are bound by law. Co-operate if it is not going to incriminate you.

3. Do not resist an arrest and try to run. You cannot. If you are being arrested, be mindful and assert your rights. Let them know, you know.

4. If someone you know is detained but you don't know where, you can file an RTI application in the Police station you suspect and they are bound by law to give you information within 48 hours as to the whereabouts of your friend.

5. Sometimes people are arrested on Friday/ Saturday and kept in custody till Monday morning with the claim that Magistrate isn't available. That is not true. A magistrate is available 24*7. Know that.

6. The Police officer cannot force you to make a confession. Confessions made to Police officers are inadmissible in evidence.

7. If you are arrested for a Bailable offence, you can get bail from Police itself. If you are arrested for a Non-bailable offence, only the court can grant you bail. If you get a bail, it doesn't mean the trial is over.

(Bailable offences are less serious offences in which bail is a right. In such cases you must get bail immediately from the police. Non-bailable offences are serious offences where bail is a privilege and only the courts can grant it.)

8. If you anticipate being arrested, you can move the court and take an anticipatory bail.

9. Unlike, what is normally believed, a traffic police officer can also arrest you. He is also a Police officer who has just been given traffic duties.

Thank you for the ATA, Himel Sarkar.

If you found this answer informative, you can follow my blog about Indian laws – Blawgniti.

What rights do I have if I have been arrested by the police in India?

DIGIT Magazines

Stable Web archive version: Here.

Beyond this, any backed up version of this page on web archive will appear broken. Actually, the links still work but it’ll take you an extra click. So if you’re currently viewing this page on web archive, go to the above linked url for best experience.


2001

200106_digit 200107_digit 200108_digit 200109_digit 200110_digit 200111_digit 200112_digit


2002

200201_digit 200202_digit 200203_digit 200204_digit 200205_digit 200206_digit 200207_digit 200208_digit 200209_digit 200210_digit 200211_digit 200212_digit


2003

200301_digit 200302_digit 200303_digit 200304_digit 200305_digit 200306_digit 200307_digit 200308_digit 200309_digit 200310_digit 200311_digit 200312_digit
Hosted on archive.org: 200307


2004

200401_digit 200402_digit 200403_digit 200404_digit 200405_digit 200406_digit 200407_digit 200408_digit 200409_digit 200410_digit 200411_digit 200412_digit


2005 (start converting links here)

200501_digit 200502_digit 200503_digit 200504_digit 200505_digit 200506_digit 200507_digit 200508_digit 200509_digit 200510_digit 200511_digit 200512_digit


2006

200601_digit 200602_digit 200603_digit 200604_digit 200605_digit 200606_digit 200607_digit 200608_digit 200609_digit 200610_digit 200611_digit 200612_digit


2007

200701_digit 200702_digit 200703_digit 200704_digit 200705_digit 200706_digit 200707_digit 200708_digit 200709_digit 200710_digit 200711_digit 200712_digit


2008

200801_digit 200802_digit 200803_digit 200804_digit 200805_digit 200806_digit 200807_digit 200808_digit 200809_digit 200810_digit 200811_digit 200812_digit


2009

200901_digit 200902_digit 200903_digit 200904_digit 200905_digit 200906_digit 200907_digit 200908_digit 200909_digit 200910_digit 200911_digit 200912_digit
Hosted on archive.org: 200904, 200912


2010

201001_digit 201002_digit 201003_digit 201004_digit 201005_digit 201006_digit 201007_digit 201008_digit 201009_digit 201010_digit 201011_digit 201012_digit
Hosted on archive.org: 201006, 201007, 201012


2011

201101_digit 201102_digit 201103_digit 201104_digit 201105_digit 201106_digit_1
201106_digit_2 201107_digit 201108_digit 201109_digit 201110_digit 201111_digit 201112_digit
Hosted on archive.org: 201101, 201104, 201111


2012

201201_digit 201202_digit 201203_digit 201204_digit 201205_digit 201206_digit 201207_digit 201208_digit 201209_digit 201210_digit 201211_digit 201212_digit
Hosted on archive.org: 201205, 201206, 201207, 201208


2013

201301_digit 201302_digit 201303_digit 201304_digit 201305_digit 201306_digit 201307_digit 201308_digit 201309_digit 201310_digit 201311_digit 201312_digit


2014

201401_digit 201402_digit 201403_digit 201404_digit 201405_digit


Archive.org Hosted file page: https://archive.org/details/digitPDFover32mb