When I’m on Modafinil vs when I’m not on Modafinil

When I’m on Modafinil I should prepare the strategy for creating great designs I should organize mood boards, and should focus on creating themes and UI kits rather than jumping into design I should investigate why t-engine is faster than vanilla nginx I should find out if anyone else logged into my digital ocean VPS … More When I’m on Modafinil vs when I’m not on Modafinil

Make a Custom Array without distorting the Original

function MyArray () { var _arr = [].slice.call(arguments, 0); for( var i=0; i<_arr.length; i++ ) { this[i] = _arr[i]; } var THIS = this; var max = arguments.length; Object.defineProperty(THIS, ‘length’, { enumerable: false, get: function() { var keys = Object.keys(this); for(var i=0; i< keys.length; i++) { keys[i] = parseInt(keys[i], 10); if( !isNaN (keys)[i] ){ if … More Make a Custom Array without distorting the Original

(WIP)Articles: Colonialism and Homophobia

Terms: POC – People of color, everybody except caucasians LGBT in the Modern Day Often the statistics of modern day attitude towards homosexuality is used in debates where Colonialism is accused of instilling homophobia in the communities. And, this kind of debate is often shunned for it’s leftist inclinations and going against neo liberalism. Many observers have pointed out … More (WIP)Articles: Colonialism and Homophobia

Inflation in India

Tools Used: Inflation calculator by Calculator Stack, an online tool to calculate India’s inflation between the years 1971-2016 based on Consumer Price Index Method: calculating the worth of ₹ 100 in the concerned year over time. Inflation in last 10 years – from 2006 to 2016 Worth of ₹ 100 in 2006, is same as ₹ 214.62 in 2016 Result: ₹ 214.62 Number … More Inflation in India

Top GDP contributions by Sector in India

 Total GDP Gross domestic product: 1.877 trillion USD (2013) World Bank Population: 1.252 billion (2013) World Bank GDP growth rate: 5.0% annual change (2013) World Bank Related statistics Population 1.252 billion ‎(2013) Gross domestic product 1.877 trillion USD ‎(2013) GDP growth rate 5.0% annual change ‎(2013) GDP per capita elsewhere United States of America 53,041.98 USD ‎(2013) China 6,807.43 … More Top GDP contributions by Sector in India

ngnix virtual hosts

Setting up virtual host in nginx # check ubuntu version # try lsb_release -a # if that doesn’t work, then try cat /etc/*release Determining the Ubuntu version helps in assuming the default locations of nginx conf file. # create *.conf files locally # create 2 server blocks. Only one block carries the default_server directive server { … More ngnix virtual hosts

How the memory usage shoots up in a VPS when you create virtual hosts

The server was running on port 80 and serving a single domain on the VPS. I `a2ensite`-ed  2 domains  running on different ports. Mind you, the server was rendering nothing beyond static html files containing `hello world` messages. You can see the server running calmly at 2.5MBs and after creating those domains, the memory rises … More How the memory usage shoots up in a VPS when you create virtual hosts

Bookmarks: September (╯°□°)╯︵ ┻━┻

Articles worth reading Of all the things I’ve read so far, this one is a major break through more english.stackexchange youtu.be video Getting started with WordPress A Report [PDF] on Indian Army’s modernization Dawn of the age of morality and keyboard-white-knights – By Jeff Atwood Totaled engine with nitros boost Traders and Prostitution – Devdutt Pattanaik Be jack of … More Bookmarks: September (╯°□°)╯︵ ┻━┻