MAD Blog

pwned by Madhurendra Sachan

server

IOT Push Button (Like Amazon Dash)

March 24, 2017 by Madhurendra Sachan Leave a Comment

Amazon Dash button is an incredible piece of hardware and another example of “applied engineering” in Amazon, just like Kindle. The inspiration for this project isn’t directly derived from amazon dash, I wasn’t aware of it until I started digging the internet but at end, I had to set the performance goal to Amazon dash, because … [Read more…]

Posted in: arduino, linux, server, snippets Tagged: esp

Adding a display over network !

December 23, 2016 by Madhurendra Sachan Leave a Comment

You are doomed if your laptop has only one HDMI Port & you are running Linux in that box. Unlike windows – where there are tons of easy to run solution, & there are still tons of solutions if you have big numbers in your pocket. Certainly – I neither wish to spend money on external VGA/HDMI … [Read more…]

Posted in: linux, server, snippets, Uncategorized Tagged: hack

Kindle Universal Dashboard

October 30, 2016 by Madhurendra Sachan Leave a Comment

Kindle is Super awesome ! Because of its e-ink display. I wanted a display to present data which has – Least power consumption, Not painful to eyes & obviously one which doesn’t emit blue light. E-Ink displays fit perfectly to my requirement – acquiring a display which can be driven using Raspberry Pi or Arduino is hard, … [Read more…]

Posted in: javascript, linux, server, snippets Tagged: hack, jailbreak, kindle, nodejs

Custom Nginx with PageSpeed

October 1, 2016 by Madhurendra Sachan Leave a Comment

Pulling nginx from source, customizing & auto updating across servers is a pain,  We use pagespeed & custom header modules across all our servers, it autominifies resources & increases page performance without giving pain. Below is script we use :

Posted in: linux, server, snippets

Offline Wikipedia with Elasticsearch and MediaWiki

August 18, 2016 by Madhurendra Sachan Leave a Comment

Wikipedia is Awesome ! It’s open, its free – Yea. & its huge in size, millions of articles  but as developer how to exploit the free knowledge. I started digging internet just to find ways to exploit my fresh 9+ GB of XML Gzipped archive which seemed to me of no use as even a simple … [Read more…]

Posted in: linux, server, snippets

Email Spoofing – Why its dead !

March 13, 2016 by Madhurendra Sachan 1 Comment

There was a time, when mail spoofing was an art, was a thing to impress people, was a way to phish attack someone. With increasing intelligence in spam filters – it became harder, you need good IP reputation to deliver mail to box. But now it has become almost impossible to spoof address like someone@hotmail.com … [Read more…]

Posted in: server Tagged: dkim, dmarc, email spoofing, spf

Website Optimization – Cache Cache Cache !

March 8, 2016 by Madhurendra Sachan Leave a Comment

You must have heard about cache in web (caches are everywhere in computer science), most times you find it really buggy when changes aren’t reflected as soon as you make them. For sites with small traffic these things are buggy – but they contribute a major in server traffic when you have a million hits … [Read more…]

Posted in: server Tagged: apache, cache, nginx, server, website optimization

Website Optimization – Minfiying Output using PHP

March 8, 2016 by Madhurendra Sachan Leave a Comment

Minification is technique used in which we remove all unnecessary Whitespaces Which include tab, space, newline, carriage return etc. This is done just to reduce data transfer. Since not everyone is serving a million hits a seconds – minifying html doesn’t help much, Instead enabling GZIP compression is a better technique. Apart from this – … [Read more…]

Posted in: css, javascript, server Tagged: optimization, server

Optimal way of scheduling long job – nodejs/js

January 29, 2016 by Madhurendra Sachan Leave a Comment

If you are using nodejs for some backend stuff to schedule some-work, probably you will hate scheduling because of two factors You can’t set long timeout Timers are removed when process restart You would probably favor cronjobs for scheduling – or may be polling database for regular interval. Loading nodejs script every 5min is a … [Read more…]

Posted in: javascript, server, snippets Tagged: nodejs

Backup Server Configurations to Git

September 28, 2015 by Madhurendra Sachan Leave a Comment

When you have multiple servers it pain to remember every configuration and it may take hours to configure servers again incase you need. It is also impractical to copy each files. There are few tools available but they come with overhead attached moreover its fun to write custom solutions 🙂 1. Create directory 2. cd … [Read more…]

Posted in: git, linux, server, snippets
1 2 Next »

Recent Posts

  • Why world will be never cooler again !
  • IOT Push Button (Like Amazon Dash)
  • Cheap BLE : JDY-08
  • Adding a display over network !
  • Just Another DIY “Smart” Watch

Recent Comments

  • How you can stop email spoofing easily – TIKAJ Blog on Email Spoofing – Why its dead !
  • George Z. on Cheap BLE : JDY-08
  • Madhurendra Sachan on Cheap BLE : JDY-08
  • Jay on Cheap BLE : JDY-08
  • Risabh Kumar on Maintaining JS Libs – Changing bower path

Archives

  • July 2019
  • March 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • August 2016
  • March 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015

Categories

  • arduino
  • css
  • git
  • javascript
  • linux
  • python
  • Random
  • server
  • snippets
  • Uncategorized

Recent Posts

  • Why world will be never cooler again !
  • IOT Push Button (Like Amazon Dash)
  • Cheap BLE : JDY-08
  • Adding a display over network !
  • Just Another DIY “Smart” Watch

Archives

  • July 2019 (1)
  • March 2017 (1)
  • January 2017 (1)
  • December 2016 (1)
  • November 2016 (1)
  • October 2016 (2)
  • August 2016 (1)
  • March 2016 (4)
  • January 2016 (2)
  • December 2015 (1)
  • November 2015 (2)
  • October 2015 (3)
  • September 2015 (4)
  • August 2015 (2)

Recent Comments

  • How you can stop email spoofing easily – TIKAJ Blog on Email Spoofing – Why its dead !
  • George Z. on Cheap BLE : JDY-08
  • Madhurendra Sachan on Cheap BLE : JDY-08
  • Jay on Cheap BLE : JDY-08
  • Risabh Kumar on Maintaining JS Libs – Changing bower path

Copyright © 2019 MAD Blog.

Alpha WordPress Theme by themehall.com