Roshan Singh

    • About Me
    • Contact
  • Mukti 2010

    January 21, 2010
    Uncategorized

    It is that time of the year when we at NIT Durgapur celebrate our FOSS festival called Mukti. Mukti is the FOSS festival of NIT Durgapur. With the sole aim of promoting Free Software, some contest, games, workshops, talks etc are conducted during Mukti. It brings together the FOSS enthusiasts, newbies and corporates together under…

  • Automated testing with JUnit

    November 14, 2009
    Java

    I have learnt some automated testing with JUnit. Junit is a java package which lets you write test suites so that you can simply run them when you program is done. It is good for software development as you can re-run the same tests again and again, and you can save some time and even…

  • Setting CLASSPATH for Java in Linux

    November 13, 2009
    Help, Linux

    This was really tough for me since I had never used command line for compiling java programs, I always used Netbeans for coding in Java. Recently I started learning JUnit for which I decided to use command Line. Whenever I googled for its solution I got $ export CLASSPATH=$CLASSPATH: But this did not fix my…

  • Running topcoder applet behind proxy

    November 11, 2009
    Uncategorized

    Somehow the default Iced Tea Webstart throws NullPointerException which I dont know how to debug. I downloaded SUN JDK and installed on my machine, you can use your package manager also. It usually gets installed in /usr/java/jdk-<version> and /usr/java/latest links to the latest version installed, so it is better to use the later. Then download…

  • proxy in xmlrpclib

    October 25, 2009
    GScribble

    This is just an extension of the example shown here http://docs.python.org/library/xmlrpclib.html#example-of-client-usage . import xmlrpclib, httplib class ProxiedTransport(xmlrpclib.Transport): def set_proxy(self, proxy): self.proxy = proxy self.puser_pass = puser_pass def make_connection(self, host): self.realhost = host h = httplib.HTTP(self.proxy) return h def send_request(self, connection, handler, request_body): connection.putrequest(“POST”, ‘http://%s%s’ % (self.realhost, handler)) def send_host(self, connection, host): connection.putheader(‘Host’, self.realhost) connection.putheader(‘User-agent’, self.user_agent)…

Previous Page
1 … 13 14 15 16 17 … 25
Next Page

Roshan Singh

  • Instagram
  • Facebook
  • X