About me

I am a software developer-cum-programming enthusiast. I love coding stuff and solving problems and have been writing application programs since 9th standard.

Having worked in the industry for 6+ years now, I focus more on the architecture, design, testability & maintainability of the target software system.

With experience in various languages namely java, javascript & php writing web, desktop & mobile applications (android), I am a good fit for any role.

I have end-to-end SDLC experience including requirements & timelines negotiation, designing & deciding iterative outputs, maintenance & enhancement of software systems.

Passionate about programming in a broad sense, I’m actively seeking Summer 2017 Internship opportunities & passively seeking Technical Evangelist positions.

  • Ashish Revar

    Hello there,
    I need to open multiple webpages through different IPs and Port Numbers. I have found your post here: http://stackoverflow.com/questions/5211887/how-to-use-curl-via-a-proxy

    Can you please provide me the code to implement such.


    • http://nitinsurana.com admin


      //Fill these arrays with proxy details and urls

      for($i=0;$i $ch[i] = curl_init();
      curl_setopt($ch, CURLOPT_URL,$url);
      curl_setopt($ch, CURLOPT_PROXY, $proxy);
      $curl_scraped_page = curl_exec($ch);
      $ch[i]=curl_scraped_page ;

      //All pages are now contained $ch array.

      Hope it helps.

  • Nilesh

    Hi All

    I want to add background
    music to my audio file using ffmpeg for windows operating system in php.
    I am unable to find right command for this. For reference u can listen
    song on http://www.pond5.com/stock-music/1548490/pulse-full-track.html website for refernce. Here the site name is audible after every 5 seconds and i want to do something like this.

    For this, i have two audio files : stock.mp3(2 seconds) and
    sun.mp3(3 minutes 24 seconds). I want to add stock.mp3 after every 5
    seconds in sun.mp3 using ffmpeg like http://www.pond5.com/stock-music/1548490/pulse-full-track.html.

    Please give me reference its very urgent for me.
    Thanks in advance

    • Nitin Surana

      Unfortunately, I haven’t tried something like interval recursive merging. But from quick googling it appears -itoffset shall do the job. If that doesn’t, then you have to create various files using SOX to pad necessary blanks and then merge those with the original using -i option